I get the following error when I build log4cxx 0.10.0. Please advice. Did anybody get this working on HP Unix. If so, can you please pass on the configurations and build steps.
objectptr.cpp: In static member function 'static void* log4cxx::helpers::ObjectPtrBase::exchange(void**, void*)': objectptr.cpp:41: error: cast from 'void*' to 'apr_uint32_t' loses precisiongmake[3]: *** [objectptr.lo] Error 1 gmake[3]: Leaving directory `/u/zztstkqa/jen/apache-log4cxx-0.10.0/src/main/cpp' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/u/zztstkqa/jen/apache-log4cxx-0.10.0/src/main' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/u/zztstkqa/jen/apache-log4cxx-0.10.0/src' gmake: *** [all-recursive] Error 1 My configurations are as follows Apr 1.2.12 Apr-util 1.2.12 HP-UX B.11.11 U 9000/785 $ gmake --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for hppa2.0w-hp-hpux11.11 Regards, Krishna -----Original Message----- From: Chakravarthula, Krishnamurthy [mailto:[EMAIL PROTECTED] Sent: Thursday, April 24, 2008 1:13 PM To: Log4CXX User Cc: [EMAIL PROTECTED] Subject: RE: log4cxx 0.10.0 build on HP Unix build problem -----Original Message----- From: Curt Arnold [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 23, 2008 10:05 PM To: Log4CXX User Subject: Re: log4cxx 0.10.0 build on HP Unix build problem On Apr 23, 2008, at 10:18 AM, Chakravarthula, Krishnamurthy wrote: > Experts, > > I want to build log4cxx on HP Unix 11.11. I am using apr 1.2.12, > apr-util 1.2.12. > > Build apr > > >./configure > >gmake > > Build apr-util > > >./configure -with-apr=<pathto apr> > >gmake > > I would try installling or building expat (http:// expat.sourceforge.net) if it not installed and then adding a --with- expat to the APR-util configure command. If you still have problem building APR-Util after that, you may get a better response from the [EMAIL PROTECTED] mailing list. Hi Arnold, I installed expat but still I get the same error. Was anyone able to build log4cxx 0.10.0 on HP Unix. If so, can you please give me your configurations and instructions. Regards, Krishna