Howto port autoconf based application to RTEMS.
kgardas at objectsecurity.com
Thu Jan 13 12:13:24 UTC 2005
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...
> > 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.
> 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...
Karel Gardas kgardas at objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
More information about the users