missing wpabuf symbols when using CONFIG_PRIVSEP

Daniel Mierswa impulze
Thu Feb 5 15:57:51 PST 2009

On 06.02.2009 00:49, Daniel Mierswa wrote:
> If you choose to use CONFIG_PRIVSEP=y, the wpabuf functions seem to
> miss. The attached patch is against trunk and should probably fix it.
> Hope I didn't overlook anything.
Of course I did, the error message:

x86_64-pc-linux-gnu-gcc -Wl,--hash-style=gnu,--sort-common -o wpa_priv
../src/drivers/driver_hostap.o ../src/drivers/driver_prism54.o
../src/drivers/driver_atmel.o ../src/drivers/driver_ndiswrapper.o
../src/drivers/driver_ralink.o ../src/drivers/driver_ipw.o
../src/drivers/driver_wired.o ../src/drivers/driver_roboswitch.o
../src/drivers/driver_wext.o ../src/drivers/drivers.o
../src/drivers/scan_helpers.o ../src/l2_packet/l2_packet_linux.o
../src/utils/os_unix.o ../src/utils/eloop.o ../src/utils/common.o
../src/utils/wpa_debug.o wpa_priv.o -ldl -lgnutls -lgcrypt -lgpg-error
-lgnutls-extra -ldbus-1
../src/drivers/scan_helpers.o: In function
scan_helpers.c:(.text+0x2fa): undefined reference to `wpabuf_alloc'

scan_helpers.c:(.text+0x3ab): undefined reference to `wpabuf_put'

scan_helpers.c:(.text+0x3d1): undefined reference to `wpabuf_free'

collect2: ld returned 1 exit status

Mierswa, Daniel

If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
               --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22

More information about the Hostap mailing list