[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[openrisc] or1ksim build problem cygwin



Hello,

I am trying to build the or1k simulator. I am using cygwin on a win2k 
box. I am configuring and making with the following commands:

./configure --target=or32-rtems --prefix=/opt/or32-rtems
 make all install 2>&1 |tee bin-make.log

The build fails when one of the include files (packet.h) cannot be 
located. This file is included in the file ethernet_i.h which is 
included in eth.c. I searched my system and could not locate this file 
(it does not appear to be part of the standard cygwin install). I am 
hoping that someone else has run into this issue. Any help would be 
greatly appreciated.

I have attached the log file that was created during the build.

Thanks,

Bryce

-- 
Bryce Himebaugh
Staff 
Indiana University Computer Science Dept.
bhimebau@cs.indiana.edu
(812) 855-6984
 

make  all-recursive
make[1]: Entering directory `/home/bhimebau/or1k/or1ksim'
Making all in cpu
make[2]: Entering directory `/home/bhimebau/or1k/or1ksim/cpu'
Making all in common
make[3]: Entering directory `/home/bhimebau/or1k/or1ksim/cpu/common'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cpu/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../pm -I../../pic -I../../debug -I../../vapi    -g -O2 -DOR32 -c abstract.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cpu/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../pm -I../../pic -I../../debug -I../../vapi    -g -O2 -DOR32 -c parse.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cpu/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../pm -I../../pic -I../../debug -I../../vapi    -g -O2 -DOR32 -c stats.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cpu/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../pm -I../../pic -I../../debug -I../../vapi    -g -O2 -DOR32 -c trace.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cpu/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../pm -I../../pic -I../../debug -I../../vapi    -g -O2 -DOR32 -c labels.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cpu/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../pm -I../../pic -I../../debug -I../../vapi    -g -O2 -DOR32 -c sched.c
rm -f libcommon.a
ar cru libcommon.a abstract.o parse.o stats.o trace.o labels.o sched.o 
ranlib libcommon.a
make[3]: Leaving directory `/home/bhimebau/or1k/or1ksim/cpu/common'
Making all in or1k
make[3]: Entering directory `/home/bhimebau/or1k/or1ksim/cpu/or1k'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cpu/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../pm -I../../pic -I../../debug -I../../vapi    -g -O2 -DOR32 -c sprs.c
sprs.c: In function `mtspr':
sprs.c:42: warning: assignment of read-only location
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cpu/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../pm -I../../pic -I../../debug -I../../vapi    -g -O2 -DOR32 -c except.c
rm -f libor1k.a
ar cru libor1k.a sprs.o except.o 
ranlib libor1k.a
make[3]: Leaving directory `/home/bhimebau/or1k/or1ksim/cpu/or1k'
Making all in or32
make[3]: Entering directory `/home/bhimebau/or1k/or1ksim/cpu/or32'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cpu/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../pm -I../../pic -I../../debug -I../../vapi    -g -O2 -DOR32 -c or32.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cpu/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../pm -I../../pic -I../../debug -I../../vapi    -g -O2 -DOR32 -c generate.c
gcc  -g -O2 -DOR32  -o generate  or32.o generate.o  
./generate insnset.c execgen.c
Building automata... done, num uncovered: 0/212.
Parsing operands data... done.
0:l.j
1:l.jal
-1:???
2:l.bnf
3:l.bf
4:l.nop
-1:???
5:l.movhi
6:l.macrc
-1:???
-1:???
7:l.sys
-1:???
8:l.trap
-1:???
9:l.msync
-1:???
10:l.psync
-1:???
11:l.csync
-1:???
-1:???
-1:???
12:l.rfe
-1:???
13:lv.all_eq.b
14:lv.all_eq.h
15:lv.all_ge.b
16:lv.all_ge.h
17:lv.all_gt.b
18:lv.all_gt.h
19:lv.all_le.b
20:lv.all_le.h
21:lv.all_lt.b
22:lv.all_lt.h
23:lv.all_ne.b
24:lv.all_ne.h
-1:???
25:lv.any_eq.b
26:lv.any_eq.h
27:lv.any_ge.b
28:lv.any_ge.h
29:lv.any_gt.b
30:lv.any_gt.h
31:lv.any_le.b
32:lv.any_le.h
33:lv.any_lt.b
34:lv.any_lt.h
35:lv.any_ne.b
36:lv.any_ne.h
-1:???
37:lv.add.b
38:lv.add.h
39:lv.adds.b
40:lv.adds.h
41:lv.addu.b
42:lv.addu.h
43:lv.addus.b
44:lv.addus.h
45:lv.and
46:lv.avg.b
47:lv.avg.h
-1:???
48:lv.cmp_eq.b
49:lv.cmp_eq.h
50:lv.cmp_ge.b
51:lv.cmp_ge.h
52:lv.cmp_gt.b
53:lv.cmp_gt.h
54:lv.cmp_le.b
55:lv.cmp_le.h
56:lv.cmp_lt.b
57:lv.cmp_lt.h
58:lv.cmp_ne.b
59:lv.cmp_ne.h
-1:???
-1:???
60:lv.madds.h
61:lv.max.b
62:lv.max.h
63:lv.merge.b
64:lv.merge.h
65:lv.min.b
66:lv.min.h
67:lv.msubs.h
68:lv.muls.h
69:lv.nand
70:lv.nor
71:lv.or
72:lv.pack.b
73:lv.pack.h
74:lv.packs.b
75:lv.packs.h
76:lv.packus.b
77:lv.packus.h
78:lv.perm.n
79:lv.rl.b
80:lv.rl.h
81:lv.sll.b
82:lv.sll.h
83:lv.sll
84:lv.srl.b
85:lv.srl.h
86:lv.sra.b
87:lv.sra.h
88:lv.srl
89:lv.sub.b
90:lv.sub.h
91:lv.subs.b
92:lv.subs.h
93:lv.subu.b
94:lv.subu.h
95:lv.subus.b
96:lv.subus.h
97:lv.unpack.b
98:lv.unpack.h
99:lv.xor
-1:???
-1:???
100:lv.cust1
101:lv.cust2
102:lv.cust3
103:lv.cust4
-1:???
104:lf.add.s
105:lf.sub.s
106:lf.mul.s
107:lf.div.s
-1:???
108:lf.rem.s
109:lf.madd.s
110:lf.sfeq.s
111:lf.sfne.s
112:lf.sfgt.s
113:lf.sfge.s
114:lf.sflt.s
115:lf.sfle.s
-1:???
-1:???
116:lf.cust1.s
-1:???
-1:???
117:lf.add.d
118:lf.sub.d
119:lf.mul.d
120:lf.div.d
-1:???
121:lf.rem.d
122:lf.madd.d
123:lf.sfeq.d
124:lf.sfne.d
125:lf.sfgt.d
126:lf.sfge.d
127:lf.sflt.d
128:lf.sfle.d
-1:???
-1:???
129:lf.cust1.d
-1:???
130:lvf.ld
-1:???
131:lvf.lw
-1:???
-1:???
132:lvf.sd
-1:???
133:lvf.sw
-1:???
-1:???
-1:???
134:l.jr
135:l.jalr
136:l.maci
-1:???
137:l.cust1
138:l.cust2
139:l.cust3
140:l.cust4
141:l.ld
142:l.lwz
143:l.lws
144:l.lbz
145:l.lbs
146:l.lhz
147:l.lhs
148:l.addi
149:l.addic
150:l.andi
151:l.ori
152:l.xori
153:l.muli
154:l.mfspr
155:l.slli
156:l.srli
157:l.srai
158:l.rori
159:l.sfeqi
160:l.sfnei
161:l.sfgtui
162:l.sfgeui
163:l.sfltui
164:l.sfleui
-1:???
165:l.sfgtsi
166:l.sfgesi
167:l.sfltsi
168:l.sflesi
-1:???
169:l.mtspr
-1:???
170:l.mac
171:l.msb
-1:???
-1:???
172:l.sd
173:l.sw
174:l.sb
175:l.sh
176:l.add
-1:???
177:l.addc
-1:???
178:l.sub
-1:???
179:l.and
-1:???
180:l.or
-1:???
181:l.xor
-1:???
182:l.mul
-1:???
-1:???
183:l.sll
184:l.srl
185:l.sra
186:l.ror
-1:???
187:l.div
-1:???
188:l.divu
-1:???
189:l.mulu
-1:???
191:l.exths
190:l.extbs
194:l.exthz
193:l.extbz
-1:???
192:l.extws
195:l.extwz
-1:???
196:l.cmov
-1:???
197:l.ff1
-1:???
198:l.sfeq
199:l.sfne
200:l.sfgtu
201:l.sfgeu
202:l.sfltu
203:l.sfleu
-1:???
204:l.sfgts
205:l.sfges
206:l.sflts
207:l.sfles
-1:???
-1:???
208:l.cust5
209:l.cust6
210:l.cust7
211:l.cust8
cd ../.. \
  && CONFIG_FILES=cpu/or32/Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating cpu/or32/Makefile
make[3]: Leaving directory `/home/bhimebau/or1k/or1ksim/cpu/or32'
make[3]: Entering directory `/home/bhimebau/or1k/or1ksim/cpu/or32'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../cpu/common -I../../cpu/or1k -I../../cpu/or32 -I../../cache -I../../mmu -I../../bpb -I../../peripheral -I../../tick -I../../pm -I../../pic -I../../debug -I../../vapi    -g -O2 -DOR32 -c execute.c
rm -f libarch.a
ar cru libarch.a execute.o or32.o 
ranlib libarch.a
make[3]: Leaving directory `/home/bhimebau/or1k/or1ksim/cpu/or32'
make[3]: Entering directory `/home/bhimebau/or1k/or1ksim/cpu'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/bhimebau/or1k/or1ksim/cpu'
make[2]: Leaving directory `/home/bhimebau/or1k/or1ksim/cpu'
Making all in bpb
make[2]: Entering directory `/home/bhimebau/or1k/or1ksim/bpb'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c branch_predict.c
rm -f libbpb.a
ar cru libbpb.a branch_predict.o 
ranlib libbpb.a
make[2]: Leaving directory `/home/bhimebau/or1k/or1ksim/bpb'
Making all in support
make[2]: Entering directory `/home/bhimebau/or1k/or1ksim/support'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c simprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c dumpverilog.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c profile.c
rm -f libsupport.a
ar cru libsupport.a simprintf.o dumpverilog.o profile.o 
ranlib libsupport.a
make[2]: Leaving directory `/home/bhimebau/or1k/or1ksim/support'
Making all in cache
make[2]: Entering directory `/home/bhimebau/or1k/or1ksim/cache'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c dcache_model.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c icache_model.c
rm -f libcache.a
ar cru libcache.a dcache_model.o icache_model.o 
ranlib libcache.a
make[2]: Leaving directory `/home/bhimebau/or1k/or1ksim/cache'
Making all in mmu
make[2]: Entering directory `/home/bhimebau/or1k/or1ksim/mmu'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c dmmu.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c immu.c
immu.c:34: warning: static declaration for `immu_simulate_tlb' follows non-static
rm -f libmmu.a
ar cru libmmu.a dmmu.o immu.o 
ranlib libmmu.a
make[2]: Leaving directory `/home/bhimebau/or1k/or1ksim/mmu'
Making all in peripheral
make[2]: Entering directory `/home/bhimebau/or1k/or1ksim/peripheral'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c 16450.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c dma.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c mc.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cpu/common -I../cpu/or1k -I../cpu/or32 -I../cache -I../mmu -I../bpb -I../peripheral -I../tick -I../pm -I../pic -I../debug -I../vapi    -g -O2 -DOR32 -c eth.c
In file included from eth.c:34:
ethernet_i.h:26: netpacket/packet.h: No such file or directory
make[2]: *** [eth.o] Error 1
make[2]: Leaving directory `/home/bhimebau/or1k/or1ksim/peripheral'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bhimebau/or1k/or1ksim'
make: *** [all-recursive-am] Error 2