H316                  PDP18B                 sim_console.h  sim_timer.h
HP2100                PDP8                   sim_defs.h     sim_tmxr.c

GCL@who8 /usr/src/simh
$ ls
0readme_35.txt         Interdata              descrip.mms    sim_sock.h
0readme_ethernet.txt   LGP                    makefile       sim_tape.c
ALTAIR                 NOVA                   scp.c          sim_tape.h
AltairZ80              PDP1                   scp.h          sim_timer.c
GNUmakefile            PDP10                  sim_console.c  sim_timer.h
GNUmakefile_variables  PDP11                  sim_console.h  sim_tmxr.c
GRI                    PDP18B                 sim_defs.h     sim_tmxr.h
H316                   PDP8                   sim_ether.c    simh_doc.txt
HP2100                 S3                     sim_ether.h    simh_faq.txt
I1401                  SDS                    sim_fio.c      simh_swre.txt
I1620                  VAX                    sim_fio.h
I7094                  build_mingw.bat        sim_rev.h
Ibm1130                build_mingw_ether.bat  sim_sock.c

GCL@who8 /usr/src/simh
$ mkdir BIN

GCL@who8 /usr/src/simh
$ make -f GNUmakefile
mkdir object
gcc -o object/scp.obj -c scp.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-cygwin -MMD -
I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_console.obj -c sim_console.c -std=c99 -U__STRICT_ANSI__ -O0 -m
no-cygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_ether.obj -c sim_ether.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-c
ygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
make: *** [object/sim_ether.obj] Interrupt


GCL@who8 /usr/src/simh
$ make -f GNUmakefile
gcc -o object/sim_ether.obj -c sim_ether.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-c
ygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
sim_ether.c:559:18: pcap.h: No such file or directory
sim_ether.c: In function `eth_open':
sim_ether.c:635: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this functio
n)
sim_ether.c:635: error: (Each undeclared identifier is reported only once
sim_ether.c:635: error: for each function it appears in.)
sim_ether.c:664: warning: implicit declaration of function `pcap_open_live'
sim_ether.c: In function `eth_close':
sim_ether.c:720: error: `pcap_t' undeclared (first use in this function)
sim_ether.c:720: error: `pcap' undeclared (first use in this function)
sim_ether.c:726: error: parse error before ')' token
sim_ether.c:728: warning: implicit declaration of function `pcap_close'
sim_ether.c: In function `eth_write':
sim_ether.c:806: warning: implicit declaration of function `pcap_sendpacket'
sim_ether.c:806: error: `pcap_t' undeclared (first use in this function)
sim_ether.c:806: error: parse error before ')' token
sim_ether.c: At top level:
sim_ether.c:821: warning: "struct pcap_pkthdr" declared inside parameter list
sim_ether.c:821: warning: its scope is only this definition or declaration, whic
h is probably not what you want
sim_ether.c: In function `eth_callback':
sim_ether.c:878: error: dereferencing pointer to incomplete type
sim_ether.c:879: error: dereferencing pointer to incomplete type
sim_ether.c: In function `eth_read':
sim_ether.c:910: warning: implicit declaration of function `pcap_dispatch'
sim_ether.c:910: error: `pcap_t' undeclared (first use in this function)
sim_ether.c:910: error: parse error before ')' token
sim_ether.c: In function `eth_filter':
sim_ether.c:935: error: `bpf_u_int32' undeclared (first use in this function)
sim_ether.c:935: error: parse error before "bpf_subnet"
sim_ether.c:937: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this functio
n)
sim_ether.c:942: error: storage size of 'bpf' isn't known
sim_ether.c:1046: warning: implicit declaration of function `pcap_lookupnet'
sim_ether.c:1046: error: `bpf_subnet' undeclared (first use in this function)
sim_ether.c:1046: error: `bpf_netmask' undeclared (first use in this function)
sim_ether.c:1052: warning: implicit declaration of function `pcap_compile'
sim_ether.c:1053: warning: implicit declaration of function `pcap_geterr'
sim_ether.c:1063: warning: implicit declaration of function `pcap_setfilter'
sim_ether.c:1074: warning: implicit declaration of function `pcap_freecode'
sim_ether.c: In function `eth_host_devices':
sim_ether.c:1102: error: `pcap_t' undeclared (first use in this function)
sim_ether.c:1102: error: `conn' undeclared (first use in this function)
sim_ether.c:1104: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this functi
on)
sim_ether.c:1109: warning: implicit declaration of function `pcap_datalink'
sim_ether.c:1110: error: `DLT_EN10MB' undeclared (first use in this function)
sim_ether.c: In function `eth_devices':
sim_ether.c:1158: error: `pcap_if_t' undeclared (first use in this function)
sim_ether.c:1158: error: `alldevs' undeclared (first use in this function)
sim_ether.c:1159: error: `dev' undeclared (first use in this function)
sim_ether.c:1161: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this functi
on)
sim_ether.c:1165: warning: implicit declaration of function `pcap_findalldevs'
sim_ether.c:1172: error: `PCAP_IF_LOOPBACK' undeclared (first use in this functi
on)
sim_ether.c:1183: warning: implicit declaration of function `pcap_freealldevs'
make: [object/sim_ether.obj] Error 1 (ignored)
gcc -o object/sim_fio.obj -c sim_fio.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-cygwi
n -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_sock.obj -c sim_sock.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-cyg
win -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_tape.obj -c sim_tape.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-cyg
win -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_timer.obj -c sim_timer.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-c
ygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_tmxr.obj -c sim_tmxr.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-cyg
win -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/altair_cpu.obj -c ALTAIR/altair_cpu.c -std=c99 -U__STRICT_ANSI__ -
O0 -mno-cygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/altair_dsk.obj -c ALTAIR/altair_dsk.c -std=c99 -U__STRICT_ANSI__ -
O0 -mno-cygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/altair_sio.obj -c ALTAIR/altair_sio.c -std=c99 -U__STRICT_ANSI__ -
O0 -mno-cygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/altair_sys.obj -c ALTAIR/altair_sys.c -std=c99 -U__STRICT_ANSI__ -
O0 -mno-cygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o bin/altair.exe object/scp.obj object/sim_console.obj object/sim_ether.obj
 object/sim_fio.obj object/sim_sock.obj object/sim_tape.obj object/sim_timer.obj
 object/sim_tmxr.obj object/altair_cpu.obj object/altair_dsk.obj object/altair_s
