This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Which packages are needed for networking?


I'm a bit confused; somehow I've managed to break something that was
previously working. I am trying to compile a simple network test app
(with code borrowed from ftp_test.c) for the EDB7xxx platform. I
previously managed to build OK, but something - NO idea what! - has
broken; I haven't changed my build process that I can remember.

Could someone read over the below and tell me what I'm doing wrong?
Looks like a package needs to be added (probably something to do with
filesystems?), but it _used_ to work and I didn't add any other
packages.

Using CVS sources a week old,

ecosconfig new edb7xxx
ecosconfig add eth_drivers net
ecosconfig tree
make
then into my app's directory and make 2>&1 | tee make.out

arm-elf-gcc -c -o main.o -g -I. -I../ecos/install/include
-ffunction-sections -fdata-sections -mcpu=arm7tdmi -DDF57 main.c
In file included from ../ecos/install/include/network.h:63,
                 from main.c:14:
../ecos/install/include/sys/param.h:120:28: sys/simplelock.h: No such
file or directory
../ecos/install/include/sys/param.h:132:27: sys/syslimits.h: No such
file or directory
../ecos/install/include/sys/param.h:162:24: sys/signal.h: No such file
or directory
In file included from ../ecos/install/include/network.h:65,
                 from main.c:14:
../ecos/install/include/sys/ioctl.h:103:24: sys/ttycom.h: No such file
or directory
In file included from ../ecos/install/include/network.h:65,
                 from main.c:14:
../ecos/install/include/sys/ioctl.h:123:22: sys/dkio.h: No such file or
directory
../ecos/install/include/sys/ioctl.h:124:23: sys/filio.h: No such file or
directory
In file included from ../ecos/install/include/network.h:78,
                 from main.c:14:
../ecos/install/include/bootp.h:95:49: bptypes.h: No such file or
directory
In file included from ../ecos/install/include/network.h:78,
                 from main.c:14:
../ecos/install/include/bootp.h:316: warning: no semicolon at end of
struct or union
../ecos/install/include/bootp.h:316: parse error before "v_flags"
../ecos/install/include/bootp.h:326: parse error before "v_unused"
../ecos/install/include/bootp.h:326: warning: data definition has no
type or storage class
../ecos/install/include/bootp.h:328: parse error before '}' token
make: *** [main.o] Error 1

On a related note, is there a concise list of packages somewhere, other
than browsing through the cdl files? (That's why I love the graphical
config tool; it shows me everything :)

-- Lewin A.R.W. Edwards (Embedded Engineer)              * Linux system
Work:     http://www.digi-frame.com/
Personal: http://www.larwe.com/ and http://www.zws.com/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]