[Simh] Build under Visual C++ 8.

Hittner, David T. david.hittner at ngc.com
Tue Feb 5 16:13:47 EST 2008


You shouldn't be compiling sim_ether.c - ethernet is not supported on
PDP-8.

Recheck the pdp-8 module list in the makefile again, and fix the modules
being compiled. 

> -----Original Message-----
> From: simh-bounces at trailing-edge.com 
> [mailto:simh-bounces at trailing-edge.com] On Behalf Of Bill Beech (NJ7P)
> Sent: Tuesday, February 05, 2008 4:04 PM
> Cc: simh at trailing-edge.com
> Subject: [Simh] Build under Visual C++ 8.
> 
> I am attempting to build the pdp8 emulator under Visual 8.  I 
> used the code conversion wizard to build the project, and it 
> all compiles, but I must be missing a library as I get the 
> following errors in the link:
> 
> 1>sim_ether.obj : error LNK2019: unresolved external symbol
> __imp__htonl at 4 referenced in function _eth_add_crc32
> 1>sim_sock.obj : error LNK2001: unresolved external symbol 
> 1>__imp__htonl at 4 sim_ether.obj : error LNK2019: unresolved external 
> 1>symbol
> __imp__ntohs at 4 referenced in function _eth_packet_trace_ex
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__WSAGetLastError at 0 referenced in function _sim_err_sock
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__socket at 12 referenced in function _sim_create_sock
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__WSAStartup at 8 referenced in function _sim_create_sock
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__listen at 8 referenced in function _sim_master_sock
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__bind at 12 referenced in function _sim_master_sock
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__htons at 4 referenced in function _sim_master_sock
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__connect at 12 referenced in function _sim_connect_sock
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__ntohl at 4 referenced in function _sim_accept_conn
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__accept at 12 referenced in function _sim_accept_conn
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> ___WSAFDIsSet at 8 referenced in function _sim_check_conn
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__select at 20 referenced in function _sim_check_conn
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__recv at 16 referenced in function _sim_read_sock
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__send at 16 referenced in function _sim_write_sock
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__WSACleanup at 0 referenced in function _sim_close_sock
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__closesocket at 4 referenced in function _sim_close_sock
> 1>sim_sock.obj : error LNK2019: unresolved external symbol
> __imp__ioctlsocket at 12 referenced in function _sim_setnonblock
> 1>sim_timer.obj : error LNK2019: unresolved external symbol
> __imp__timeGetTime at 0 referenced in function _sim_os_msec
> 1>sim_timer.obj : error LNK2019: unresolved external symbol
> __imp__timeEndPeriod at 4 referenced in function _sim_timer_exit
> 1>sim_timer.obj : error LNK2019: unresolved external symbol
> __imp__timeBeginPeriod at 4 referenced in function _sim_os_ms_sleep_init
> 1>sim_timer.obj : error LNK2019: unresolved external symbol
> __imp__timeGetDevCaps at 8 referenced in function _sim_os_ms_sleep_init
> 1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol
> _WinMain at 16 referenced in function ___tmainCRTStartup
> 1>Debug\pdp8.exe : fatal error LNK1120: 23 unresolved externals
> 
> Thanks!
> 
> Bill
> 
> 
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
> 



More information about the Simh mailing list