[pkg-wpa-devel] Bug#737465: wpa: FTBFS on kfreebsd-*: src/eap_peer/tncc.o: undefined reference to symbol 'dlsym@@GLIBC_2.3'

Steven Chamberlain steven at pyro.eu.org
Sun Feb 2 21:31:17 UTC 2014


Control: tags -1 + patch

The problem is that GNU/kFreeBSD needs -ldl for that object, whereas if
using the BSD driver it skips adding -ldl to $LIBS:

> ifdef CONFIG_EAP_TNC
> OBJS += ../src/eap_peer/tncc.o
> [...]
> ifndef CONFIG_DRIVER_BSD
> LIBS += -ldl
> endif
> endif

Adding it to the wpasupplicant/kfreebsd configuration file is
sufficient.  The same problem also happens building hostapd and can be
fixed the same way.  Patch is attached.

(While here, the -lbsd turns out not to be needed so I've commented it out.)

Thanks!
Regards,
-- 
Steven Chamberlain
steven at pyro.eu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hostapd.kfreebsd.diff
Type: text/x-patch
Size: 1089 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-wpa-devel/attachments/20140202/b8d80272/attachment.bin>


More information about the Pkg-wpa-devel mailing list