Below are the errors I get – they seem centered around the APR random stuff. In 
APR 1.5.2, I only see a unix directory under the random directory.

 

       [cc] nteventlogappender.cpp

       [cc] Generating Code...

       [cc] Starting link

       [cc]    Creating library log4cxx.lib and object log4cxx.exp

       [cc] apr-1.lib(pipe.obj) : error LNK2019: unresolved external symbol apr_

generate_random_bytes referenced in function apr_file_pipe_create_ex

       [cc] apr-1.lib(pipe.obj) : error LNK2019: unresolved external symbol apr_

escape_hex referenced in function apr_file_pipe_create_ex

       [cc] log4cxx.dll : fatal error LNK1120: 2 unresolved externals

 

BUILD FAILED

 

This is with the latest log4cxx trunk (just did an svn up to rev 1708163), 
using the ant build command I had outlined previously.

 

Regards, 

 

DANA IRVIN (DIRV) | SR SOFTWARE ENGINEER | INGENICOMM, INC. | 720.328.0058 | 
dir...@ingenicomm.com

 

-----Original Message-----
From: Thorsten Schöning [mailto:tschoen...@am-soft.de] 
Sent: Monday, October 12, 2015 10:49 AM
To: Log4CXX User; dir...@ingenicomm.com
Subject: Re: Help with first C++ program to do logging

 

Guten Tag Dana Irvin,

am Montag, 12. Oktober 2015 um 18:33 schrieben Sie:

 

> One thing

> of note – I found the trunk wouldn’t compile/link complete with the 

> current version of APR and APR-Util. I had to use APR 1.5.1 and 

> APR-Util 1.5.3 for Windows. There are some undefined references in the 

> Win32 build of one of those. I don’t remember which. Thorsten, have 

> you or any of the contributors seen something similar?

 

No and in fact I spent the last two weeks or so to get APR 1.5.2, APR-Util 
1.5.4 and APR-Iconv 1.2.1 R2 running and usable with current trunk of log4cxx, 
successful in the end. But I created my own custom projects from scratch for my 
Embarcadero C++-Builder 10 and the things I needed to address where all around 
that compiler and its support by APR.

 

So, could you be more verbose about the errors you got? We should at least file 
some bugs.

 

Mit freundlichen Grüßen,

 

Thorsten Schöning

 

-- 

Thorsten Schöning       E-Mail:  <mailto:thorsten.schoen...@am-soft.de> 
thorsten.schoen...@am-soft.de

AM-SoFT IT-Systeme       <http://www.AM-SoFT.de/> http://www.AM-SoFT.de/

 

Telefon...........05151-  9468- 55

Fax...............05151-  9468- 88

Mobil..............0178-8 9468- 04

 

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 
207 694 - Geschäftsführer: Andreas Muchow

 

 

-----

No virus found in this message.

Checked by AVG -  <http://www.avg.com> www.avg.com

Version: 2015.0.6172 / Virus Database: 4435/10782 - Release Date: 10/08/15

Reply via email to