------ Build started: Project: zlib, Configuration: Release Win32 ------
Performing Makefile project actions
nmake /f win32\Makefile.msc CFLAGS="/nologo /W3 /FD /GX /DWIN32 /D_WINDOWS /MD /O2 /Zi $(LOC)" STATICLIB=zlibstat.lib zlibstat.lib
Build log was saved at "file://c:\source\httpd\srclib\zlib\Release\BuildLog.htm"
zlib - 0 error(s), 0 warning(s)
------ Build started: Project: libsvn_subr_dll, Configuration: Release Win32 ------
.\libsvn_subr.def(96) : warning LNK4087: CONSTANT keyword is obsolete; use DATA
Creating library .\..\..\..\Release\subversion\libsvn_subr/libsvn_subr-1.lib and object .\..\..\..\Release\subversion\libsvn_subr/libsvn_subr-1.exp
zlibstat.lib(inflate.obj) : error LNK2019: unresolved external symbol _inflate_fast referenced in function _inflate
..\..\..\Release\subversion\libsvn_subr\libsvn_subr-1.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://C:\source\httpd\srclib\subversion\Release\subversion\libsvn_subr\BuildLog.htm"
libsvn_subr_dll - 2 error(s), 1 warning(s)
------ Build started: Project: libsvn_delta_dll, Configuration: Release Win32 ------
Creating library .\..\..\..\Release\subversion\libsvn_delta/libsvn_delta-1.lib and object .\..\..\..\Release\subversion\libsvn_delta/libsvn_delta-1.exp
zlibstat.lib(inflate.obj) : error LNK2019: unresolved external symbol _inflate_fast referenced in function _inflate
..\..\..\Release\subversion\libsvn_delta\libsvn_delta-1.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://c:\source\httpd\srclib\subversion\Release\subversion\libsvn_delta\BuildLog.htm"
libsvn_delta_dll - 2 error(s), 0 warning(s)
========== Build: 1 succeeded, 2 failed, 3 up-to-date, 0 skipped ==========
Sin mas a que hacer referencia,
___________________________________
Víctor Medina
Centro Médico Guerra Méndez - Jefe de Soporte y Tecnologías
Departamento de Sistemas
Telf: +58241 856 1223 Ext. 1223
Cell: +58424 422 8988
correo-e: jefede...@cmgm.com.ve
I have the same problem when using zlib 1.2.5. I believe there is an
answer, I just do not know what it is so I use zlib 1.2.4 and it seems
to work.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
Sin mas a que hacer referencia,
___________________________________
Víctor Medina
Centro Médico Guerra Méndez - Jefe de Soporte y Tecnologías
Departamento de Sistemas
Telf: +58241 856 1223 Ext. 1223
Cell: +58424 422 8988
BB Pin: 22A7C718
correo-e: jefede...@cmgm.com.ve
________________________________________
De: Mark Phippard [mark...@gmail.com]
Enviado el: viernes, 30 de septiembre de 2011 3:57 p.m.
Para: Victor Medina
CC: us...@subversion.apache.org
Asunto: Re: ++ Compilling SVN on WIndows ++
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
{Castellano/Spanish} Aviso de exención de responsabilidad:
Regards,
Joel
Index: Makefile.msc
===================================================================
--- Makefile.msc (revision 1150)
+++ Makefile.msc (revision 1151)
@@ -31,7 +31,7 @@
OBJS = adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj \
gzwrite.obj infback.obj inflate.obj inftrees.obj trees.obj uncompr.obj zutil.obj
-OBJA =
+OBJA = inffast.obj
# targets
@@ -73,9 +73,9 @@
$(CC) -c $(WFLAGS) $(CFLAGS) $<
{contrib/masmx64}.c.obj:
- $(CC) -c $(WFLAGS) $(CFLAGS) $<
+ $(CC) -c -I. $(WFLAGS) $(CFLAGS) $<
-{contrib/masmx64}.asm.obj:
+{contrib/masmx64}.asm64.obj:
$(AS) -c $(ASFLAGS) $<
{contrib/masmx86}.asm.obj:
@@ -114,9 +114,9 @@
zutil.obj: zutil.c zutil.h zlib.h zconf.h
-gvmat64.obj: contrib\masmx64\gvmat64.asm
+gvmat64.obj: contrib\masmx64\gvmat64.asm64
-inffasx64.obj: contrib\masmx64\inffasx64.asm
+inffasx64.obj: contrib\masmx64\inffasx64.asm64
inffas8664.obj: contrib\masmx64\inffas8664.c zutil.h zlib.h zconf.h \
inftrees.h inflate.h inffast.h
Without the patch I build it this way (x86):
--- snip ---
C:\python27\python gen-make.py -t vcproj --vsnet-version=2008
--with-httpd=C:\build\httpd-2.2.19-sni6-x86
--with-openssl=C:\build\httpd-2.2.19-sni6-x86\srclib\openssl
--with-zlib=C:\build\subversion-1.7.0-rc3-x86\zlib
--with-apr=C:\build\httpd-2.2.19-sni6-x86\apr
Open generated build\win32\vcnet-vcproj\build_zlib.bat and insert at
line 67 (before "set BUILD_OPTS=..." line):
set ASM_OPTS=LOC="-DASMV -DASMINF -I." OBJA="inffas32.obj match686.obj"
jump right to the end, the magic solution is to add "/D XML_STATIC" to
EXPAT_FLAGS in neon\neon.mak, line 57
OPEN IDE
--- /snip ---
For a x64 build
--- snip ---
C:\python27\python gen-make.py -t vcproj --vsnet-version=2008
--with-httpd=C:\build\httpd-2.2.19-sni6-x64
--with-openssl=C:\build\httpd-2.2.19-sni6-x64\srclib\openssl
--with-zlib=C:\build\subversion-1.7.0-rc3-x64\zlib
--with-apr=C:\build\subversion-1.6.17-x64\apr
Open generated build\win32\vcnet-vcproj\build_zlib.bat and insert at
line 67 (before "set BUILD_OPTS=..." line):
set ASM_OPTS=AS=ml64 LOC="-DASMV -DASMINF -I." OBJA="inffasx64.obj
gvmat64.obj inffas8664.obj"
jump right to the end, the magic solution is to add "/D XML_STATIC" to
EXPAT_FLAGS in neon\neon.mak, line 57
OPEN IDE
--- /snip ---
Cheers
Mario