io.obj object/altair_sys.obj -lm -lwsock32 -mno-cygwin -Lwpdpack/lib -lwpcap -lp
acket
gcc: object/sim_ether.obj: No such file or directory
make: *** [bin/altair.exe] Error 1

GCL@who8 /usr/src/simh
$ script sim.txt
bash: script: command not found

GCL@who8 /usr/src/simh
$ ls
0readme_35.txt         Ibm1130          build_mingw_ether.bat  sim_rev.h
0readme_ethernet.txt   Interdata        descrip.mms            sim_sock.c
ALTAIR                 LGP              makefile               sim_sock.h
AltairZ80              NOVA             object                 sim_tape.c
BIN                    PDP1             scp.c                  sim_tape.h
GNUmakefile            PDP10            scp.h                  sim_timer.c
GNUmakefile_variables  PDP11            sim_console.c          sim_timer.h
GRI                    PDP18B           sim_console.h          sim_tmxr.c
H316                   PDP8             sim_defs.h             sim_tmxr.h
HP2100                 S3               sim_ether.c            simh_doc.txt
I1401                  SDS              sim_ether.h            simh_faq.txt
I1620                  VAX              sim_fio.c              simh_swre.txt
I7094                  build_mingw.bat  sim_fio.h

GCL@who8 /usr/src/simh
$ cd BIN

GCL@who8 /usr/src/simh/BIN
$ ls

GCL@who8 /usr/src/simh/BIN
$ cd ..

