hello_world and libnetworking
Daron Chabot
daron at nucleus.usask.ca
Sat Jun 3 15:51:10 UTC 2006
On 3-Jun-06, at 8:38 AM, Denny.Bai wrote:
> When i complie rtems , i configure it with "--enable-networking".
> so the libnetworking_a-rtems_glue.o which refers to the
> rtems_bsdnet_config variable is wrapped into the librtemscpu.a.
> If compiling runs into hello_world example in testsuites, hello_world
> will link with librtemscpu.a . So rtems_bsdnet_config variable will
> be needed by librtemscpu.a , but hello_world desn't use network
> functions and desn't provide the rtems_bsdnet_config varible.
> So compiling rtems will be interrupted and error shows
> "librtemscpu.a(libnetworking_a-rtems_glue.o) : In function
> `rtems_bsdnet_initialize_network":
> : undefined reference to rtems_bsdnet_config
>
> i did't encounter this problems before when i complied the rtems.
>
> how can i disable compiling the testsuites and make the compiling
> go on?
Sounds like you had configured rtems with: /rtems/src/directory/
configure --enable-tests ...
Try configuring with --disable-tests (I believe that is the default
behavior... run ./configure --help to see the available options).
-- dc
More information about the users
mailing list