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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux Embedded]     [U-Boot V2]     [Linux Kernel]     [Linux MIPS]     [Linux ARM]     [Linux for the Blind]     [Yosemite]     [ISDN Cause Codes]     [eCos Home]

  Powered by Linux