OpenCores
Issue List
"make check" can not work in ork1sim #117
Closed iyaowu opened this issue over 13 years ago
iyaowu commented over 13 years ago

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

iyaowu commented over 13 years ago

I make check in testsuite dir too, but have the same problem.

iyaowu commented over 13 years ago

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!!

from: http://opencores.org/openrisc,or1ksim

jeremybennett was assigned over 13 years ago
jeremybennett commented over 13 years ago
<p> Hi Yaowu </p> <p> I'm pleased you have this working. I will leave this bug open, since I need to ensure that "make check" will also work <em>before</em> you install the software. </p> <p> Best wishes, </p> <p> Jeremy </p> <p> -- <br /> Tel: +44 (1590) 610184<br /> Cell: +44 (7970) 676050<br /> SkypeID: jeremybennett<br /> Email: <a href="mailto:jeremy.bennett@embecosm.com">jeremy.bennett@embecosm.com</a><br /> Web: <a href="http://www.embecosm.com">www.embecosm.com</a> </p>
jeremybennett commented over 13 years ago
<p> Fixed in Or1ksim 0.5.0rc2. Marking closed. </p>
jeremybennett closed this over 13 years ago

Assignee
jeremybennett
Labels
Bug