[Click] cross-compilation: undefined ref to dlopen

Eddie Kohler kohler at cs.ucla.edu
Thu May 5 11:27:38 EDT 2005


Hi Bob,

That's weird, since mipsel-linux-g++ is getting passed the -ldl library 
(and does not complain about its absence).  Do you have an -ldl library 
for the mipsel?  Maybe the configuration check for -ldl is failing.

E



On May 2, 2005, at 10:01 AM, Bob Keyes wrote:

> 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?
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list