Linking problem with libtelnetd

Ralf Corsepius ralf.corsepius at rtems.org
Fri Sep 12 11:32:16 UTC 2008


On Fri, 2008-09-12 at 12:33 +0100, Tim Cussins wrote:
> 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

How did your call to the linker exactly look like?

Ralf







More information about the users mailing list