public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Compile error in if_i82559.c
@ 2007-09-13  5:30 David Brennan
  0 siblings, 0 replies; only message in thread
From: David Brennan @ 2007-09-13  5:30 UTC (permalink / raw)
  To: ecos-discuss

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 <cyg/posix/sys/time.h>
U CYGBLD_ISO_FNMATCH_HEADER, new inferred value <cyg/fileio/fnmatch.h>
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-13  5:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-13  5:30 [ECOS] Compile error in if_i82559.c David Brennan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).