From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5358 invoked by alias); 13 Sep 2007 05:30:14 -0000 Received: (qmail 5350 invoked by uid 22791); 13 Sep 2007 05:30:13 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.189) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 13 Sep 2007 05:30:07 +0000 Received: by nf-out-0910.google.com with SMTP id b21so359704nfd for ; Wed, 12 Sep 2007 22:30:04 -0700 (PDT) Received: by 10.78.149.13 with SMTP id w13mr122267hud.1189661403899; Wed, 12 Sep 2007 22:30:03 -0700 (PDT) Received: by 10.78.10.14 with HTTP; Wed, 12 Sep 2007 22:30:03 -0700 (PDT) Message-ID: <888069a80709122230s7248dadbhbc0019543915482e@mail.gmail.com> Date: Thu, 13 Sep 2007 05:30:00 -0000 From: "David Brennan" To: ecos-discuss@ecos.sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 4be8faf5cc3a4805 X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Compile error in if_i82559.c X-SW-Source: 2007-09/txt/msg00074.txt.bz2 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. ubuntu@ubuntu:/opt/ecos/pc-base$ rm -rf * ubuntu@ubuntu:/opt/ecos/pc-base$ ecosconfig new pc net U CYGBLD_ISO_STRUCTTIMEVAL_HEADER, new inferred value U CYGBLD_ISO_FNMATCH_HEADER, new inferred value ubuntu@ubuntu:/opt/ecos/pc-base$ ecosconfig tree ubuntu@ubuntu:/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