[Simh] simh with ethernet on solaris 8

Mark Pizzolato mark at infocomm.com
Fri Jan 9 17:23:40 EST 2004


It works under solaris.  However, you need to install
a recent version of libpcap.  The following recipie
worked for me:

mkdir {someworkingdirectory}
cd {someworkingdirectory)
wget
http://www.tcpdump.org/release/libpcap-0.7.2.tar-gz
gzip -dc libpcap-0.7.2.tar.gz | tar xzf -
cd libpcap-0.7.2
./configure
make
su root
make install

Note:  I did this before libpcap 0.8.1 was released,
but that should work as well.

Then try building simh as you previously did.

Good Luck.

- Mark Pizzolato


- Mark Pizzolato

--- hsnewman at austin.rr.com wrote:
> I realize that the documentation in simh_faq.txt
>  states that simh does not support ethernet under
> solaris.  This being so, I see otherwise stated in
> sim_ether.c:
>   03-Dec-03  MP   Added Solaris support
> 
> So which is it?
> 
> When I compile using the command line:
> 
> gmake USE_NETWORK=1 OSTYPE=solaris
> 
> I get the following messages:
> 
> gcc -O2 -g -lm -lsocket -lnsl -I /usr/local/include
> -L /usr/local/lib -I . -D_GNU_SOURCE
> PDP11/pdp11_fp.c PDP11/pdp11_cpu.c PDP11/pdp11_dz.c
> PDP11/pdp11_cis.c PDP11/pdp11_lp.c PDP11/pdp11_rk.c
> PDP11/pdp11_rl.c PDP11/pdp11_rp.c PDP11/pdp11_rx.c
> PDP11/pdp11_stddev.c PDP11/pdp11_sys.c
> PDP11/pdp11_tc.c PDP11/pdp11_tm.c PDP11/pdp11_ts.c
> PDP11/pdp11_io.c PDP11/pdp11_rq.c PDP11/pdp11_tq.c
> PDP11/pdp11_pclk.c PDP11/pdp11_ry.c PDP11/pdp11_pt.c
> PDP11/pdp11_hk.c PDP11/pdp11_xq.c PDP11/pdp11_xu.c
> scp.c scp_tty.c sim_sock.c sim_tmxr.c sim_ether.c
> sim_tape.c -DVM_PDP11 -I PDP11/ -DUSE_NETWORK -lpcap
> -o BIN/pdp11
> sim_ether.c: In function `eth_open':
> sim_ether.c:377: `BIOCSHDRCMPLT' undeclared (first
> use in this function)
> sim_ether.c:377: (Each undeclared identifier is
> reported only once
> sim_ether.c:377: for each function it appears in.)
> sim_ether.c: In function `eth_filter':
> sim_ether.c:676: warning: passing arg 1 of
> `pcap_freecode' from incompatible pointer type
> sim_ether.c:676: too few arguments to function
> `pcap_freecode'
> sim_ether.c: In function `eth_devices':
> sim_ether.c:713: `pcap_if_t' undeclared (first use
> in this function)
> sim_ether.c:713: `alldevs' undeclared (first use in
> this function)
> sim_ether.c:714: `dev' undeclared (first use in this
> function)
> sim_ether.c:715: parse error before `int'
> sim_ether.c:719: `errbuf' undeclared (first use in
> this function)
> sim_ether.c:725: `i' undeclared (first use in this
> function)
> sim_ether.c:726: `PCAP_IF_LOOPBACK' undeclared
> (first use in this function)
> gmake: *** [BIN/pdp11] Error 1
> $
> 
> Is there a way to get support for the pdp10 under
> solaris 8?
> Thanks,
> Harris
> 
> 
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
>
http://mailman.trailing-edge.com/mailman/listinfo/simh




More information about the Simh mailing list