[Simh] Version 3.8 VAX build problem?

Gregory Wright gwright at antiope.com
Thu Sep 18 21:28:12 EDT 2008


Hi Philipp,

On Sep 18, 2008, at 8:51 PM, Philipp Hachtmann wrote:

> Hi again,
>
> while writing my Makefile, I came across a problem with the VAX build.
> I immediately tried the original 3.8 archive and get the same effect.
> MANY warnings and MANY linker errors:
>
>> hachti at zombie:~/store3/minicomputer/simh/simhv38$ make BIN/vax
>> gcc -std=c99 -U__STRICT_ANSI__ -g -lrt -lm -D_GNU_SOURCE -I . 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_ry.c PDP11/ 
>> pdp11_vh.c PDP11/pdp11_cr.c scp.c sim_console.c sim_fio.c  
>> sim_timer.c sim_sock.c sim_tmxr.c sim_ether.c sim_tape.c -DVM_VAX - 
>> DUSE_INT64 -DUSE_ADDR64 -I VAX -I PDP11  -o BIN/vax
>> VAX/vaxmod_defs.h:457: warning: inline function 'WriteL' declared  
>> but never defined
>> VAX/vaxmod_defs.h:456: warning: inline function 'WriteW' declared  
>> but never defined
>> VAX/vaxmod_defs.h:455: warning: inline function 'WriteB' declared  
>> but never defined
>> VAX/vaxmod_defs.h:454: warning: inline function 'ReadLP' declared  
>> but never defined
>> VAX/vaxmod_defs.h:453: warning: inline function 'ReadL' declared  
>> but never defined
>> VAX/vaxmod_defs.h:452: warning: inline function 'ReadW' declared  
>> but never defined
>> VAX/vaxmod_defs.h:451: warning: inline function 'ReadB' declared  
>> but never defined
>> VAX/vaxmod_defs.h:457: warning: inline function 'WriteL' declared  
>> but never defined
>
>  ...
> <snip>


>
> I am using the following gcc:
>> sing built-in specs.
>> Target: i486-linux-gnu
>> Configured with: ../src/configure -v --with-pkgversion='Debian  
>> 4.3.1-9' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs -- 
>> enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable- 
>> shared --with-system-zlib --libexecdir=/usr/lib --without-included- 
>> gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/ 
>> usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu -- 
>> enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable- 
>> targets=all --enable-cld --enable-checking=release --build=i486- 
>> linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
>> Thread model: posix
>> gcc version 4.3.1 (Debian 4.3.1-9)
>
> On a Debian Linux box:
>> Linux zombie 2.6.25.11 #16 SMP PREEMPT Wed Aug 13 04:39:13 CEST  
>> 2008 i686 GNU/Linux
>
> And GNU make:
>> GNU Make 3.81
>> This program built for i486-pc-linux-gnu
>
> Any idea what went wrong? Tried gcc-3.4, 4.1 etc., too.
> Saw that someone had the same problem on a Mac.
>
>
> Best wishes,
>
> Philipp :-)
>

I originally noted this problem and a solution back in June:

http://mailman.trailing-edge.com/pipermail/simh/2008-June/001936.html

Other people will no doubt come across this as they move to newer  
versions
of gcc.

Best Wishes,
Greg


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20080918/d6851e01/attachment-0003.html>


More information about the Simh mailing list