Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: compiling APR/tcnative on Win32

br1

2007-12-01



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" <myrealbruno@(protected)>
> To: <users@(protected)>
> 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" <myrealbruno@(protected)>
>> > To: <users@(protected)>
>> > 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@(protected)
>> > referenced in function _apr_os_uuid_get@(protected)
>> >
>> > 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.
>
>
>

--
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.