On Thu, 23 Mar 2000, Gerald Richter wrote:
>
> cl -c -I. -IC:/Apache/src/include -IC:/Apache/src/regex
> -IC:/Apache/src/os/win32 -MD -DWIN32 -O -DVERSION=\"1.2.1\"
> -DXS_VERSION=\"1.2.1\" -IC:\perl\lib\CORE -DAPACHE -D_WINSOCK2API_
> Embperl.c
> Embperl.c
> c:\program files\devstudio\vc\include\mswsock.h(75) : error C2011:
> '_TRANSMIT_FILE_BUFFERS' : 'struct' type redefinition
> C:/Apache/src/include\../os/win32/os.h(109) : warning C4142: benign
> redefinition of type
> C:/Apache/src/include\../os/win32/os.h(110) : warning C4142: benign
> redefinition of type
> C:/Apache/src/include\../os/win32/os.h(165) : warning C4005: 'stat' : macro
> redefinition
> Embperl.c(1169) : error C2005: #line expected a line number, found 'string'
>
> ok, now do what you initial posted, go to Embperl.c line 1169 and insert a 1
> as line number, so it looks like
>
> #line 1 "Embperl.xs"
>
> Gerald
Hi,
For apache 1.3.12, in compiling mod_perl, I found that I had
to add /D "_MSWSOCK_" to the compile flags - this is related to the
'_TRANSMIT_FILE_BUFFERS' : 'struct' type redefinition
error above. This might help with the error here.
best regards,
randy kobes
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]