[Click] undefined reference to `dlopen'

YenJung Chang yenjung at gmail.com
Fri Sep 23 02:52:39 EDT 2005


Hi,

I want to build click for wgt634u, so I followed the instructions at
http://pdos.csail.mit.edu/roofnet/doku.php?id=wgthacking, but I ran
into the same bug mentioned at May 2 2005
(https://amsterdam.lcs.mit.edu/pipermail/click/2005-May/003886.html)

This is last piece of log on make.
-----------------------------------------------------------------------------------------------------------------
make[2]: Leaving directory `/usr/public/roofnet/click/tools/lib'
make[2]: Entering directory `/usr/public/roofnet/click/tools/click-align'
mipsel-linux-g++ -W -Wall -fno-exceptions -fno-rtti  -DHAVE_CONFIG_H
-I../../include -I../../include -I../../tools/lib -I. -DCLICK_TOOL
-static -MD -c alignment.cc
mipsel-linux-g++ -W -Wall -fno-exceptions -fno-rtti  -DHAVE_CONFIG_H
-I../../include -I../../include -I../../tools/lib -I. -DCLICK_TOOL
-static -MD -c alignclass.cc
mipsel-linux-g++ -W -Wall -fno-exceptions -fno-rtti  -DHAVE_CONFIG_H
-I../../include -I../../include -I../../tools/lib -I. -DCLICK_TOOL
-static -MD -c click-align.cc
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 `/usr/public/roofnet/click/tools/click-align'
make[1]: *** [click-align] Error 2
make[1]: Leaving directory `/usr/public/roofnet/click/tools'
make: *** [tools] Error 2
-----------------------------------------------------------------------------------------------------------------

And it seems there is some problem over dlopen when configured, the
followed is portion of config.log
-------------------------------------------------------------------------------------------------------------------------
configure:9553: checking for dlfcn.h
configure:9560: result: yes
configure:9575: checking for dlopen
configure:9632: mipsel-linux-g++ -W -Wall -fno-exceptions -fno-rtti 
-o conftest -static   conftest.cc  >&5
/tmp/ccweVTCh.o: In function `main':
/tmp/ccweVTCh.o(.text+0x2c): undefined reference to `dlopen'
/tmp/ccweVTCh.o(.data+0x0): undefined reference to `dlopen'
collect2: ld returned 1 exit status
configure:9638: $? = 1
--------------------------------------------------------------------------------------------------------------------------

What should I do to fix this?

Thank for your help in advance.

ps. Please refer to the attched files for more information; config.log
is the log when executed configure, and make.log is the log when
executed make.

YJ.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 135712 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20050923/2c9bf160/config-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 78050 bytes
Desc: not available
Url : https://amsterdam.lcs.mit.edu/pipermail/click/attachments/20050923/2c9bf160/make-0001.obj


More information about the click mailing list