Can't build using Ant with MSVC 6.0

This is a discussion on Can't build using Ant with MSVC 6.0 within the Apache forums in Application Servers & Tools category; I am trying to build log4cxx 0.10.0 using ant, but the build fails because of apr-util compilation errors. Am I doing something wrong here? I am using the following environment: Micosoft Windows XP SP2 Microsoft Visual C/C++ 6.0 SP 6 Microsoft Platform SDK Feb. 2003 Apache Ant 1.7.1 AntContrib 1.0b3 CppTasks 1.0b5 log4cxx 0.10.0 apr 1.3.3 apr-util 1.3.4 The compilation errors are all from apr_dbd_odbc.c: [cc] apr_dbd_odbc.c [cc] C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(68) : error C2061: syntax error : identifier 'henv' [cc] C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(68) : error C2059: syntax error : ';' [cc] C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(68) : error C2513: '/*global*/ ' : no variable declared before '=' [cc] ...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-27-2008, 07:48 AM
Moshe Matitya
Guest
 
Default Can't build using Ant with MSVC 6.0

I am trying to build log4cxx 0.10.0 using ant, but the build fails
because of apr-util compilation errors. Am I doing something wrong
here?



I am using the following environment:



Micosoft Windows XP SP2

Microsoft Visual C/C++ 6.0 SP 6

Microsoft Platform SDK Feb. 2003

Apache Ant 1.7.1

AntContrib 1.0b3

CppTasks 1.0b5

log4cxx 0.10.0

apr 1.3.3

apr-util 1.3.4



The compilation errors are all from apr_dbd_odbc.c:



[cc] apr_dbd_odbc.c

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(68) : error
C2061: syntax error : identifier 'henv'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(68) : error
C2059: syntax error : ';'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(68) : error
C2513: '/*global*/ ' : no variable declared before '='

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(72) : error
C2146: syntax error : missing ')' before identifier 'rc'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(72) : error
C2081: 'SQLRETURN' : name in formal parameter list illegal

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(72) : error
C2061: syntax error : identifier 'rc'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(72) : error
C2059: syntax error : ';'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(72) : error
C2059: syntax error : ','

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(73) : error
C2059: syntax error : ')'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(106) : error
C2061: syntax error : identifier 'SQLHANDLE'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(118) : error
C2059: syntax error : '}'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(122) : error
C2061: syntax error : identifier 'SQLHANDLE'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(123) : error
C2061: syntax error : identifier 'dbc'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(123) : error
C2059: syntax error : ';'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(130) : error
C2143: syntax error : missing '{' before '*'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(131) : error
C2143: syntax error : missing '{' before '*'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(132) : error
C2143: syntax error : missing '{' before '*'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(133) : error
C2143: syntax error : missing '{' before '*'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(134) : error
C2143: syntax error : missing '{' before '*'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(140) : error
C2059: syntax error : '}'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(154) : error
C2061: syntax error : identifier 'SQLHANDLE'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(155) : error
C2061: syntax error : identifier 'dbc'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(155) : error
C2059: syntax error : ';'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(158) : error
C2059: syntax error : '}'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(161) : error
C2061: syntax error : identifier 'SQLHANDLE'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(163) : error
C2059: syntax error : '}'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(166) : error
C2061: syntax error : identifier 'SQLHANDLE'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(167) : error
C2061: syntax error : identifier 'dbc'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(167) : error
C2059: syntax error : ';'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(173) : error
C2059: syntax error : '}'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(197) : error
C2061: syntax error : identifier 'SQLSMALLINT'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(198) : error
C2059: syntax error : '}'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(207) : error
C2143: syntax error : missing '{' before 'const'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(208) : error
C2065: 'SQL_C_DEFAULT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(208) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(209) : error
C2065: 'SQL_C_STINYINT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(209) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(210) : error
C2065: 'SQL_C_UTINYINT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(210) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(211) : error
C2065: 'SQL_C_SSHORT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(211) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(212) : error
C2065: 'SQL_C_USHORT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(212) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(213) : error
C2065: 'SQL_C_SLONG' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(213) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(214) : error
C2065: 'SQL_C_ULONG' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(214) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(215) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(216) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(217) : error
C2065: 'SQL_C_SBIGINT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(217) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(218) : error
C2065: 'SQL_C_UBIGINT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(218) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(219) : error
C2065: 'SQL_C_FLOAT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(219) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(220) : error
C2065: 'SQL_C_DOUBLE' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(220) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(221) : error
C2065: 'SQL_C_CHAR' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(221) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(222) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(223) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(224) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(225) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(226) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(227) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(228) : error
C2065: 'SQL_LONGVARBINARY' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(228) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(229) : error
C2065: 'SQL_LONGVARCHAR' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(229) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(231) : error
C2065: 'SQL_TYPE_NULL' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(231) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(234) : error
C2143: syntax error : missing '{' before 'const'

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(235) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(236) : error
C2065: 'SQL_TINYINT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(236) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(237) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(238) : error
C2065: 'SQL_SMALLINT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(238) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(239) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(240) : error
C2065: 'SQL_INTEGER' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(240) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(241) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(242) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(243) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(244) : error
C2065: 'SQL_BIGINT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(244) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(245) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(246) : error
C2065: 'SQL_FLOAT' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(246) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(247) : error
C2065: 'SQL_DOUBLE' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(247) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(248) : error
C2065: 'SQL_CHAR' : undeclared identifier

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(248) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(249) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(250) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(251) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(252) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(253) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(254) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(255) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(256) : error
C2099: initializer is not a constant

