You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Branko Čibej <br...@xbc.nu> on 2004/12/10 03:35:11 UTC

Trying to build the locking branch on Windows

Says this:

Linking...
   Creating library ..\..\..\Release\subversion\mod_dav_svn/mod_dav_svn.lib and object ..\..\..\Release\subversion\mod_dav_svn/mod_dav_svn.exp
repos.obj : error LNK2001: unresolved external symbol _dav_get_locktoken_list
..\..\..\Release\subversion\mod_dav_svn\mod_dav_svn.so : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.


Allright, now: Which version of httpd should I have been linking to? I 
have 2.0.52.


-- Brane



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Trying to build the locking branch on Windows

Posted by Ben Collins-Sussman <su...@collab.net>.
On Dec 9, 2004, at 9:35 PM, Branko Čibej wrote:

> Says this:
>
> Linking...
>   Creating library 
> ..\..\..\Release\subversion\mod_dav_svn/mod_dav_svn.lib and object 
> ..\..\..\Release\subversion\mod_dav_svn/mod_dav_svn.exp
> repos.obj : error LNK2001: unresolved external symbol 
> _dav_get_locktoken_list
> ..\..\..\Release\subversion\mod_dav_svn\mod_dav_svn.so : fatal error 
> LNK1120: 1 unresolved externals
> Error executing link.exe.
>
>
> Allright, now: Which version of httpd should I have been linking to? I 
> have 2.0.52.
>

?  It's part of mod_dav, not mod_dav_svn.  And it's been there 
throughout the whole httpd 2.0.x line, never changed.

dav_get_locktoken_list() is declared in dav/main/mod_dav.h, and defined 
in dav/main/util.c.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: Trying to build the locking branch on Windows

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
At 10:28 PM 12/9/2004, Branko Čibej wrote:
>Branko Čibej wrote:
>
>Oh bah and grumble. It's a mod_dav bug; that function isn't declared with DAV_DECLARE, so it doesn't get exported on Windows. Fubar. It's of course not enough to fix mod_dav.h, it requires an httpd recompile.
>
>The patch is huge (it touches most files in modules/dav/main), and I don't have time to make it now. I'll try ti get it out the door, but whateer happens, 2.0.53 IMHO should not be released without the fix. At least, as far as Subversion is concerned...

Yow, well, +1 here, for exporting things that weren't before.
It must be a minor mmn bump.

Most won't care, but on win32, this will have to be called out as 
an exception to the 'works on 2.0.43+'.

Bill 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: Trying to build the locking branch on Windows

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
At 10:28 PM 12/9/2004, Branko Čibej wrote:
>Branko Čibej wrote:
>
>Oh bah and grumble. It's a mod_dav bug; that function isn't declared with DAV_DECLARE, so it doesn't get exported on Windows. Fubar. It's of course not enough to fix mod_dav.h, it requires an httpd recompile.
>
>The patch is huge (it touches most files in modules/dav/main), and I don't have time to make it now. I'll try ti get it out the door, but whateer happens, 2.0.53 IMHO should not be released without the fix. At least, as far as Subversion is concerned...

Yow, well, +1 here, for exporting things that weren't before.
It must be a minor mmn bump.

Most won't care, but on win32, this will have to be called out as 
an exception to the 'works on 2.0.43+'.

Bill 


Re: Trying to build the locking branch on Windows

Posted by Branko Čibej <br...@xbc.nu>.
Branko Čibej wrote:

> Says this:
>
> Linking...
>   Creating library 
> ..\..\..\Release\subversion\mod_dav_svn/mod_dav_svn.lib and object 
> ..\..\..\Release\subversion\mod_dav_svn/mod_dav_svn.exp
> repos.obj : error LNK2001: unresolved external symbol 
> _dav_get_locktoken_list
> ..\..\..\Release\subversion\mod_dav_svn\mod_dav_svn.so : fatal error 
> LNK1120: 1 unresolved externals
> Error executing link.exe.
>
>
> Allright, now: Which version of httpd should I have been linking to? I 
> have 2.0.52.

Oh bah and grumble. It's a mod_dav bug; that function isn't declared 
with DAV_DECLARE, so it doesn't get exported on Windows. Fubar. It's of 
course not enough to fix mod_dav.h, it requires an httpd recompile.

Which means that mod_dav_svn 1.2 will be broken on Wnidows until a new 
version of httpd is released which fixes that error. There are lots of 
other such broken declarations in that header, and I wonder if changes 
get reviewed carefully enough...

The patch is huge (it touches most files in modules/dav/main), and I 
don't have time to make it now. I'll try ti get it out the door, but 
whateer happens, 2.0.53 IMHO should not be released without the fix. At 
least, as far as Subversion is concerned...

-- Brane



Re: Trying to build the locking branch on Windows

Posted by Branko Čibej <br...@xbc.nu>.
Branko Čibej wrote:

> Says this:
>
> Linking...
>   Creating library 
> ..\..\..\Release\subversion\mod_dav_svn/mod_dav_svn.lib and object 
> ..\..\..\Release\subversion\mod_dav_svn/mod_dav_svn.exp
> repos.obj : error LNK2001: unresolved external symbol 
> _dav_get_locktoken_list
> ..\..\..\Release\subversion\mod_dav_svn\mod_dav_svn.so : fatal error 
> LNK1120: 1 unresolved externals
> Error executing link.exe.
>
>
> Allright, now: Which version of httpd should I have been linking to? I 
> have 2.0.52.

Oh bah and grumble. It's a mod_dav bug; that function isn't declared 
with DAV_DECLARE, so it doesn't get exported on Windows. Fubar. It's of 
course not enough to fix mod_dav.h, it requires an httpd recompile.

Which means that mod_dav_svn 1.2 will be broken on Wnidows until a new 
version of httpd is released which fixes that error. There are lots of 
other such broken declarations in that header, and I wonder if changes 
get reviewed carefully enough...

The patch is huge (it touches most files in modules/dav/main), and I 
don't have time to make it now. I'll try ti get it out the door, but 
whateer happens, 2.0.53 IMHO should not be released without the fix. At 
least, as far as Subversion is concerned...

-- Brane



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org