[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Linking problem with libtelnetd
- Date: Fri, 12 Sep 2008 12:33:35 +0100
- From: timcussins at eml.cc (Tim Cussins)
- Subject: Linking problem with libtelnetd
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