You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by br1 <my...@myrealbox.com> on 2007/12/01 23:59:51 UTC

Re: compiling APR/tcnative on Win32

Thanks.. though maybe I did not express myself clearly in my first message.
I have the lib already.. the question is why the linker complains.


mgainty wrote:
> 
> Hi Bruno-
> 
> one of 2 solutions
> 1)get the source for Rpcrt4.dll and compile and link it....not sure how to
> acquire the source for Rpcrt4
> 2)coax Rpcrt4.dll to library format Rpc4t.lib and link it in
> i think there is a DLL2Lib hanging around somewhere?
> ask the folks on tomcat-dev if they have a DLL2Lib utility
> 
> GL!
> M--
> ----- Original Message -----
> From: "br1" <my...@myrealbox.com>
> To: <us...@tomcat.apache.org>
> Sent: Thursday, November 29, 2007 6:02 PM
> Subject: Re: compiling APR/tcnative on Win32
> 
> 
>>
>> Hi,
>>
>> Thank you for your reply.
>>
>> Though the actual question is: what should I change in the Visual C++
>> project in order to get it compiled correctly?
>> It is a non VC++ programmer question, you know :-)
>>
>> Thanks again,
>> b.
>>
>>
>> mgainty wrote:
>> >
>> > Hi Bruno
>> > its supposed to be located in %SystemRoot%\system32\Rpcrt4.dll
>> > M--
>> > ----- Original Message -----
>> > From: "Bruno Altobelli" <my...@myrealbox.com>
>> > To: <us...@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.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/compiling-APR-tcnative-on-Win32-tf4885036.html#a14110583
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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