I am work in centos5. cd to or1ksim dir. ./configure make make check
error like this: libtool: compile: /root/opencores/openrisc/openrisc/trunk/or1ksim/compile -DHAVE_CONFIG_H -I. -I.. -I../support -I../mc-common -Wall -Werror -g -nostdlib -mhard-div -mhard-mul -MT int.lo -MD -MP -MF .deps/int.Tpo -c int.c -fPIC -DPIC -o .libs/int.o /root/opencores/openrisc/openrisc/trunk/or1ksim/compile: line 123: -DHAVE_CONFIG_H: command not found
I make check in testsuite dir too, but have the same problem.
Oh, I followed this step is OK.
mkdir builddir_or1ksim cd builddir_or1ksim ../or1ksim-0.4.0/configure --target=or32-elf --prefix=/opt/or1ksim make all make install export PATH=/opt/or1ksim/bin:$PATH
and then do "make check"
all test pass!!