Modify

Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#6210 closed defect (fixed)

Problem with variants

Reported by: roberto.riggio@… Owned by: developers
Priority: highest Milestone: Barrier Breaker 14.07
Component: base system Version:
Keywords: variants hostaps Cc:

Description

Since this new features has been added I have some problems with the hostaps package. If i first build an image with for example the ath5k driver everything works fine. However if then i run make menuconfig again, remove the ath5k and add the madwifi driver i get the following error:

make[4]: Entering directory `/home/hamvil/src/kamikaze/build_dir/target-i386_uClibc-0.9.30.1/hostapd-mini/hostapd-20091111/hostapd'
i486-openwrt-linux-uclibc-gcc  -o hostapd hostapd.o main.o ieee802_1x.o eapol_sm.o config.o ieee802_11_auth.o sta_info.o wpa.o preauth.o pmksa_cache.o drv_callbacks.o tkip_countermeasures.o mlme.o wpa_auth_ie.o ../src/drivers/drivers.o ../src/drivers/scan_helpers.o ../src/utils/eloop.o ../src/utils/common.o ../src/utils/wpa_debug.o ../src/utils/wpabuf.o ../src/utils/os_unix.o ../src/utils/ip_addr.o ../src/common/ieee802_11_common.o ../src/common/wpa_common.o vlan_init.o ctrl_iface.o ctrl_iface_ap.o ../src/crypto/md5.o peerkey.o ../src/drivers/driver_wired.o ../src/drivers/driver_madwifi.o ../src/l2_packet/l2_packet_linux.o ../src/eap_server/eap.o ../src/eap_common/eap_common.o ../src/eap_server/eap_methods.o ../src/eap_server/eap_identity.o ../src/crypto/crypto_internal.o ../src/crypto/tls_none.o  ../src/crypto/aes-internal.o ../src/crypto/aes-internal-enc.o ../src/crypto/aes-wrap.o ../src/crypto/sha1.o ../src/crypto/sha1-internal.o ../src/crypto/sha1-pbkdf2.o ../src/crypto/md5-internal.o ../src/crypto/rc4.o -L/home/hamvil/src/kamikaze/staging_dir/target-i386_uClibc-0.9.30.1/usr/lib -L/home/hamvil/src/kamikaze/staging_dir/target-i386_uClibc-0.9.30.1/lib -L/home/hamvil/src/kamikaze/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/usr/lib -L/home/hamvil/src/kamikaze/staging_dir/toolchain-i386_gcc-4.1.2_uClibc-0.9.30.1/lib
hostapd.o: In function `hostapd_reload_config':
hostapd.c:(.text+0x1282): undefined reference to `ieee802_11_set_beacon'
hostapd.o: In function `hostapd_setup_interface_complete':
hostapd.c:(.text+0x185d): undefined reference to `ieee802_11_set_beacon'
hostapd.c:(.text+0x1948): undefined reference to `ap_list_init'
hostapd.c:(.text+0x1c1b): undefined reference to `hostapd_hw_get_freq'
hostapd.c:(.text+0x1c39): undefined reference to `hostapd_hw_mode_txt'
hostapd.o: In function `hostapd_setup_interface':
hostapd.c:(.text+0x235d): undefined reference to `hostapd_get_hw_features'
hostapd.c:(.text+0x2370): undefined reference to `hostapd_select_hw_mode'
hostapd.c:(.text+0x2387): undefined reference to `hostapd_check_ht_capab'
hostapd.o: In function `hostapd_interface_deinit':
hostapd.c:(.text+0x28aa): undefined reference to `hostapd_free_hw_features'
hostapd.c:(.text+0x28d3): undefined reference to `ap_list_deinit'
sta_info.o: In function `ap_free_sta':
sta_info.c:(.text+0x5d1): undefined reference to `ieee802_11_set_beacons'
drv_callbacks.o: In function `hostapd_mgmt_rx':
drv_callbacks.c:(.text+0x508): undefined reference to `ieee802_11_mgmt'
drv_callbacks.o: In function `hostapd_new_assoc_sta':
drv_callbacks.c:(.text+0x80f): undefined reference to `hostapd_wmm_sta_config'
drv_callbacks.o: In function `hostapd_mgmt_tx_cb':
drv_callbacks.c:(.text+0x2c1): undefined reference to `ieee802_11_mgmt_cb'
drv_callbacks.o: In function `hostapd_mgmt_rx':
drv_callbacks.c:(.text+0x496): undefined reference to `ieee802_11_mgmt'
ctrl_iface.o: In function `hostapd_ctrl_iface_receive':
ctrl_iface.c:(.text+0x8c2): undefined reference to `ieee802_11_get_mib'
ctrl_iface_ap.o: In function `hostapd_ctrl_iface_sta_mib':
ctrl_iface_ap.c:(.text+0x85): undefined reference to `ieee802_11_get_mib_sta'
collect2: ld returned 1 exit status
make[4]: *** [hostapd] Error 1
make[4]: Leaving directory `/home/hamvil/src/kamikaze/build_dir/target-i386_uClibc-0.9.30.1/hostapd-mini/hostapd-20091111/hostapd'
make[3]: *** [/home/hamvil/src/kamikaze/build_dir/target-i386_uClibc-0.9.30.1/hostapd-mini/hostapd-20091111/.built] Error 2
make[3]: Leaving directory `/home/hamvil/src/kamikaze/package/hostapd'
make[2]: *** [package/hostapd/compile] Error 2
make[2]: Leaving directory `/home/hamvil/src/kamikaze'
make[1]: *** [/home/hamvil/src/kamikaze/staging_dir/target-i386_uClibc-0.9.30.1/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/hamvil/src/kamikaze'
make: *** [world] Error 2

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

It's not related to the variants feature, it's related to the hostapd upgrade.
fixed in r18497

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.