[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: linker errors on win32

From: Blair Zajac <blair_at_orcaware.com>
Date: 2002-08-29 20:56:03 CEST

amccarty@linkline.com wrote:
>
> <my mail doesn't seem to be working so if
> this comes through more that once I
> apologize>
>
> Hello all,
>
> I have been trying to compile svn since Monday.
> Prior to that I had no problems but I
> can't seem to get it to link. I'm not sure
> if this is a neon issue or apr-util?
> Any help or work arounds would be greatly
> appreciated.
>
> Environment Windows 2000
> MSVC 6.0sp5 with updated SDK
> neon 0.23.2
> svn rev 3094
> apr (HEAD)
> arp-util (HEAD)

Yes, there are several issues with the Neon integration into SVN.
First, update to svn HEAD (I just applied one patch to SVN) and
then apply this patch to Neon. These patches have been submitted
to Neon.

diff -ru ../neon-0.23.2-orig/config.hw ./config.hw
--- ../neon-0.23.2-orig/config.hw 2002-08-26 16:23:39.000000000 -0700
+++ ./config.hw 2002-08-29 11:49:54.000000000 -0700
@@ -29,9 +29,10 @@
 #define NEON_VERSION_MAJOR (0)
 #define NEON_VERSION_MINOR (23)
 
+#define HAVE_ERRNO_H
+#define HAVE_LIMITS_H
 #define HAVE_STDLIB_H
 #define HAVE_STRING_H
-#define HAVE_LIMITS_H
 
 #define HAVE_MEMCPY
 
diff -ru ../neon-0.23.2-orig/config.hw.in ./config.hw.in
--- ../neon-0.23.2-orig/config.hw.in 2002-08-25 15:45:37.000000000 -0700
+++ ./config.hw.in 2002-08-29 11:49:43.000000000 -0700
@@ -29,9 +29,10 @@
 #define NEON_VERSION_MAJOR (@MAJOR@)
 #define NEON_VERSION_MINOR (@MINOR@)
 
+#define HAVE_ERRNO_H
+#define HAVE_LIMITS_H
 #define HAVE_STDLIB_H
 #define HAVE_STRING_H
-#define HAVE_LIMITS_H
 
 #define HAVE_MEMCPY
 
diff -ru ../neon-0.23.2-orig/neon.mak ./neon.mak
--- ../neon-0.23.2-orig/neon.mak 2002-08-25 15:45:37.000000000 -0700
+++ ./neon.mak 2002-08-29 11:50:44.000000000 -0700
@@ -12,12 +12,14 @@
 # Support for Expat integration
 # IF EXPAT_SRC is set, then assume compiling against a pre-built
 # binary Expat 1.95.X. If EXPAT_SRC is not set, then the user can
-# still set EXPAT_FLAGS to specify very specific complile behavior.
+# still set EXPAT_FLAGS to specify very specific compile behavior.
 # If both EXPAT_SRC and EXPAT_FLAGS are not set, disable WebDAV
 # support.
+BUILD_EXPAT = 1
 !IF "$(EXPAT_SRC)" == ""
 !IF "$(EXPAT_FLAGS)" == ""
 EXPAT_FLAGS = /D NEON_NODAV
+BUILD_EXPAT =
 !ENDIF
 !ELSE
 EXPAT_FLAGS = /I "$(EXPAT_SRC)\Source\Lib" /D HAVE_EXPAT /D HAVE_EXPAT_H
@@ -83,7 +85,7 @@
         "$(INTDIR)\ne_uri.obj" \
         "$(INTDIR)\ne_utils.obj"
 
-!IF "$(EXPAT_SRC)" != ""
+!IF "$(BUILD_EXPAT)" != ""
 LIB32_OBJS= \
         $(LIB32_OBJS) \
         "$(INTDIR)\ne_207.obj" \

Best,
Blair

-- 
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 29 20:57:24 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.