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]

Re: error while compiling reboot for i386(vmware) in lancepci


Hi Abhishek

abhishek srivastava wrote:

> i am getting this error while compiling i386(vmware) for redboot in lancepci
> 
> make -r -C devs/eth/amd/lancepci/v3_0 build
> make[1]: Entering directory `/cygdrive/c/Users/abhi/Documents/redboot/redboot_build/devs/eth/amd/lancepci/v3_0'
> i386-elf-gcc -c  -I/cygdrive/c/Users/abhi/Documents/redboot/redboot_install/include -I/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0 -I/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src -I/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/tests -I. -I/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/ -finline-limit=7000 -Wall -Wpointer-arith -Wstrict-prototypes -Wundef  -Wno-write-strings -g -O2 -ffunction-sections -fdata-sections  -fno-exceptions -D_KERNEL -D__ECOS -Wp,-MD,src/if_lancepci.tmp -o src/devs_eth_amd_lancepci_if_lancepci.o /opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c
> make[1]: Leaving directory `/cygdrive/c/Users/abhi/Documents/redboot/redboot_build/devs/eth/amd/lancepci/v3_0'
> /opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c: In function ÃâËpci_init_find_lancepciÃââ:
> make: Leaving directory `/cygdrive/c/Users/abhi/Documents/redboot/redboot_build'
> /opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c:338: warning: pointer targets in passing argument 2 of ÃâËcyg_pci_translate_interruptÃââ differ in signedness
> /opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c: In function ÃâËamd_lancepci_initÃââ:
> /opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c:528: error: lvalue required as left operand of assignment

[ snip ]

This build issue was fixed some time ago in CVS:

http://ecos.sourceware.org/cgi-bin/cvsweb.cgi/ecos/packages/devs/eth/amd/lancepci/current/src/if_lancepci.c.diff?r1=1.3&r2=1.4&cvsroot=ecos

The patch is self-contained and should apply to the eCos 3.0 release
sources without problem.

I hope this helps.

John Dallaway
eCos maintainer
http://www.dallaway.org.uk/john

-- 
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]