j.yates at quartzuk.com
Tue Apr 6 13:02:06 UTC 2004
Have tried what you suggested but still get the same problem, build output for app shown below:
/lib/no-rtmon_g.rel -lgcc --start-group -lrtemsbsp_g -lrtemscpu_g -lc -lgcc --end-group -T /opt/rtems/builds/fu
/opt/rtems/builds/fu0018_net/sh-rtems/fu0018/lib/librtemsbsp_g.a(cs8900.o): In function `_cs8900_get_mac_addr':
cs8900.c:244: undefined reference to `_cs8900_io_set_reg'
cs8900.c(.text+0xac): undefined reference to `_cs8900_io_get_reg'
/opt/rtems/builds/fu0018_net/sh-rtems/fu0018/lib/librtemsbsp_g.a(cs8900.o): In function `_cs8900_hardware_init'
cs8900.c:302: undefined reference to `_cs8900_io_set_reg'
cs8900.c(.text+0x350): undefined reference to `_cs8900_io_get_reg'
cs8900.c:315: undefined reference to `_cs8900_io_set_reg'
cs8900.c(.text+0x56c): undefined reference to `_cs8900_mem_set_reg'
From: Ralf Corsepius [mailto:ralf_corsepius at rtems.org]
Sent: 06 April 2004 13:12
To: James Yates
Cc: Chris Johns; RTEMS Users; Joel Sherrill
Subject: RE: Network Builds
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
With rtems-CVS, add a "*.rel" block
lib/libbsp/<cpu>/<bsp>/Makefile.am and let add the '*.rel" to
In both cases, after editing the the Makefile.am:
> I am really stuck again. Many thanks in advance.
More information about the users