From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas To: wyeepeng@dso.org.sg Cc: ecos-discuss@sourceware.cygnus.com, jlarmour@redhat.com Subject: RE: [ECOS] RE: Where can I get the configuration file for the Co Date: Thu, 23 Aug 2001 03:47:00 -0000 Message-id: References: <998546730.3b849d2a4bb02@webmail.dso.org.sg> X-SW-Source: 2001-08/msg00758.html This makes little sense to me. The errors you are getting could never happen from our code - that file does not have any of those symbols in it. Are you sure your sources are correct? The file should be [close to] this size: [gthomas@hermes gcc]$ ls -l if_sc_lpe.c -rw-r--r-- 1 gthomas wheel 10590 Jun 22 12:18 if_sc_lpe.c On 23-Aug-2001 wyeepeng@dso.org.sg wrote: > Hi, > I imported the ecm file and build the target. However, it failed with many > warnings and an error (see below). Do you know what is wrong? > > ...... > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:88: parse error before > `dev_link_t' > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:88: warning: no > semicolon at end of struct or union > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:90: parse error before > `node' > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:90: warning: type > defaults to `int' in declaration of `node' > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:90: warning: data > definition has no type or storage class > ...... > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:1085: warning: type > defaults to `int' in declaration of `module_exit' > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:1085: warning: > parameter names (without types) in function declaration > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:1085: warning: data > definition has no type or storage class > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:89: storage size of > `dev' isn't known > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:91: storage size of > `stats' isn't known > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:93: storage size of > `media' isn't known > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:99: warning: `if_names' > defined but not used > /root/ecos/packages/devs/eth/cf/current/src/if_sc_lpe.c:666: warning: > `el3_tx_timeout' defined but not used > make[1]: *** [src/if_sc_lpe.o.d] Error 1 > make: *** [build] Error 2