Linking problem with libtelnetd

Tim Cussins timcussins at eml.cc
Fri Sep 12 11:33:35 UTC 2008


On Friday 12 September 2008 12:12:49 Ralf Corsepius wrote:
> On Fri, 2008-09-12 at 12:01 +0100, Tim Cussins wrote:
> > Hi all
> >
> > Attempting to call 'rtems_telnetd_initialize()' generates a linker error:
> > "undefined reference to `rtems_telnetd_initialize'"
> >
> > What have I missed?
>
> Adding -ltelnetd?
>
> Ralf

Yeap - should've mentioned I tried that :)

gcc's -B option, according to docs, seems like it would allow us to link to 
symbols in libtelnetd.a in the same way as symbols in any other rtems lib 
(e.g. librtemscpu.a)

http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Directory-Options.html#Directory-
Options

I can't understand how the process could be fine for librtemscpu.a but not for 
libtelnetd.a

Cheers,
Tim



More information about the users mailing list