tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: compiling APR/tcnative on Win32
Date Tue, 27 Nov 2007 23:06:39 GMT
Hi Bruno
its supposed to be located in %SystemRoot%\system32\Rpcrt4.dll
M--
----- Original Message -----
From: "Bruno Altobelli" <myrealbruno@myrealbox.com>
To: <users@tomcat.apache.org>
Sent: Tuesday, November 27, 2007 5:45 PM
Subject: compiling APR/tcnative on Win32


Hello,

I am trying to compile APR on Win32 without OpenSSL using the sources at
http://tomcat.heanet.ie/native/ - manually removing references to any ssl
library as I don't have autoconf (yet).
I was able to compile the project called "libtcnative" without problems, but
when trying to compile the one named "tcnative" I get the following error:
tcnative error LNK2019: unresolved external symbol __imp__UuidCreate@4
referenced in function _apr_os_uuid_get@4

I get the same error above with tcnative versions 1.1.10, 1.1.9, 1.1.8, with
APR versions 1.2.12 (that just came out), 1.2.11 and 1.2.9, using VS2005 and
VS2003.

Trying to figure out what was the reason, I tried to add rpcdce.lib (or
Rpcrt4.lib) to the linker in the tcnative project.
The tcnative-1.dll gets compiled properly, though the linker itself warns
that rpcdce is not needed (lol).

Questions:
1 - Is this the right way to do it or should I change something different in
the project?
2 - May I use the separate dlls generate by the libtcnative project instead?

Thank you in advance,
b.






----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message