This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
build error in net directory
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] build error in net directory
- From: bgat at open-widgets dot com
- Date: Sat, 6 Jan 2001 10:27:35 -0600
Guys:
I just updated to the latest CVS and tried to build as follows:
ecosconfig new mbx
ecosconfig add net
ecosconfig add snmplib
ecosconfig add snmpagent
ecosconfig tree
make
Here's where I ended up:
[snip]
make[1]: Entering directory `/home/bgat/ecos/build-packages/net/tcpip/current'
powerpc-eabi-gcc -c -I/home/bgat/ecos/build-packages/install/include -I/home/bgat/ecos/packages/net/tcpip/current -I/home/bgat/ecos/packages/net/tcpip/current/src -I/home/bgat/ecos/packages/net/tcpip/current/tests -I. -I/home/bgat/ecos/packages/net/tcpip/current/src/ecos/ -msoft-float -mcpu=860 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -D_KERNEL -D__ECOS -Wp,-MD,src/ecos/support.tmp -o src/ecos/net_tcpip_support.o /home/bgat/ecos/packages/net/tcpip/current/src/ecos/support.c
/home/bgat/ecos/packages/net/tcpip/current/src/ecos/support.c:84: netdev.h: No such file or directory
make[1]: *** [src/ecos/support.o.d] Error 1
make[1]: Leaving directory `/home/bgat/ecos/build-packages/net/tcpip/current'
make: *** [build] Error 2
I added -I<path-to-ecos>/packages/io/eth/current/include to the
include path in build-packages/net/tcpip/current/makefile, and I had
to do the same thing for
build-packages/net/snmp/agent/current/makefile. I haven't run any
tests yet, but the build finishes, which I'll take to be a good
sign... :^)
My main concern is that my setup is somehow broken, i.e. I haven't
used ecosconfig properly (I'm an ecos newbie). If it's just a bug in
the build scripts, however, then here's a workaround.
Thanks!
b.g.
--
Bill Gatliff
bgat@open-widgets.com