« Return to Thread: or1k's simulation

or1k's simulation

by Yuping :: Rate this Message:

Reply to Author | View in Thread

hi:
  I installed the toolchain :drp-0.6 toolchain (or32-elf-**) and goto orp_soc/sw/support/ fold and do make; next, I goto orp_soc/sw/basic/  fold and do make, it doesnot work, error messages are:

  or32-elf-ld -T ../support/orp.ld basic.o ../support/reset-nocache.o -o basic-nocache.or32 ../support/libsupport.a
basic.o: In function `_T7':
basic.S:(.text+0x54c): undefined reference to `_exit'
../support/reset-nocache.o: In function `_start':
reset.S:(.text+0xec): undefined reference to `_reset'
../support/libsupport.a(support.o): In function `_read_timer':
support.c:(.text+0x94): undefined reference to `_gettimeofday'
support.c:(.text+0xa4): undefined reference to `___mulsi3'
../support/libsupport.a(support.o): In function `_report':
support.c:(.text+0xe0): undefined reference to `_printf'
make: *** [basic-nocache] Error 1


Does anybody encounter this problem? I want to generate *.hex file and do hardware simulation, pls help me

 « Return to Thread: or1k's simulation