I am just returning to eCos after a prolonged absence. I got the latest CVS version and tried to compile for a basic pc with network functions. However the if_i82559.c module will not compile with default template.
[EMAIL PROTECTED]:/opt/ecos/pc-base$ rm -rf * [EMAIL PROTECTED]:/opt/ecos/pc-base$ ecosconfig new pc net U CYGBLD_ISO_STRUCTTIMEVAL_HEADER, new inferred value <cyg/posix/sys/time.h> U CYGBLD_ISO_FNMATCH_HEADER, new inferred value <cyg/fileio/fnmatch.h> [EMAIL PROTECTED]:/opt/ecos/pc-base$ ecosconfig tree [EMAIL PROTECTED]:/opt/ecos/pc-base$ make -s headers finished /opt/ecos/ecos/packages/devs/eth/intel/i82559/current/src/if_i82559.c: In function `pci_init_find_82559s': /opt/ecos/ecos/packages/devs/eth/intel/i82559/current/src/if_i82559.c:2992: `eth_dsr' undeclared (first use in this function) /opt/ecos/ecos/packages/devs/eth/intel/i82559/current/src/if_i82559.c:2992: (Each undeclared identifier is reported only once /opt/ecos/ecos/packages/devs/eth/intel/i82559/current/src/if_i82559.c:2992: for each function it appears in.) make[1]: *** [src/if_i82559.o.d] Error 1 make: *** [build] Error 2 The root of this problem seems to be the new conditional compile added by this change. (http://sourceware.org/ml/ecos-patches/2006-11/msg00037.html) However, I don't know if the conditions are wrong in the #if or in the default template. Thanks in advance for any pointers. David -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
