Skip to contentSkip to conversation

undefined reference to dlsym dlopen dlclose

Buildroot Sergio Monteiro Basto 1 participant 2 messages Aug 2, 2010

lore
Share & tools
lore
#0 lore raw

Hi, can anyone help me on this ?

As you may know, from this ML, I am trying compiling some apps to mipsel arch , and now with git version I am stuck on this error.

../gmodule/.libs/libgmodule-2.0.so: undefined reference to dlsym' ../gmodule/.libs/libgmodule-2.0.so: undefined reference to dlopen' ../gmodule/.libs/libgmodule-2.0.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[5]: *** [gio-querymodules] Error 1
make[5]: Leaving directory `/home/sergio/hardware/moviecube/buildroot/output/build/libglib2-2.24.1/gio'

Any feedback is appreciated

Signature · 8 lines
S?rgio M. B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3293 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100802/588f27e5/attachment.bin>
#1 lore raw

add -ldl in the end of command , that not compile solve the problem .

Quoted 18 lines · Sergio Monteiro Basto

Hi, can anyone help me on this ?

As you may know, from this ML, I am trying compiling some apps to mipsel arch , and now with git version I am stuck on this error.

../gmodule/.libs/libgmodule-2.0.so: undefined reference to dlsym' ../gmodule/.libs/libgmodule-2.0.so: undefined reference to dlopen' ../gmodule/.libs/libgmodule-2.0.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[5]: *** [gio-querymodules] Error 1
make[5]: Leaving directory `/home/sergio/hardware/moviecube/buildroot/output/build/libglib2-2.24.1/gio'

Any feedback is appreciated
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 8 lines
S?rgio M. B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3293 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100802/7e19b41e/attachment.bin>