* [ECOS] error while compiling reboot for i386(vmware) in lancepci
@ 2011-12-01 8:05 abhishek srivastava
2011-12-01 8:24 ` [ECOS] " John Dallaway
0 siblings, 1 reply; 2+ messages in thread
From: abhishek srivastava @ 2011-12-01 8:05 UTC (permalink / raw)
To: ecos discuss
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ECOS] Re: error while compiling reboot for i386(vmware) in lancepci
2011-12-01 8:05 [ECOS] error while compiling reboot for i386(vmware) in lancepci abhishek srivastava
@ 2011-12-01 8:24 ` John Dallaway
0 siblings, 0 replies; 2+ messages in thread
From: John Dallaway @ 2011-12-01 8:24 UTC (permalink / raw)
To: abhishek srivastava; +Cc: eCos Discussion
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-01 8:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-01 8:05 [ECOS] error while compiling reboot for i386(vmware) in lancepci abhishek srivastava
2011-12-01 8:24 ` [ECOS] " John Dallaway
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).