Howto port autoconf based application to RTEMS.

Ralf Corsepius ralf.corsepius at rtems.org
Thu Jan 13 12:37:53 UTC 2005


On Thu, 2005-01-13 at 13:13 +0100, Karel Gardas wrote:
> On Thu, 13 Jan 2005, Ralf Corsepius wrote:
> 
> > As far as linking is concerned, you are on the right track ...
> >
> > Theoretically, it should work "out of the box", if gcc is provided the
> > correct flags.
> 
> That's interesting! I've even played with removing all those *no-rel files
> from linking and testing example (hello world) also linked well. I've
> found (what you already stated below) that the culprit is missing network
> configuration in network related autoconf tests...
Exactly.

> > > tems/rtems_glue.c:236: undefined reference to `rtems_bsdnet_config'
> > > /mnt/karel/rtems-x86/i386-rtems/pc386//lib/librtemscpu.a(rtems_glue.o):/mnt/karel/downloads/RTEMS/build/tools/obj-rtems/i386-rtems/c/
> > > pc386/exec/libnetworking/../../../../../../rtems/cpukit/libnetworking/rtems/rtems_glue.c:813:
> > > more undefined references to `rtems_bsdnet_config' follow
> >
> > ... AFAIS this is a bug in this BSP: it seems to lack
> > rtems_bsdnet_config, rsp. (a matter of personal perspective) a general
> > design bug/issue in RTEMS with networking enabled.
> 
> Sounds good.
> 
> > Please file a PR on "rtems_bsdnet" to RTEMS GNATS.
> 
> filed as: `networking/741' -- I have not been able to find rtems_bsdnet in
> GNATS web form...
Sorry, a confusing typo.  I meant you to file a PR on
"rtems_bsdnet_config".

Ralf





More information about the users mailing list