>> 1.3.1 for eCos. Just copy all the files in the archive over the eCos >> repository. >> >> http://download.westlicht.ch/lwip-20090827.tar.gz Hi Simon,
I tried building a new linux synth target with the lwip_sequential package selected (using the ecos supplied i386-elf GCC). I ran into some errors when I try ti build the target. First there was a missing bracket in packages/net/lwip_tcpip/current/src/core/ipv4/ip.c Line 413. After fixing that, I get a bunch of errors: Wall -Wpointer-arith -Wstrict-prototypes -Wundef -Wno-write-strings -g -O2 -ffunction-sections -fdata-sections -fno-exceptions -fno-stack-protector -Wp,-MD,src/api/tcpip.tmp -o src/api/net_lwip_tcpip_tcpip.o /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/api/tcpip.c /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/api/sockets.c:1241: warning: overflow in implicit constant conversion /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/api/sockets.c:1249: warning: overflow in implicit constant conversion /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/api/sockets.c:1281: warning: overflow in implicit constant conversion /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/api/sockets.c:1310: warning: overflow in implicit constant conversion /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/api/sockets.c:1334: warning: overflow in implicit constant conversion /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/api/sockets.c:1342: warning: overflow in implicit constant conversion /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/api/sockets.c: In function ‘lwip_setsockopt_internal’: /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/api/sockets.c:1841: warning: overflow in implicit constant conversion ... /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/ecos/sequential.c:113: warning: ‘set_ip_addr’ defined but not used ... ... /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/ecos/sio.c:61:29: error: cyg/io/serialio.h: No such file or directory /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/ecos/sio.c: In function ‘sio_tryread’: /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/ecos/sio.c:169: error: ‘cyg_serial_buf_info_t’ undeclared (first use in this function) /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/ecos/sio.c:169: error: (Each undeclared identifier is reported only once /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/ecos/sio.c:169: error: for each function it appears in.) /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/ecos/sio.c:169: error: expected ‘;’ before ‘info’ /home/mandeep/ecos/ecos-3.0/packages/net/lwip_tcpip/current/src/ecos/sio.c:177: error: ‘info’ undeclared (first use in this function) make[1]: *** [src/ecos/sio.o.d] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/mandeep/ecos/lwip-131/lwip-131_build/net/lwip_tcpip/current' make: *** [build] Error 2 make: Leaving directory `/home/mandeep/ecos/lwip-131/lwip-131_build' I'm sure this port compiles fine but somehow my build seems to be missing something. I've checked and I have the serialio.h file $ find packages/ -name serialio.h packages/io/serial/v3_0/include/serialio.h $ Also, are the warnings expected? Thanks, -mandeep > > Thanks. I'll try it out and let you know if I face any issues. > > Regards, > -mandeep > >> >> Simon >> > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
