[Monetdb-developers] MonetDB5 compilation in windows...

Sjoerd Mullender sjoerd at acm.org
Mon Feb 26 18:45:33 CET 2007


On 02/26/2007 05:48 PM, Romulo Goncalves wrote:
> During the compilation of MonetDB5 in windows I got the error:
> 
>         cl -GF -W3 -wd4273 -wd4102 -MD -nologo -Zi -Ox -I. -I.\..\.. 
> "-IC:\Pthreads\include" -I.\..\..\..\src\tools "-I..\mal"
>   -I.\..\..\..\..\clients\NT\include 
> -I.\..\..\..\..\clients\NT\include\MonetDB\mapilib 
> "-IC:\cygwin\home\goncalve\MonetDB\Mone
> tDB_SQL\MonetDB\NT\include" 
> "-IC:\cygwin\home\goncalve\MonetDB\MonetDB_SQL\MonetDB\NT\include\common" 
> "-IC:\cygwin\home\goncal
> ve\MonetDB\MonetDB_SQL\MonetDB\NT\include\gdk" 
> "-IC:\cygwin\home\goncalve\MonetDB\MonetDB_SQL\MonetDB\NT\include\monet" 
> "-IC:\
> cygwin\home\goncalve\MonetDB\MonetDB_SQL\MonetDB\NT\include\plain" 
> "-IC:\cygwin\home\goncalve\MonetDB\MonetDB_SQL\MonetDB\NT\i
> nclude\mapi"  -I.\..\..\..\src\tools "-I..\mal" 
> -I.\..\..\..\..\clients\NT\include 
> -I.\..\..\..\..\clients\NT\include\MonetDB\
> mapilib 
> "-IC:\cygwin\home\goncalve\MonetDB\MonetDB_SQL\MonetDB\NT\include" 
> "-IC:\cygwin\home\goncalve\MonetDB\MonetDB_SQL\Mone
> tDB\NT\include\common" 
> "-IC:\cygwin\home\goncalve\MonetDB\MonetDB_SQL\MonetDB\NT\include\gdk" 
> "-IC:\cygwin\home\goncalve\Monet
> DB\MonetDB_SQL\MonetDB\NT\include\monet" 
> "-IC:\cygwin\home\goncalve\MonetDB\MonetDB_SQL\MonetDB\NT\include\plain" 
> "-IC:\cygwin
> \home\goncalve\MonetDB\MonetDB_SQL\MonetDB\NT\include\mapi" -c mserver5.c
> mserver5.c
> mserver5.mx(161) : error C2146: syntax error : missing ')' before 
> identifier 'VERSION'
> mserver5.mx(161) : error C2144: syntax error : '<Unknown>' should be 
> preceded by '<Unknown>'
> mserver5.mx(161) : error C2144: syntax error : '<Unknown>' should be 
> preceded by '<Unknown>'
> mserver5.mx(161) : error C2143: syntax error : missing ')' before 
> 'identifier'
> mserver5.mx(161) : error C2059: syntax error : ')'
> mserver5.mx(179) : error C2065: 'VERSION' : undeclared identifier
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
> 
> I tried to correct it, but I cannot find it. I checked the last commits 
> to the files mserver.mx and I do not find any syntax error.
> 
> Any idea?
> 
> Regards,
> Romulo
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Monetdb-developers mailing list
> Monetdb-developers at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-developers

The problem is, the token VERSION needs to be defined.  Apparently it
isn't.  I just checked in an untested patch in the stable branch that
will hopefully work.  You'll have to wait until I propagate the change
to the development branch.  In the mean time you can patch your source
in the same way (note especially the changes to the various rules.msc
files).

-- 
Sjoerd Mullender




More information about the developers-list mailing list