[Click] cross-compilation: undefined ref to dlopen

Bob Keyes bob at sinister.com
Mon May 2 13:01:35 EDT 2005


I am following the instructions here:
http://pdos.csail.mit.edu/roofnet/doku.php?id=wgthacking
to cross-compile click, i686 is the compilation machine with mipsel as the
target. I get this error:

make[2]: Entering directory `/root/click/tools/click-align'
mipsel-linux-g++ -W -Wall -fno-exceptions -fno-rtti  -static  -o
click-align -rdynamic alignment.o alignclass.o click-align.o -ldl
../lib/libclicktool.a
../lib/libclicktool.a(userutils.o): In function
`clickdl_load_package(String, ErrorHandler*)':
userutils.o(.text+0x570c): undefined reference to `dlopen'
userutils.o(.text+0x573c): undefined reference to `dlerror'
userutils.o(.text+0x57a0): undefined reference to `dlsym'
collect2: ld returned 1 exit status
make[2]: *** [click-align] Error 1
make[2]: Leaving directory `/root/click/tools/click-align'
make[1]: *** [click-align] Error 2
make[1]: Leaving directory `/root/click/tools'
make: *** [tools] Error 2
picatrix:~/click#



This does not happen on a 'regular' build for i686. Any ideas?


More information about the click mailing list