[Click] undefined reference to `dlopen'

Eddie Kohler kohler at CS.UCLA.EDU
Sun Oct 2 23:43:39 EDT 2005


I don't understand your comment.  Does shifting the position of -ldl  
work, or not?

E


On Oct 2, 2005, at 7:15 PM, YenJung Chang wrote:

> Hi Eddie,
>
> 1.  (g++ -v)
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
> gcc version 2.95.4 20011002 (Debian prerelease)
>
> 2. Yes, it works. This problem, however, occurs in most directories in
> click/tools/. :(
>
> Thanks,
> YJ.
>
> 2005/9/30, Eddie Kohler <kohler at cs.ucla.edu>:
>
>> Hi YenJung,
>>
>> Two questions.  First, can you report the result of g++ --v?  We'll
>> use that to improve our "deprecated" attribute fixes.  Second, if you
>> look further in your config.log, you'll see that it *did* find dlopen
>> eventually, in -ldl.  I wonder why your build can't find it in -ldl.
>> Can you please try this link line instead?
>>
>> mipsel-linux-g++ -W -Wall -fno-exceptions -fno-rtti  -static  -o
>> click-align -rdynamic alignment.o alignclass.o click-align.o ../lib/
>> libclicktool.a -ldl
>>
>> Moved -ldl to the end.
>>
>> Thanks
>> E
>>
>>
>>
>> On Sep 22, 2005, at 11:52 PM, YenJung Chang wrote:
>>
>>
>>> 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.
>>>
>>> <config.log>
>>> <make.log>
>>> _______________________________________________
>>> click mailing list
>>> click at amsterdam.lcs.mit.edu
>>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>>
>>>
>>
>>
>>
>
>
> --
> YJ.
>
>



More information about the click mailing list