|
Message
From: laurentiuduca<albatros.abc@g...>
Date: Thu Jan 3 09:38:55 CET 2008
Subject: [openrisc] or1ksim build error on cygwin
http://www.opencores.org/forums.cgi/openrisc/2006/06/002711 http://www.opencores.org/forums.cgi/openrisc/2008/01/003332
laurentiuduca wrote: > > I had the same problem. > Comment the static keyword. > > Please tell me if you know > how to install GNU toolchain. > I can't find any configure or makefile > in the binutils, gcc, ... folders. > > > Thank you > > > jstone.j wrote: >> >> or1ksim i get from cvs, and use gcc-3.4.4, gub-5.3,binutils-2.16.1 >> >>> ../or1ksim/configure -target=or32-elf --prefix=/opt/or32-elf >>>make all install >> ............ >> if gcc -DHAVE_CONFIG_H -I. -I../../or1ksim/peripheral -I.. - >> I../cpu/or32 -I../../or1ksim -I../../or1ksim/cpu/common - >> I../../or1ksim/cpu/or1k -I../../or1ksim/cache -I../../or1ksim/mmu - >> I../../or1ksim/bpb -I../../or1ksim/peripheral -I../../or1ksim/tick - >> I../../or1ksim/peripheral/channels -I../../or1ksim/pm -I../../or1ksim/pic >> - >> I../../or1ksim/debug -I../../or1ksim/vapi -I../../or1ksim/support - >> I../../or1ksim/cuc -I../../or1ksim/port -g -Wall -O2 -DOR32 -MT >> atadevice.o -MD -MP -MF ".deps/atadevice.Tpo" -c -o >> atadevice.o ../../or1ksim/peripheral/atadevice.c; \ >> then mv -f ".deps/atadevice.Tpo" ".deps/atadevice.Po"; else rm - >> f ".deps/atadevice.Tpo"; exit 1; fi >> ../../or1ksim/peripheral/atadevice.c:25:22: byteswap.h: No such file or >> directory >> ../../or1ksim/peripheral/atadevice.c: In function `open_file': >> ../../or1ksim/peripheral/atadevice.c:100: warning: int format, long >> unsigned int arg (arg 5) >> ../../or1ksim/peripheral/atadevice.c:106: warning: int format, long >> unsigned int arg (arg 5) >> ../../or1ksim/peripheral/atadevice.c: At top level: >> ../../or1ksim/peripheral/atadevice.c:261: warning: static declaration >> of 'ata_device_do_control_register' follows non-static declaration >> ../../or1ksim/peripheral/atadevice.h:205: warning: previous declaration >> of 'ata_device_do_control_register' was here >> ../../or1ksim/peripheral/atadevice.c:317: warning: static declaration >> of 'ata_device_do_command_register' follows non-static declaration >> ../../or1ksim/peripheral/atadevice.h:206: warning: previous declaration >> of 'ata_device_do_command_register' was here >> ../../or1ksim/peripheral/atadevice.c: In function `ata_devices_read': >> ../../or1ksim/peripheral/atadevice.c:418: warning: implicit declaration >> of >> function `bswap_16' >> make[3]: *** [atadevice.o] Error 1 >> make[3]: Leaving directory `/home/jstone/or1k/b-sim/peripheral' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory `/home/jstone/or1k/b-sim/peripheral' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/jstone/or1k/b-sim' >> make: *** [all] Error 2 >> make: Leaving directory `/home/jstone/or1k/b-sim' >> >> >> why? how to solve the problem? thanks >> _______________________________________________ >> http://www.opencores.org/mailman/listinfo/openrisc >> >> > >
-- View this message in context: http://www.nabble.com/or1ksim-build-error-on-cygwin-tp7678374p14593584.html Sent from the OpenCores - RISC mailing list archive at Nabble.com.
|
 |