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 2002/06/19 23:49:05 UTC
Re: building on Win32
Paul Marculescu wrote:
>I just checked out revision 2285 from the subversion repository and also
>the apr and apr-util files from apache cvs repository in order to make a
>new build on Win32.
>
>The problems I encountered are:
>
>- subversion_client.dsp
> SOURCE=".\trace-commit.c" from the dsp is missing from the repository.
> However, a simple removal from the dsp I think will do.
>
Heh, that must've popped up very recently
>- mod_dav_svn.dsp
> I had to define APR_DECLARE_STATIC and APU_DECLARE_STATIC symbols in
>the project, otherwise it won't link.
> The build also requires wsock32.lib.
> SOURCE=..\libsvn_subr\hashdump.c is missing from disk. I think it
>should be replace with ..\libsvn_subr\hash.c
>
mod_dav_svn.dsp hadn't been updated in a while (it's not part of the
default build), but setting APR_DECLARE_STATIC in there is definitely
wrong. It should be linking with the DLL versions of apr and apr-util.
>I thought that defining APR_DECLARE_STATIC in the project is enough to
>make it build. But it is defined and the errors are still there.
>
>Does anybody know where the mistake is hiding?
>
>
No idea. That object is in libsvn_subr.lib, which mod_dav_svn should be
linking.
Anyway, that .dsp is a hack; i suggest you don't build mod_dav_svn for
now, unless you mean to set up Apache with Subversion on Windows.
--
Brane Čibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: building on Win32
Posted by br...@xbc.nu.
Quoting Paul Marculescu <pa...@p16.pub.ro>:
>
> > Well, you'd have to build the whole server with 2072, not just mod_dav_svn
> > (for example, libsvn_fs 2285 is *not* going to work with 2072 of the
> > mod_dav_svn module).
>
> Ok.
>
> > But the newer client "should" be able to talk to the
> > old server.
>
> It does. I checked this.
>
> >
> > But really: it is better for all concerned to find and root out the problem
> > with the current code, than to go back to an old version.
> >
> > And I would agree with Branko: you shouldn't define the _STATIC symbols.
> > *What* is the problem that you're observing when you don't define them?
>
> So, without defining them, using exactly the mod_dav_svn.dsp from the
> repository (with the hashdump.c -> hash.c modification I said about in
> the previous mail), this is what happens:
I just tried the same, and it works for me. So: How did you build Apache?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: building on Win32
Posted by Paul Marculescu <pa...@p16.pub.ro>.
> Well, you'd have to build the whole server with 2072, not just mod_dav_svn
> (for example, libsvn_fs 2285 is *not* going to work with 2072 of the
> mod_dav_svn module).
Ok.
> But the newer client "should" be able to talk to the
> old server.
It does. I checked this.
>
> But really: it is better for all concerned to find and root out the problem
> with the current code, than to go back to an old version.
>
> And I would agree with Branko: you shouldn't define the _STATIC symbols.
> *What* is the problem that you're observing when you don't define them?
So, without defining them, using exactly the mod_dav_svn.dsp from the
repository (with the hashdump.c -> hash.c modification I said about in
the previous mail), this is what happens:
Linking...
Creating library Release/mod_dav_svn.lib and object
Release/mod_dav_svn.exp
LINK : warning LNK4049: locally defined symbol "_apr_pstrdup@8" imported
LINK : warning LNK4049: locally defined symbol "_apr_pcalloc@8" imported
LINK : warning LNK4049: locally defined symbol "_apr_psprintf" imported
LINK : warning LNK4049: locally defined symbol "_apr_hash_first@8"
imported
LINK : warning LNK4049: locally defined symbol "_apr_hash_this@16"
imported
LINK : warning LNK4049: locally defined symbol "_apr_hash_next@4"
imported
LINK : warning LNK4049: locally defined symbol "_apr_palloc@8" imported
LINK : warning LNK4049: locally defined symbol "_apr_array_push@4"
imported
LINK : warning LNK4049: locally defined symbol "_apr_array_make@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_pstrcat" imported
LINK : warning LNK4049: locally defined symbol "_apr_pool_destroy@4"
imported
LINK : warning LNK4049: locally defined symbol "_apr_pstrndup@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_table_setn@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_table_get@8"
imported
LINK : warning LNK4049: locally defined symbol "_apr_pvsprintf@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_hash_make@4"
imported
LINK : warning LNK4049: locally defined symbol "_apr_hash_set@16"
imported
LINK : warning LNK4049: locally defined symbol "_apr_hash_get@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_pool_clear@4"
imported
LINK : warning LNK4049: locally defined symbol "_apr_file_close@4"
imported
LINK : warning LNK4049: locally defined symbol "_apr_file_open@20"
imported
LINK : warning LNK4049: locally defined symbol "_apr_file_write_full@16"
imported
LINK : warning LNK4049: locally defined symbol "_apr_dir_make@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_file_getc@8"
imported
LINK : warning LNK4049: locally defined symbol "_apr_file_read_full@16"
imported
LINK : warning LNK4049: locally defined symbol "_apr_stat@16" imported
LINK : warning LNK4049: locally defined symbol "_apr_md5_final@8"
imported
LINK : warning LNK4049: locally defined symbol "_apr_md5_update@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_file_read@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_md5_init@4"
imported
LINK : warning LNK4049: locally defined symbol "_apr_file_attrs_set@16"
imported
LINK : warning LNK4049: locally defined symbol "_apr_file_remove@8"
imported
LINK : warning LNK4049: locally defined symbol "_apr_dir_remove@8"
imported
LINK : warning LNK4049: locally defined symbol "_apr_dir_close@4"
imported
LINK : warning LNK4049: locally defined symbol "_apr_dir_read@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_dir_open@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_proc_wait@16"
imported
LINK : warning LNK4049: locally defined symbol "_apr_proc_create@24"
imported
LINK : warning LNK4049: locally defined symbol
"_apr_procattr_child_err_set@12" imported
LINK : warning LNK4049: locally defined symbol
"_apr_procattr_child_out_set@12" imported
LINK : warning LNK4049: locally defined symbol
"_apr_procattr_child_in_set@12" imported
LINK : warning LNK4049: locally defined symbol "_apr_procattr_dir_set@8"
imported
LINK : warning LNK4049: locally defined symbol
"_apr_procattr_cmdtype_set@8" imported
LINK : warning LNK4049: locally defined symbol "_apr_procattr_create@8"
imported
LINK : warning LNK4049: locally defined symbol
"_apr_pool_cleanup_register@16" imported
LINK : warning LNK4049: locally defined symbol "_apr_os_file_get@8"
imported
LINK : warning LNK4049: locally defined symbol "_apr_pmemdup@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_pstrmemdup@12"
imported
LINK : warning LNK4049: locally defined symbol
"_apr_pool_userdata_get@12" imported
LINK : warning LNK4049: locally defined symbol
"_apr_pool_userdata_set@16" imported
LINK : warning LNK4049: locally defined symbol "_apr_pool_cleanup_null"
imported
LINK : warning LNK4049: locally defined symbol "_apr_pool_create_ex@16"
imported
LINK : warning LNK4049: locally defined symbol "_apr_cpystrn@12"
imported
LINK : warning LNK4049: locally defined symbol
"_apr_thread_mutex_create@12" imported
LINK : warning LNK4049: locally defined symbol "_apr_allocator_create@4"
imported
LINK : warning LNK4049: locally defined symbol "_apr_pool_get_parent@4"
imported
LINK : warning LNK4049: locally defined symbol "_apr_filepath_merge@20"
imported
LINK : warning LNK4049: locally defined symbol "_apr_time_exp_gmt@12"
imported
LINK : warning LNK4049: locally defined symbol "_apr_implode_gmt@8"
imported
activity.obj : error LNK2001: unresolved external symbol
__imp__apr_dbm_freedatum@12
activity.obj : error LNK2001: unresolved external symbol
__imp__apr_dbm_close@4
activity.obj : error LNK2001: unresolved external symbol
__imp__apr_dbm_fetch@16
activity.obj : error LNK2001: unresolved external symbol
__imp__apr_dbm_open@20
activity.obj : error LNK2001: unresolved external symbol
__imp__apr_dbm_store@20
deadprops.obj : error LNK2001: unresolved external symbol
__imp__apr_text_append@12
liveprops.obj : error LNK2001: unresolved external symbol
__imp__apr_text_append@12
version.obj : error LNK2001: unresolved external symbol
__imp__apr_text_append@12
liveprops.obj : error LNK2001: unresolved external symbol
__imp__apr_xml_quote_string@12
log.obj : error LNK2001: unresolved external symbol
__imp__apr_xml_quote_string@12
merge.obj : error LNK2001: unresolved external symbol
__imp__apr_xml_quote_string@12
update.obj : error LNK2001: unresolved external symbol
__imp__apr_xml_quote_string@12
log.obj : error LNK2001: unresolved external symbol
__imp__apr_brigade_create@8
merge.obj : error LNK2001: unresolved external symbol
__imp__apr_brigade_create@8
repos.obj : error LNK2001: unresolved external symbol
__imp__apr_brigade_create@8
update.obj : error LNK2001: unresolved external symbol
__imp__apr_brigade_create@8
log.obj : error LNK2001: unresolved external symbol
__imp__apr_brigade_vprintf@20
update.obj : error LNK2001: unresolved external symbol
__imp__apr_brigade_vprintf@20
merge.obj : error LNK2001: unresolved external symbol
__imp__apr_brigade_puts@16
repos.obj : error LNK2001: unresolved external symbol
__imp__apr_brigade_puts@16
repos.obj : error LNK2001: unresolved external symbol
__imp__apr_bucket_transient_create@12
repos.obj : error LNK2001: unresolved external symbol
__imp__apr_bucket_eos_create@4
util.obj : error LNK2001: unresolved external symbol
__imp__apr_uri_parse@12
config_file.obj : error LNK2001: unresolved external symbol
__imp__apr_get_home_directory@12
config_file.obj : error LNK2001: unresolved external symbol
__imp__apr_get_username@12
config_file.obj : error LNK2001: unresolved external symbol
__imp__apr_current_userid@12
io.obj : error LNK2001: unresolved external symbol
__imp__apr_file_copy@16
io.obj : error LNK2001: unresolved external symbol
__imp__apr_file_append@16
io.obj : error LNK2001: unresolved external symbol
__imp__apr_file_name_get@8
svn_error.obj : error LNK2001: unresolved external symbol
__imp__apr_strerror@12
svn_error.obj : error LNK2001: unresolved external symbol
_apr_allocator_owner_set
svn_error.obj : error LNK2001: unresolved external symbol
_apr_allocator_mutex_set
svn_error.obj : error LNK2001: unresolved external symbol
_apr_allocator_set_max_free
svn_error.obj : error LNK2001: unresolved external symbol
_apr_pool_allocator_get
svn_string.obj : error LNK2001: unresolved external symbol
__imp__apr_strtok@12
time.obj : error LNK2001: unresolved external symbol
__imp__apr_day_snames
time.obj : error LNK2001: unresolved external symbol
__imp__apr_month_snames
Release/mod_dav_svn.so : fatal error LNK1120: 27 unresolved externals
Error executing link.exe.
mod_dav_svn.so - 38 error(s), 67 warning(s)
>
> Regarding the missing APR symbols: update your APR from CVS.
After I checked out Subversion sources, I also got the apr and apr-util
from the apache CVS, as I said in the first mail. I am aware that for
the newest sources of Subversion I need the newest sources of apr ( I
read it on the site :) ).
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: building on Win32
Posted by Greg Stein <gs...@lyra.org>.
On Thu, Jun 20, 2002 at 02:57:54AM +0200, Paul Marculescu wrote:
> This is exactly what I want to do and I did it with rev 2072 and it
> worked.
> I remember then also having problems with building mod_dav_svn.so, but I
> solved them defining APR_DECLARE_STATIC and APU_DECLARE_STATIC.
>
> I wonder if the whole stuff will work if I use the old mod_dav_svn.so
> from rev 2072 with the newly builded client from 2285.
Well, you'd have to build the whole server with 2072, not just mod_dav_svn
(for example, libsvn_fs 2285 is *not* going to work with 2072 of the
mod_dav_svn module). But the newer client "should" be able to talk to the
old server.
But really: it is better for all concerned to find and root out the problem
with the current code, than to go back to an old version.
And I would agree with Branko: you shouldn't define the _STATIC symbols.
*What* is the problem that you're observing when you don't define them?
Regarding the missing APR symbols: update your APR from CVS.
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: building on Win32
Posted by Paul Marculescu <pa...@p16.pub.ro>.
This is exactly what I want to do and I did it with rev 2072 and it
worked.
I remember then also having problems with building mod_dav_svn.so, but I
solved them defining APR_DECLARE_STATIC and APU_DECLARE_STATIC.
I wonder if the whole stuff will work if I use the old mod_dav_svn.so
from rev 2072 with the newly builded client from 2285.
>
> Anyway, that .dsp is a hack; i suggest you don't build mod_dav_svn for
> now, unless you mean to set up Apache with Subversion on Windows.
>
> --
> Brane Äibej <br...@xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org