Network Builds

Ralf Corsepius ralf_corsepius at rtems.org
Tue Apr 6 12:12:26 UTC 2004


On Tue, 2004-04-06 at 12:47, James Yates wrote:
> I know have rtems building correctly, with networking, having followed
> the cs8900 instructions kindly provided by Chris. However, when I try
> and link against this using the netdemo contributed app, I get a whole
> host of warnings from the cs8900.c file located in libchip/network. It
> is warning that it can't find functions such as cs8900_io_get_reg
> which are located in the BSP side of the cs8900 driver located in the
> bsp network subdir. I can't work out how I can get the network driver
> to pick up these files from the BSP. Can anyone help.

With rtems-4.6, implement a Makefile.am for your driver, add this
Makefile to your BSP's configure.ac and add the BSP side to BSP_PIECES
in lib/libbsp/<cpu>/<bsp>/wrapup/Makefile.am

With rtems-CVS, add a "*.rel" block
(cf.lib/libbsp/<cpu>/<bsp>/Makefile.am) to
lib/libbsp/<cpu>/<bsp>/Makefile.am and let add the '*.rel" to
libbsp_a_LIBADD.

In both cases, after editing the the Makefile.am:
cd lib/libbsp/<cpu>/<bsp>
autoreconf

cd builddir
.../configure ....

> 	I am really stuck again. Many thanks in advance.






More information about the users mailing list