GCL@who8 /usr/src/simh
$ mkdir object
mkdir: cannot create directory `object': File exists

GCL@who8 /usr/src/simh
$ cd object

GCL@who8 /usr/src/simh/object
$ ls
altair_cpu.d    altair_sio.obj  sim_console.d    sim_sock.d    sim_timer.obj
altair_cpu.obj  altair_sys.d    sim_console.obj  sim_sock.obj  sim_tmxr.d
altair_dsk.d    altair_sys.obj  sim_ether.d      sim_tape.d    sim_tmxr.obj
altair_dsk.obj  scp.d           sim_fio.d        sim_tape.obj
altair_sio.d    scp.obj         sim_fio.obj      sim_timer.d

GCL@who8 /usr/src/simh/object
$ cd ..

GCL@who8 /usr/src/simh
$ ls
0readme_35.txt         Ibm1130          build_mingw_ether.bat  sim_rev.h
0readme_ethernet.txt   Interdata        descrip.mms            sim_sock.c
ALTAIR                 LGP              makefile               sim_sock.h
AltairZ80              NOVA             object                 sim_tape.c
BIN                    PDP1             scp.c                  sim_tape.h
GNUmakefile            PDP10            scp.h                  sim_timer.c
GNUmakefile_variables  PDP11            sim_console.c          sim_timer.h
GRI                    PDP18B           sim_console.h          sim_tmxr.c
H316                   PDP8             sim_defs.h             sim_tmxr.h
HP2100                 S3               sim_ether.c            simh_doc.txt
I1401                  SDS              sim_ether.h            simh_faq.txt
I1620                  VAX              sim_fio.c              simh_swre.txt
I7094                  build_mingw.bat  sim_fio.h

GCL@who8 /usr/src/simh
$ make clean
rm -f -r object

GCL@who8 /usr/src/simh
$ ls
0readme_35.txt         Ibm1130          build_mingw_ether.bat  sim_sock.c
0readme_ethernet.txt   Interdata        descrip.mms            sim_sock.h
ALTAIR                 LGP              makefile               sim_tape.c
AltairZ80              NOVA             scp.c                  sim_tape.h
BIN                    PDP1             scp.h                  sim_timer.c
GNUmakefile            PDP10            sim_console.c          sim_timer.h
GNUmakefile_variables  PDP11            sim_console.h          sim_tmxr.c
GRI                    PDP18B           sim_defs.h             sim_tmxr.h
H316                   PDP8             sim_ether.c            simh_doc.txt
HP2100                 S3               sim_ether.h            simh_faq.txt
I1401                  SDS              sim_fio.c              simh_swre.txt
I1620                  VAX              sim_fio.h
I7094                  build_mingw.bat  sim_rev.h

GCL@who8 /usr/src/simh
$ make -f GNUmakefile
mkdir object
gcc -o object/scp.obj -c scp.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-cygwin -MMD -
I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_console.obj -c sim_console.c -std=c99 -U__STRICT_ANSI__ -O0 -m
no-cygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_ether.obj -c sim_ether.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-c
ygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
sim_ether.c:559:18: pcap.h: No such file or directory
sim_ether.c: In function `eth_open':
sim_ether.c:635: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this functio
n)
sim_ether.c:635: error: (Each undeclared identifier is reported only once
sim_ether.c:635: error: for each function it appears in.)
sim_ether.c:664: warning: implicit declaration of function `pcap_open_live'
sim_ether.c: In function `eth_close':
sim_ether.c:720: error: `pcap_t' undeclared (first use in this function)
sim_ether.c:720: error: `pcap' undeclared (first use in this function)
sim_ether.c:726: error: parse error before ')' token
sim_ether.c:728: warning: implicit declaration of function `pcap_close'
sim_ether.c: In function `eth_write':
sim_ether.c:806: warning: implicit declaration of function `pcap_sendpacket'
sim_ether.c:806: error: `pcap_t' undeclared (first use in this function)
sim_ether.c:806: error: parse error before ')' token
sim_ether.c: At top level:
sim_ether.c:821: warning: "struct pcap_pkthdr" declared inside parameter list
sim_ether.c:821: warning: its scope is only this definition or declaration, whic
h is probably not what you want
sim_ether.c: In function `eth_callback':
sim_ether.c:878: error: dereferencing pointer to incomplete type
sim_ether.c:879: error: dereferencing pointer to incomplete type
sim_ether.c: In function `eth_read':
sim_ether.c:910: warning: implicit declaration of function `pcap_dispatch'
sim_ether.c:910: error: `pcap_t' undeclared (first use in this function)
sim_ether.c:910: error: parse error before ')' token
sim_ether.c: In function `eth_filter':
sim_ether.c:935: error: `bpf_u_int32' undeclared (first use in this function)
sim_ether.c:935: error: parse error before "bpf_subnet"
sim_ether.c:937: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this functio
n)
sim_ether.c:942: error: storage size of 'bpf' isn't known
sim_ether.c:1046: warning: implicit declaration of function `pcap_lookupnet'
sim_ether.c:1046: error: `bpf_subnet' undeclared (first use in this function)
sim_ether.c:1046: error: `bpf_netmask' undeclared (first use in this function)
sim_ether.c:1052: warning: implicit declaration of function `pcap_compile'
sim_ether.c:1053: warning: implicit declaration of function `pcap_geterr'
sim_ether.c:1063: warning: implicit declaration of function `pcap_setfilter'
sim_ether.c:1074: warning: implicit declaration of function `pcap_freecode'
sim_ether.c: In function `eth_host_devices':
sim_ether.c:1102: error: `pcap_t' undeclared (first use in this function)
sim_ether.c:1102: error: `conn' undeclared (first use in this function)
sim_ether.c:1104: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this functi
on)
sim_ether.c:1109: warning: implicit declaration of function `pcap_datalink'
sim_ether.c:1110: error: `DLT_EN10MB' undeclared (first use in this function)
sim_ether.c: In function `eth_devices':
sim_ether.c:1158: error: `pcap_if_t' undeclared (first use in this function)
sim_ether.c:1158: error: `alldevs' undeclared (first use in this function)
sim_ether.c:1159: error: `dev' undeclared (first use in this function)
sim_ether.c:1161: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this functi
on)
sim_ether.c:1165: warning: implicit declaration of function `pcap_findalldevs'
sim_ether.c:1172: error: `PCAP_IF_LOOPBACK' undeclared (first use in this functi
on)
sim_ether.c:1183: warning: implicit declaration of function `pcap_freealldevs'
make: [object/sim_ether.obj] Error 1 (ignored)
gcc -o object/sim_fio.obj -c sim_fio.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-cygwi
n -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_sock.obj -c sim_sock.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-cyg
win -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_tape.obj -c sim_tape.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-cyg
win -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_timer.obj -c sim_timer.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-c
ygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/sim_tmxr.obj -c sim_tmxr.c -std=c99 -U__STRICT_ANSI__ -O0 -mno-cyg
win -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/altair_cpu.obj -c ALTAIR/altair_cpu.c -std=c99 -U__STRICT_ANSI__ -
O0 -mno-cygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/altair_dsk.obj -c ALTAIR/altair_dsk.c -std=c99 -U__STRICT_ANSI__ -
O0 -mno-cygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/altair_sio.obj -c ALTAIR/altair_sio.c -std=c99 -U__STRICT_ANSI__ -
O0 -mno-cygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o object/altair_sys.obj -c ALTAIR/altair_sys.c -std=c99 -U__STRICT_ANSI__ -
O0 -mno-cygwin -MMD -I. -DUSE_NETWORK -isystem wpdpack/include
gcc -o bin/altair.exe object/scp.obj object/sim_console.obj object/sim_ether.obj
 object/sim_fio.obj object/sim_sock.obj object/sim_tape.obj object/sim_timer.obj
 object/sim_tmxr.obj object/altair_cpu.obj object/altair_dsk.obj object/altair_s
io.obj object/altair_sys.obj -lm -lwsock32 -mno-cygwin -Lwpdpack/lib -lwpcap -lp
acket
gcc: object/sim_ether.obj: No such file or directory
make: *** [bin/altair.exe] Error 1

GCL@who8 /usr/src/simh
$