[cc]
C:\Projects\HEAD\ExtLib\Log4cxx\apr-util\dbd\apr_dbd_odbc.c(256) : fatal
error C1003: error count exceeds 100; stopping compilation



Any help wuld be appreciated.



Thanks,



Moshe




Reply With Quote
  #2  
Old 08-27-2008, 12:07 PM
Curt Arnold
Guest
 
Default Re: Can't build using Ant with MSVC 6.0


On Aug 27, 2008, at 6:48 AM, Moshe Matitya wrote:

> I am trying to build log4cxx 0.10.0 using ant, but the build fails
> because of apr-util compilation errors. Am I doing something wrong
> here?
>
> I am using the following environment:
>
> Micosoft Windows XP SP2
> Microsoft Visual C/C++ 6.0 SP 6
> Microsoft Platform SDK Feb. 2003
> Apache Ant 1.7.1
> AntContrib 1.0b3
> CppTasks 1.0b5
> log4cxx 0.10.0
> apr 1.3.3
> apr-util 1.3.4
>


The APR and APR-Util versions listed are substantially later than the
ones that were current at the time of the log4cxx 0.10.0 release. If
I remember correctly, 1.2.12 was the current release, but compilation
problems resulted in releasing against APR 1.2.11 and APR-Util
1.2.10. Does log4cxx build properly on your configuration with those
versions of APR and APR-Util? If so, then we can look at figuring out
what has changed and how to either compensate or push the issue back
to APR.

Reply With Quote
  #3  
Old 08-27-2008, 01:16 PM
Moshe Matitya
Guest
 
Default RE: Can't build using Ant with MSVC 6.0

On Wednesday, August 27, 2008 7:08 PM, Curt Arnold wrote:
>
> On Aug 27, 2008, at 6:48 AM, Moshe Matitya wrote:
>
> > I am trying to build log4cxx 0.10.0 using ant, but the build fails
> > because of apr-util compilation errors. Am I doing something wrong
> > here?
> >
> > I am using the following environment:
> >
> > Micosoft Windows XP SP2
> > Microsoft Visual C/C++ 6.0 SP 6
> > Microsoft Platform SDK Feb. 2003
> > Apache Ant 1.7.1
> > AntContrib 1.0b3
> > CppTasks 1.0b5
> > log4cxx 0.10.0
> > apr 1.3.3
> > apr-util 1.3.4
> >

