[ECOS] LWIP problems...

Carlos Camargo carlos_ivan_camargo@yahoo.com
Wed Jul 30 00:08:00 GMT 2003


HI all..

I'm working with GameBoy advance with XPORT, lwip and
cirrus logic ethernet driver, i create a new package
based in EDB7XXX ethernet driver.

I start build a default template for GBAX then add
"Common ethernet support" and then add lwip..

I build the library successfully, but when i try to
make the test typing:


make -C net/lwip_tcpip/current/ tests



The following error message appear:


$ make -C net/lwip_tcpip/current/ tests
make: Entering directory
`/ecos-d/Projects/GBA/eCos/cs8900/cs8900_build/net/lwip_tcpip/current'
gcc -c 
-I/ecos-d/Projects/GBA/eCos/cs8900/cs8900_install/include
-I/ecos-c/xport/src/ecos/packages/net/lwip_tcpip/current
-I/ecos-c/xport/src/ecos/packages/net/lwip_tcpip/current/src
-I/ecos-c/xport/src/ecos/packages/net/lwip_tcpip/current/tests
-I.
-I/ecos-c/xport/src/ecos/packages/net/lwip_tcpip/current/tests/
-Wall
 -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections
-fdata-sections -fno-rtti -fno-exceptions -fvtable-gc
-fin
it-priority -Wp,-MD,tests/tcpecho.tmp -o
tests/tcpecho.o
/ecos-c/xport/src/ecos/packages/net/lwip_tcpip/current/tests/tcpecho.c
/ecos-c/xport/src/ecos/packages/net/lwip_tcpip/current/tests/tcpecho.c:
In function `tmain':
/ecos-c/xport/src/ecos/packages/net/lwip_tcpip/current/tests/tcpecho.c:81:
warning: implicit declaration of function `lwip_init'
/ecos-c/xport/src/ecos/packages/net/lwip_tcpip/current/tests/tcpecho.c:
In function `cyg_user_start':
/ecos-c/xport/src/ecos/packages/net/lwip_tcpip/current/tests/tcpecho.c:102:
warning: passing arg 2 of `cyg_thread_create' from
incompatible pointer type
gcc -g -nostdlib -Wl,--gc-sections -Wl,-static
-L/ecos-d/Projects/GBA/eCos/cs8900/cs8900_install/lib
-Ttarget.ld -o
/ecos-d/Projects/GBA/eCos/cs8900/cs8900_install/tests/net/lwip_tcpip/current/tests/tcpecho
tests/tcpecho.o
/ecos-d/Projects/GBA/eCos/cs8900/cs8900_install/lib/libtarget.a(io_eth_eth_drv.o):
In function `eth_drv_recv':

io_eth_eth_drv.o(.text.eth_drv_recv+0x40): undefined
reference to `start_console'
io_eth_eth_drv.o(.text.eth_drv_recv+0x8c): undefined
reference to `end_console'

make: ***
[/ecos-d/Projects/GBA/eCos/cs8900/cs8900_install/tests/net/lwip_tcpip/current/tests/tcpecho]
Error 1
make: Leaving directory
`/ecos-d/Projects/GBA/eCos/cs8900/cs8900_build/net/lwip_tcpip/current'




The test make successfully When i make the tests
without ethernet driver ...


Can anyone help me??

Thanks..


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list