[ECOS] build error in net directory
Gary Thomas
gthomas@redhat.com
Sun Jan 7 07:27:00 GMT 2001
On 06-Jan-2001 bgat@open-widgets.com wrote:
> Guys:
>
>
> I just updated to the latest CVS and tried to build as follows:
>
>
> ecosconfig new mbx
> ecosconfig add net
Don't do it this way. The 'net' package is not self sufficient. What
you really want is:
% ecosconfig new mbx net
The 'net' template adds both the basic network stack _and_ the ethernet
driver framework, which is where 'netdev.h' comes from.
> 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/curren
> t/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
>
>
>
>
>
More information about the Ecos-discuss
mailing list