>
> The APR and APR-Util versions listed are substantially later than the
> ones that were current at the time of the log4cxx 0.10.0 release. If
> I remember correctly, 1.2.12 was the current release, but compilation
> problems resulted in releasing against APR 1.2.11 and APR-Util 1.2.10.


> Does log4cxx build properly on your configuration with those versions
> of APR and APR-Util? If so, then we can look at figuring out what has


> changed and how to either compensate or push the issue back to APR.


Thanks for your reply.

Switching to apr 1.2.11 and apr-util 1.2.10 did indeed eliminate the
compiler errors.

Unfortunately, the build is still failing with apr-util linker errors:

[cc] Starting link
[cc] Creating library aprutil-1.lib and object aprutil-1.exp
[cc] getuuid.obj : error LNK2001: unresolved external symbol
_apr_os_uuid_get@4
[cc] getuuid.obj : error LNK2001: unresolved external symbol
_apr_generate_random_bytes@8
[cc] aprutil-1.dll : fatal error LNK1120: 2 unresolved externals

Any ideas?

Thanks,

Moshe


Reply With Quote
  #4  
Old 09-03-2008, 07:11 AM
Moshe Matitya
Guest
 
Default RE: Can't build using Ant with MSVC 6.0

Anyone have any idea why I'm getting these linker errors, and how to get
rid of them?

[cc] Starting link
[cc] Creating library aprutil-1.lib and object aprutil-1.exp
[cc] getuuid.obj : error LNK2001: unresolved external symbol
_apr_os_uuid_get@4
[cc] getuuid.obj : error LNK2001: unresolved external symbol
_apr_generate_random_bytes@8
[cc] aprutil-1.dll : fatal error LNK1120: 2 unresolved externals

Thanks,

Moshe


> On Wednesday, August 27, 2008 7:08 PM, Curt Arnold wrote:
> >
> > On Aug 27, 2008, at 6:48 AM, Moshe Matitya wrote:
> >
> > > I am trying to build log4cxx 0.10.0 using ant, but the build fails
> > > because of apr-util compilation errors. Am I doing something

wrong
> > > here?
> > >
> > > I am using the following environment:
> > >
> > > Micosoft Windows XP SP2
> > > Microsoft Visual C/C++ 6.0 SP 6
> > > Microsoft Platform SDK Feb. 2003
> > > Apache Ant 1.7.1
> > > AntContrib 1.0b3
> > > CppTasks 1.0b5
> > > log4cxx 0.10.0
> > > apr 1.3.3
> > > apr-util 1.3.4
> > >

> >
> > The APR and APR-Util versions listed are substantially later than

the
> > ones that were current at the time of the log4cxx 0.10.0 release.

If
> > I remember correctly, 1.2.12 was the current release, but

compilation
> > problems resulted in releasing against APR 1.2.11 and APR-Util

1.2.10.
>
> > Does log4cxx build properly on your configuration with those

versions
> > of APR and APR-Util? If so, then we can look at figuring out what

has
>
> > changed and how to either compensate or push the issue back to APR.

>
> Thanks for your reply.
>
> Switching to apr 1.2.11 and apr-util 1.2.10 did indeed eliminate the
> compiler errors.
>
> Unfortunately, the build is still failing with apr-util linker errors:
>
> [cc] Starting link
> [cc] Creating library aprutil-1.lib and object aprutil-1.exp
> [cc] getuuid.obj : error LNK2001: unresolved external symbol
> _apr_os_uuid_get@4
> [cc] getuuid.obj : error LNK2001: unresolved external symbol
> _apr_generate_random_bytes@8
> [cc] aprutil-1.dll : fatal error LNK1120: 2 unresolved

externals
>
> Any ideas?



Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 08:13 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.