[ECOS] Re: error while compiling reboot for i386(vmware) in lancepci
John Dallaway
john@dallaway.org.uk
Thu Dec 1 08:24:00 GMT 2011
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
More information about the Ecos-discuss
mailing list