[Simh] Build under Visual C++ 8.

Jason Stevens neozeed at gmail.com
Tue Feb 5 16:36:11 EST 2008


Well the WSA stuff is winsock, and you need those for the console...

>From my project I link in the following:


winmm.lib
wsock32.lib

I did setup my project to build the sim libraries as libraries so I didn't
have to constantly recompile them over & over.. So I have simlib32/simlib64
& flavors with the winpcap stuff built in...

On Feb 5, 2008 4:25 PM, Bill Beech (NJ7P) <nj7p at nj7p.org> wrote:

> That removed one error and added several.  Without ethernet, I suspect I
> don't need sim_sock?  I know I need sim_timer.
>
> Again, I must be missing a library that the linker needs:
>
> 1>Linking...
> 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__htonl at 4 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: 22 unresolved externals
> 1>Build log was saved at "file://c:\Documents and
> Settings\nj7p.DOGPATCH\My Documents\driveC\Software\Visual
> 8\Emulators\SIMH-3.7.3\PDP8\Debug\BuildLog.htm"
> 1>pdp8 - 23 error(s), 58 warning(s)
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.trailing-edge.com/pipermail/simh/attachments/20080205/d6c4b005/attachment-0003.html>


More information about the Simh mailing list