<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div>Hi Philipp,<div><br><div><div>On Sep 18, 2008, at 8:51 PM, Philipp Hachtmann wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi again,<br><br>while writing my Makefile, I came across a problem with the VAX build.<br>I immediately tried the original 3.8 archive and get the same effect.<br>MANY warnings and MANY linker errors:<br><br><blockquote type="cite">hachti@zombie:~/store3/minicomputer/simh/simhv38$ make BIN/vax<br></blockquote><blockquote type="cite">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<br></blockquote><blockquote type="cite">VAX/vaxmod_defs.h:457: warning: inline function 'WriteL' declared but never defined<br></blockquote><blockquote type="cite">VAX/vaxmod_defs.h:456: warning: inline function 'WriteW' declared but never defined<br></blockquote><blockquote type="cite">VAX/vaxmod_defs.h:455: warning: inline function 'WriteB' declared but never defined<br></blockquote><blockquote type="cite">VAX/vaxmod_defs.h:454: warning: inline function 'ReadLP' declared but never defined<br></blockquote><blockquote type="cite">VAX/vaxmod_defs.h:453: warning: inline function 'ReadL' declared but never defined<br></blockquote><blockquote type="cite">VAX/vaxmod_defs.h:452: warning: inline function 'ReadW' declared but never defined<br></blockquote><blockquote type="cite">VAX/vaxmod_defs.h:451: warning: inline function 'ReadB' declared but never defined<br></blockquote><blockquote type="cite">VAX/vaxmod_defs.h:457: warning: inline function 'WriteL' declared but never defined<br></blockquote><br>  ...<br><snip></div></blockquote><div><br></div><br><blockquote type="cite"><div><br>I am using the following gcc:<br><blockquote type="cite">sing built-in specs.<br></blockquote><blockquote type="cite">Target: i486-linux-gnu<br></blockquote><blockquote type="cite">Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.1-9' --with-bugurl=<a href="file:///usr/share/doc/gcc-4.3/README.Bugs">file:///usr/share/doc/gcc-4.3/README.Bugs</a> --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<br></blockquote><blockquote type="cite">Thread model: posix<br></blockquote><blockquote type="cite">gcc version 4.3.1 (Debian 4.3.1-9)<br></blockquote><br>On a Debian Linux box:<br><blockquote type="cite">Linux zombie 2.6.25.11 #16 SMP PREEMPT Wed Aug 13 04:39:13 CEST 2008 i686 GNU/Linux<br></blockquote><br>And GNU make:<br><blockquote type="cite">GNU Make 3.81<br></blockquote><blockquote type="cite">This program built for i486-pc-linux-gnu<br></blockquote><br>Any idea what went wrong? Tried gcc-3.4, 4.1 etc., too.<br>Saw that someone had the same problem on a Mac.<br><br><br>Best wishes,<br><br>Philipp :-)<br><br></div></blockquote></div><br></div><div>I originally noted this problem and a solution back in June:</div><div><br></div><div><span class="Apple-style-span" style="font-family: -webkit-monospace; "><a href="http://mailman.trailing-edge.com/pipermail/simh/2008-June/001936.html">http://mailman.trailing-edge.com/pipermail/simh/2008-June/001936.html</a><br></span></div><div><font class="Apple-style-span" face="-webkit-monospace"><br></font></div><div><font class="Apple-style-span" color="#000000">Other people will no doubt come across this as they move to newer versions</font></div><div><font class="Apple-style-span" color="#000000">of gcc.</font></div><div><font class="Apple-style-span" color="#000000"><br></font></div><div><font class="Apple-style-span" color="#000000">Best Wishes,</font></div><div><font class="Apple-style-span" color="#000000">Greg</font></div><div><br></div><div><font class="Apple-style-span" face="-webkit-monospace"><br></font></div></body></html>