This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

if_lancepci.c does not compile for i386 (vmWare)


Hi,

trying to compile an i386 PC target (vmWare) I get

/ecos-d/CygwinData/ecos/packages/devs/eth/amd/lancepci/current/src/if_lancepci.c: In
function 'amd_lancepci_init':
/ecos-d/CygwinData/ecos/packages/devs/eth/amd/lancepci/current/src/if_lancepci.c:528:
error: lvalue required as left operand of assignment
/ecos-d/CygwinData/ecos/packages/devs/eth/amd/lancepci/current/src/if_lancepci.c:541:
error: lvalue required as left operand of assignment
...

for both 3.0 and CVS eCos. The macro causing problems
seems to be the HAL_PCI_CPU_TO_BUS; however, I fail to see
why it should cause problems gere.

The selected configuration is the "i386 PC target (vmWare)"
template with "net" packages.


I am building under cygwin and I am using the toolchain installed
with the 3.0 version:

$ i386-elf-gcc -v
Using built-in specs.
Target: i386-elf
Configured with: /gnutools/src/toolchains/gcc/gcc-4.3.2/configure -v --target=i3
86-elf --prefix=/gnutools/builds/toolchains/i386-elf/tools --with-newlib --with-
gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-__cxa_atexit --enable-th
reads --with-bugurl=http://bugs.ecos.sourceware.org/ --with-pkgversion='eCosCent
ric GNU tools 4.3.2-sw'
Thread model: single
gcc version 4.3.2 (eCosCentric GNU tools 4.3.2-sw)



Thanks
-- 
                                  Stano

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]