Linking problem with libtelnetd

Gene Smith gds at chartertn.net
Mon Sep 15 13:37:01 UTC 2008


Thomas Doerfler (nt) wrote:
> 
> I may be wrong, but I think you specify the path where ld should look
> for libraries, but this does not mean that it will pull in any library
> it finds there. AFAIK you really must add a "-ltelnetd" to tell ld to
> look into ../../../../../virtex/lib/libtenetd.a.
> 
> wkr,
> Thomas.
> 

Also, -ltelnetd needs to last (or after things that use it) on the final 
link command line.




More information about the users mailing list