You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mark Phippard <ma...@gmail.com> on 2010/07/05 16:13:13 UTC

Problem building Serf on Windows

I am setting up a new Windows build machine.  I am building our 1.6.12
release and deps zip.  I get a problem when it goes to build Serf.

	
Performing Makefile project actions
context.c
context.c(585) : error C2036: 'void *' : unknown size
context.c(1410) : warning C4090: '=' : different 'const' qualifiers
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
9.0\VC\bin\cl.exe"' : return code '0x2'
Stop.
Project : error PRJ0019: A tool returned an error code from
"Performing Makefile project actions"

Any ideas?  I am using OpenSSL 1.0.0a.  That is all I can think of
that is kind of different from what I normally have done.  Everything
else, including httpd, has built fine.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

Re: Problem building Serf on Windows

Posted by Mark Phippard <ma...@gmail.com>.
On Mon, Jul 5, 2010 at 12:24 PM, Bolstridge, Andrew
<an...@intergraph.com> wrote:

>> I am setting up a new Windows build machine.  I am building our 1.6.12
>> release and deps zip.  I get a problem when it goes to build Serf.
>>
>>
>> Performing Makefile project actions
>> context.c
>> context.c(585) : error C2036: 'void *' : unknown size
>> context.c(1410) : warning C4090: '=' : different 'const' qualifiers
>> NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
>> 9.0\VC\bin\cl.exe"' : return code '0x2'
>> Stop.
>> Project : error PRJ0019: A tool returned an error code from
>> "Performing Makefile project actions"
>>
>> Any ideas?
>
>
> Cast it to a char* or a BYTE*.
> http://msdn.microsoft.com/en-us/library/1kay26wa%28VS.80%29.aspx
>
> some compilers assume a 'void' type is a char/byte type and treat it
> accordingly. MS compiler doesn't do that, it (possibly correctly) treats
> a void as a 'non type' without a size. The workaround is to explicitly
> tell it what size to use.

Well, I built this fine when I signed the 1.6.12 release using the
same source code.  So it has to be something else.  I even was using
the same compiler.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

RE: Problem building Serf on Windows

Posted by "Bolstridge, Andrew" <an...@intergraph.com>.
> -----Original Message-----
> From: Mark Phippard [mailto:markphip@gmail.com]
> Sent: Monday, July 05, 2010 5:13 PM
> To: Subversion Development
> Subject: Problem building Serf on Windows
> 
> I am setting up a new Windows build machine.  I am building our 1.6.12
> release and deps zip.  I get a problem when it goes to build Serf.
> 
> 
> Performing Makefile project actions
> context.c
> context.c(585) : error C2036: 'void *' : unknown size
> context.c(1410) : warning C4090: '=' : different 'const' qualifiers
> NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
> 9.0\VC\bin\cl.exe"' : return code '0x2'
> Stop.
> Project : error PRJ0019: A tool returned an error code from
> "Performing Makefile project actions"
> 
> Any ideas?  


Cast it to a char* or a BYTE*.
http://msdn.microsoft.com/en-us/library/1kay26wa%28VS.80%29.aspx

some compilers assume a 'void' type is a char/byte type and treat it
accordingly. MS compiler doesn't do that, it (possibly correctly) treats
a void as a 'non type' without a size. The workaround is to explicitly
tell it what size to use.

Re: Problem building Serf on Windows

Posted by Lieven Govaerts <sv...@mobsol.be>.
On Mon, Jul 5, 2010 at 7:04 PM, Mark Phippard <ma...@gmail.com> wrote:

> I have switched Serf from the 0.3.0 included in deps to the latest
> 0.6.1 release and it is building OK.
>
> Weird.
>
>
>
> On Mon, Jul 5, 2010 at 12:13 PM, Mark Phippard <ma...@gmail.com> wrote:
> > I am setting up a new Windows build machine.  I am building our 1.6.12
> > release and deps zip.  I get a problem when it goes to build Serf.
> >
> >
> > Performing Makefile project actions
> > context.c
> > context.c(585) : error C2036: 'void *' : unknown size
>


This was issue http://code.google.com/p/serf/issues/detail?id=57, which was
indeed fixed in trunk and fixed in 0.6.1 on Windows (but not on Mac).

Not sure what triggers the issue though.

Lieven

Re: Problem building Serf on Windows

Posted by Mark Phippard <ma...@gmail.com>.
I have switched Serf from the 0.3.0 included in deps to the latest
0.6.1 release and it is building OK.

Weird.



On Mon, Jul 5, 2010 at 12:13 PM, Mark Phippard <ma...@gmail.com> wrote:
> I am setting up a new Windows build machine.  I am building our 1.6.12
> release and deps zip.  I get a problem when it goes to build Serf.
>
>
> Performing Makefile project actions
> context.c
> context.c(585) : error C2036: 'void *' : unknown size
> context.c(1410) : warning C4090: '=' : different 'const' qualifiers
> NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio
> 9.0\VC\bin\cl.exe"' : return code '0x2'
> Stop.
> Project : error PRJ0019: A tool returned an error code from
> "Performing Makefile project actions"
>
> Any ideas?  I am using OpenSSL 1.0.0a.  That is all I can think of
> that is kind of different from what I normally have done.  Everything
> else, including httpd, has built fine.
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>



-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/