Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 93692 invoked by uid 500); 29 May 2002 19:44:45 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 93681 invoked from network); 29 May 2002 19:44:43 -0000 Message-ID: <3CF52F6D.8000804@xbc.nu> Date: Wed, 29 May 2002 21:43:41 +0200 From: =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2) Gecko/20020510 X-Accept-Language: sl, en-gb, en MIME-Version: 1.0 To: Patrik Husfloen CC: dev@subversion.tigris.org, dev@apr.apache.org, Sander Striker Subject: Re: build error on win32 References: <3CF50D1C.5010901@student.liu.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Patrik Husfloen wrote: > I'm getting an error building svn on win32 using VC6. > I've got the latest version of apr, apr-util and svn (just got them > from cvs/svn) > if anyone can confirm this it would be great. > > libsvn_subr.lib(svn_error.obj) : error LNK2001: unresolved external > symbol _apr_allocator_set_mutex@8 > Release/svn.exe : fatal error LNK1120: 1 unresolved externals This looks like a bug in APR. Both apr_allocator_set_mutex and apr_allocator_get_mutex are defined with APR_INLINE in apr_pools.c, which is clearly major bogosity. Either that APR_INLINE shoudl go away, or the inline definitions should move to a header (probably apr_allocator.h, where they're declared now), and made static. Sander, looks like you're the culprit here (the rev 1.159 commit). Comments? -- Brane Čibej http://www.xbc.nu/brane/