[tkined] Porting Scotty sources to NT

Mary-Rose McBrien (mary-rose.mcbrien@harco.co.uk)
Mon, 21 Jun 1999 11:24:39 +0100

I have done all the steps in the README file in the scotty/win
directory, but am getting compile errors as follows when I try to
use Visual C++ 5.0 to build Scotty2.1.10:

....
e:\progra~1\DevStudio\VC\bin\cl -Ie:\progra~1\DevStudio\VC\include -Ox -c
-W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT
-D_WIN32_WINNT=0x0400 -DWINVER=0x0400 -DWIN32 -D_WIN32 -D_MT -D_DLL -MD -I
.\..\tnm\generic -I.\..\tnm\snmp -I.\..\compat -I.\..\compat\res
-I.\..\tkined\generic -Ie:\progra~1\DevStudio\VC\include
-Ie:\progra~1\tcl\include -nologo -Di386 -Fo.\ .\..\tnm\generic\tnmDns.c
tnmDns.c
e:\progra~1\DevStudio\VC\include\winsock.h(49) : error C2011: 'fd_set' :
'struct' type redefinition
e:\progra~1\DevStudio\VC\include\winsock.h(83) : warning C4005: 'FD_SET' :
macro redefinition
e:\progra~1\DevStudio\VC\include\winsock.h(92) : error C2011: 'timeval' :
'struct' type redefinition
e:\progra~1\DevStudio\VC\include\winsock.h(148) : error C2011: 'hostent' :
'struct' type redefinition
e:\progra~1\DevStudio\VC\include\winsock.h(161) : error C2011: 'netent' :
'struct' type redefinition
etc.

Can anyone help? I have no idea where fd_set etc. would have been defined
first.

Thanks in anticipation!

Mary-Rose

====================================================================
Mary-Rose McBrien
Computer Services
home tel: +44 (0) 1232 694176
work tel: +44 (0) 1232 332132
email:<mailto:mary-rose.mcbrien@harco.co.uk>
web site: <http://www.harco.co.uk>
====================================================================

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.