This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
error while compiling reboot for i386(vmware) in lancepci
- From: abhishek srivastava <just_abhi22 at yahoo dot co dot in>
- To: ecos discuss <ecos-discuss at sourceware dot org>
- Date: Thu, 1 Dec 2011 13:34:59 +0530 (IST)
- Subject: [ECOS] error while compiling reboot for i386(vmware) in lancepci
- Reply-to: abhishek srivastava <just_abhi22 at yahoo dot co dot in>
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
/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c:541: error: lvalue required as left operand of assignment
/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c:556: error: lvalue required as left operand of assignment
/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c:559: error: lvalue required as left operand of assignment
/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c:589: error: lvalue required as left operand of assignment
/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c: In function ÃâËlancepci_startÃââ:
/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c:733: error: lvalue required as left operand of assignment
/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c: In function ÃâËlancepci_sendÃââ:
/opt/ecos/ecos-3.0/packages/devs/eth/amd/lancepci/v3_0/src/if_lancepci.c:969: error: lvalue required as left operand of assignment
make[1]: *** [src/if_lancepci.o.d] Error 1
make: *** [build] Error 2
how to rectify this??
if i remove this file and then compile,i am able to generate redboot.bin file but i donot find any command prompt while booting vmware.
i dont think i really need lancepci as i an connecting my host to vmware using virtual serial port.what's really wrong?
why i cannot find "redboot prompt" on vmware??
please help
Abhishek
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss