The latest version of Maurizio works pretty well, you might need to use the
Redistributable package VC++ 2008 instead of the 2005.

http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en

-Enrique

On Mon, Apr 28, 2008 at 2:17 PM, Titi Alailima <[EMAIL PROTECTED]> wrote:

> I had similar issues when I used Visual Studio 2005.  When I used the
> redistributable package that Maurizio links to, it worked.  But for the 2005
> version I had to go into one of the header (".h") files, I forget which, and
> comment out the macro redefinitions.  Anyone know how to recode it so that
> it knows which version of Visual Studio it's using and includes the macro
> definitions appropriately.
>
> Titi Ala'ilima
> Lead Architect
> MedTouch LLC
> 1100 Massachusetts Avenue
> Cambridge, MA 02138
> 617.621.8670 x309
>
> > -----Original Message-----
> > From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On
> > Behalf Of Shedis
> > Sent: Saturday, April 26, 2008 12:09 AM
> > To: AOLSERVER@LISTSERV.AOL.COM
> > Subject: [AOLSERVER] Compiling 4.5 on Win32 using Visual Studio Express
> > Edition 2008
> >
> > Hello,
> >
> > TCL: 8.5.2
> > AOLserver: aolserver-HEAD-20071203
> >
> > This is one of my many attempts to but in the past 6 months i have
> > never managed to compile. Once successful, i wanted to write up the
> > process for other like me out there. But it never happend. Except for
> > one case where with lots of back and forth emails from Dossy help me
> > to compile on suse 10.1. But it was a lot of test and trial and i lost
> > track of how i actually started. But i have to admit that once nsd was
> > started it just works.
> >
> > Guys why not try to document the compilation process and try to align
> > it with 'it just compiles' notion. is it too far fetched. For example
> > a clear instructions for:
> >
> > a. compiling on suse 10.1
> > b. compiling on suse 10.2
> > c. compiling on win32 2003 sp1, with vs express edition 2008
> > etc....
> >
> > I'm trying to compile 4.5 using visual studio express edition 2008 but
> > keep getting the following error. Does any one know how to fix this?
> >
> >
> > Steps i'm using to compile:
> >
> > 1. "C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools
> > \vsvars32.bat"
> >
> > 2. nmake -f makefile.vc INSTALLDIR=c:\aolserver OPTS=threads,thrdalloc
> >
> > 3. nmake -f makefile.vc INSTALLDIR=c:\aolserver OPTS=threads,thrdalloc
> > install
> >
> > 4. c:\aolserver\bin\tclsh85t.exe nsconfig.tcl
> >
> > Configuring include/ns.mak with variables:
> >          AOLSERVER=c:\aolserver
> >          DEBUG=0
> >          TCLSH=c:\aolserver\bin\tclsh85t.exe
> >          TCLINC=c:\aolserver\include
> >          TCLLIB=c:\aolserver\lib\tcl85t.lib
> >
> > 5. nmake install
> >
> > make install: nsd
> >
> > Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
> > Copyright (C) Microsoft Corporation.  All rights reserved.
> >
> >          c:\aolserver\bin\tclsh85t.exe C:\source\aolserver-
> > HEAD-20071203\util\nsi
> > nstall.tcl -d "c:\aolserver\bin" init.tcl
> > installed: C:/aolserver/bin/init.tcl
> >          cl /EHsc /W3 /nologo /c /MD /O2  /D "_WINDOWS" /D
> > "TCL_THREADS=1" /D "WI
> > N32"  /D "FD_SETSIZE=128" /D "NO_CONST=1" /D "_MBCS" /D "NDEBUG" /I "C:
> > \source\a
> > olserver-HEAD-20071203\include" /I "c:\aolserver\include" /c /
> > Foadpcmds.o adpcmd
> > s.c
> > adpcmds.c
> > c:\source\aolserver-head-20071203\nsd\nsd.h(71) : warning C4005:
> > 'POLLIN' : macr
> > o redefinition
> >          C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
> > \winsock2.h(1495) :
> >   see previous definition of 'POLLIN'
> > c:\source\aolserver-head-20071203\nsd\nsd.h(72) : warning C4005:
> > 'POLLOUT' : mac
> > ro redefinition
> >          C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
> > \winsock2.h(1499) :
> >   see previous definition of 'POLLOUT'
> > c:\source\aolserver-head-20071203\nsd\nsd.h(73) : warning C4005:
> > 'POLLPRI' : mac
> > ro redefinition
> >          C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
> > \winsock2.h(1496) :
> >   see previous definition of 'POLLPRI'
> > c:\source\aolserver-head-20071203\nsd\nsd.h(74) : warning C4005:
> > 'POLLHUP' : mac
> > ro redefinition
> >          C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
> > \winsock2.h(1503) :
> >   see previous definition of 'POLLHUP'
> > c:\source\aolserver-head-20071203\nsd\nsd.h(75) : error C2011:
> > 'pollfd' : 'struc
> > t' type redefinition
> >          C:\Program Files\Microsoft SDKs\Windows\v6.0A\include
> > \winsock2.h(1506) :
> >   see declaration of 'pollfd'
> > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> > 9.0\VC\BIN
> > \cl.EXE"' : return code '0x2'
> > Stop.
> > NMAKE : fatal error U1077: 'c:\aolserver\bin\tclsh85t.exe' : return
> > code '0x1'
> > Stop.
> >
> > Thanks in advance.
> >
> >
> > --
> > AOLserver - http://www.aolserver.com/
> >
> > To Remove yourself from this list, simply send an email to
> > <[EMAIL PROTECTED]> with the
> > body of "SIGNOFF AOLSERVER" in the email message. You can leave the
> > Subject: field of your email blank.
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to <
> [EMAIL PROTECTED]> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the
> Subject: field of your email blank.
>


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to