[Simh] Build errors in this release (See attachment)

Mark Pizzolato - Info Comm Mark at infocomm.com
Thu Jun 28 17:19:31 EDT 2012


On Thursday, June 28, 2012 at 2:00 PM, Gregg C Levine wrote:
> Hello!
> Since this release of Simh was based on good support from everyone I
> decided to try it here.  Naturally it decided to break during the build of a
> simulator that I am currently not using. Here:
[...]
> gcc -std=c99 -U__STRICT_ANSI__  -O2 -finline-functions -fgcse-after-
> reload
> -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations
> -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I .
> -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so  swtp6800/common/mp-
> a.c
> swtp6800/common/m6800.c swtp6800/common/m6810.c
> swtp6800/common/bootrom.c
> swtp6800/common/dc-4.c swtp6800/common/mp-s.c swtp6800/swtp6800/mp-
> a_sys.c
> swtp6800/common/mp-b2.c swtp6800/common/mp-8m.c scp.c sim_console.c
> sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -I
> swtp6800/swtp6800 -o BIN/swtp6800mp-a -lm -lrt -lpthread -ldl -lpcap  -
> flto
> -fwhole-program
> swtp6800/common/m6800.c:123:29: warning: type of 'sim_brk_dflt' does
> not
> match original declaration
> scp.c:379:8: note: previously declared here
> swtp6800/common/m6800.c:123:43: warning: type of 'sim_brk_summ' does
> not
> match original declaration
> scp.c:377:8: note: previously declared here
> swtp6800/common/m6800.c:123:14: warning: type of 'sim_brk_types' does
> not
> match original declaration
> scp.c:378:8: note: previously declared here
> gcc -std=c99 -U__STRICT_ANSI__  -O2 -finline-functions -fgcse-after-
> reload
> -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations
> -fno-strict-overflow -flto -fwhole-program -Wno-unused-result -I .
> -D_GNU_SOURCE -DUSE_READER_THREAD -DHAVE_DLOPEN=so  swtp6800/common/mp-
> a2.c
> swtp6800/common/m6800.c swtp6800/common/m6810.c
> swtp6800/common/bootrom.c
> swtp6800/common/dc-4.c swtp6800/common/mp-s.c swtp6800/swtp6800/mp-
> a2_sys.c
> swtp6800/common/mp-b2.c swtp6800/common/mp-8m.c swtp6800/common/i2716.c
> scp.c sim_console.c sim_fio.c sim_timer.c sim_sock.c sim_tmxr.c
> sim_ether.c
> sim_tape.c -I swtp6800/swtp6800 -o BIN/swtp6800mp-a2 -lm -lrt -lpthread
> -ldl
> -lpcap  -flto -fwhole-program
> swtp6800/common/m6800.c:123:29: warning: type of 'sim_brk_dflt' does
> not
> match original declaration
> scp.c:379:8: note: previously declared here
> swtp6800/common/m6800.c:123:43: warning: type of 'sim_brk_summ' does
> not
> match original declaration
> scp.c:377:8: note: previously declared here
> swtp6800/common/m6800.c:123:14: warning: type of 'sim_brk_types' does
> not
> match original declaration
> scp.c:378:8: note: previously declared here
> root at rsl_spock:/usr/local/src/simhv39-0#
> 
> Obviously that one breaking made it not possible to continue. I only
> need
> the VAX and PDP11 ones, now.

This is a known issue with the v3.9-0 release.

Since you only are interested in the vax and pdp11, you can build individual simulators:

   make vax
   make pdp11

Good Luck.

- Mark Pizzolato




More information about the Simh mailing list