[HECnet] Trying to build SIMH from git (on OpenIndiana)

Cory Smelosky b4 at gewt.net
Wed Mar 13 11:34:17 PDT 2013


On 2013-03-13 14:11, Brian Hechinger wrote:
Thoughts?
-brian
wonko at zaphod$ make vax
lib paths are: /lib /usr/lib
using libm: /lib/libm.so
using librt: /lib/librt.so
using libpthread: /lib/libpthread.so /usr/include/pthread.h
using libdl: /lib/libdl.so /usr/include/dlfcn.h
using libpcap: /usr/include/pcap.h
***
*** vax Simulator being built with:
*** - compiler optimizations and no debugging support. GCC Version: 4.3.3.
*** - dynamic networking support using Solaris provided libpcap components.
***
gcc -std=c99 -U__STRICT_ANSI__   -O2 -finline-functions
-fgcse-after-reload -fpredictive-commoning
-fno-unsafe-loop-optimizations -fno-strict-overflow   -I . -D_GNU_SOURCE
-DUSE_READER_THREAD -DSIM_ASYNCH_IO   -DHAVE_DLOPEN=so sim_BuildROMs.c -o
BIN/BuildROMs
BIN/BuildROMs
rm -f BIN/BuildROMs
gcc -std=c99 -U__STRICT_ANSI__   -O2 -finline-functions
-fgcse-after-reload -fpredictive-commoning
-fno-unsafe-loop-optimizations -fno-strict-overflow   -I . -D_GNU_SOURCE
-DUSE_READER_THREAD -DSIM_ASYNCH_IO   -DHAVE_DLOPEN=so VAX/vax_cpu.c
VAX/vax_cpu1.c VAX/vax_fpa.c VAX/vax_io.c VAX/vax_cis.c VAX/vax_octa.c
VAX/vax_cmode.c VAX/vax_mmu.c VAX/vax_stddev.c VAX/vax_sysdev.c
VAX/vax_sys.c   VAX/vax_syscm.c VAX/vax_syslist.c PDP11/pdp11_rl.c
PDP11/pdp11_rq.c PDP11/pdp11_ts.c PDP11/pdp11_dz.c PDP11/pdp11_lp.c
PDP11/pdp11_tq.c PDP11/pdp11_xq.c PDP11/pdp11_vh.c PDP11/pdp11_cr.c
PDP11/pdp11_io_lib.c scp.c sim_console.c sim_fio.c sim_timer.c
sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c sim_disk.c sim_serial.c
-DVM_VAX -DUSE_INT64 -DUSE_ADDR64 -I VAX -I PDP11 -DUSE_SHARED
-I/usr/include/ -o BIN/microvax3900 -lsocket -lnsl -lm -lrt -lpthread -ldl
In file included from sim_serial.h:89,
                                  from scp.c:223:
sim_tmxr.h:55: error: redefinition of typedef 'SERHANDLE'
sim_serial.h:81: error: previous declaration of 'SERHANDLE' was here
In file included from sim_console.c:122:
sim_serial.h:81: error: redefinition of typedef 'SERHANDLE'
sim_tmxr.h:55: error: previous declaration of 'SERHANDLE' was here
In file included from sim_serial.h:89,
                                  from sim_tmxr.c:324:
sim_tmxr.h:55: error: redefinition of typedef 'SERHANDLE'
sim_serial.h:81: error: previous declaration of 'SERHANDLE' was here
In file included from sim_serial.h:89,
                                  from sim_serial.c:127:
sim_tmxr.h:55: error: redefinition of typedef 'SERHANDLE'
sim_serial.h:81: error: previous declaration of 'SERHANDLE' was here
make: *** [BIN/microvax3900] Error 1
wonko at zaphod$

What version of GCC?

-- 
Cory Smelosky
http://gewt.net Personal stuff
http://gimme-sympathy.org Experiments



More information about the Hecnet-list mailing list