Sorry, I thought that you were trying to compile the CVS HEAD. log4cxx-0.9.7 is way out of date and not representative of current development. Don't know if the CVS HEAD will compile on eVC, but that is where things can be fixed.

On Jun 2, 2005, at 8:41 AM, Matthias Krause wrote:

Hi,
here some information:
The sys/stat.h and others does not exists for eVC. The *pwlib* *library from *openh323 may have some support for this.
But seems to be annother old port of STL.

Also i have added my build log from evc. (I exclude some files from build).

I hope this will help a little bit and save some time.

Greetings

Matthias Krause


Curt Arnold wrote:


If it is failing on sys/stat.h, what is really occurring is a failure to compile Apache Portable Runtime. I haven't tried compiling with eVC. Will add it to my list of platforms to check.

On Jun 2, 2005, at 6:16 AM, Matthias Krause wrote:


Hi,
is it possible to build log4cxx for eVC?
I try some builds with STLPort.
I can build and test STLPort with WCE emulator.
But a build with eVC and agains STLPort fails (e.g. missing sys/ stat.h...)




--
Matthias Krause
Softwareentwickler/Programmierer
megatel Informations- und Kommunikationssysteme GmbH
Universitaetsallee 29
28359 Bremen
Germany
Phone: +49 421 22095-0
Fax: +49 421 22095-16
http://www.megatel.de

Deleting intermediate files and output files for project 'dll - Win32 (WCE emulator) Release'. --------------------Configuration: dll - Win32 (WCE emulator) Release--------------------
Compiling...
appenderattachableimpl.cpp
appenderskeleton.cpp
asyncappender.cpp
basicconfigurator.cpp
boundedfifo.cpp
class.cpp
condition.cpp
C:\Projekt\GPSNET\log4cxx\src\condition.cpp(73) : error C2664: 'InterlockedCompareExchange' : cannot convert parameter 1 from 'void ** ' to 'long *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast C:\Projekt\GPSNET\log4cxx\src\condition.cpp(95) : error C2065: 'SignalObjectAndWait' : undeclared identifier
configurator.cpp
consoleappender.cpp
criticalsection.cpp
cyclicbuffer.cpp
dailyrollingfileappender.cpp
C:\Projekt\GPSNET\log4cxx\src\dailyrollingfileappender.cpp(21) : fatal error C1083: Cannot open include file: 'sys/stat.h': No such file or directory
datagrampacket.cpp
datagramsocket.cpp
dateformat.cpp
C:\Projekt\GPSNET\log4cxx\src\dateformat.cpp(68) : error C2664: 'wcsftime' : cannot convert parameter 3 from 'const unsigned short *' to 'const char *' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
datelayout.cpp
defaultcategoryfactory.cpp
domconfigurator.cpp
event.cpp
fallbackerrorhandler.cpp
fileappender.cpp
filewatchdog.cpp
C:\Projekt\GPSNET\log4cxx\src\filewatchdog.cpp(19) : fatal error C1083: Cannot open include file: 'sys/stat.h': No such file or directory
formattinginfo.cpp
gnomexml.cpp
hierarchy.cpp
htmllayout.cpp
inetaddress.cpp
layout.cpp
level.cpp
levelmatchfilter.cpp
levelrangefilter.cpp
loader.cpp
C:\Projekt\GPSNET\log4cxx\src\loader.cpp(30) : fatal error C1083: Cannot open include file: 'sys/stat.h': No such file or directory
locale.cpp
logger.cpp
loggingevent.cpp
loglog.cpp
logmanager.cpp
C:\Projekt\GPSNET\log4cxx\src\logmanager.cpp(28) : fatal error C1083: Cannot open include file: 'sys/stat.h': No such file or directory
mdc.cpp
msxml.cpp
C:\Programme\Windows CE Tools\wce420\OHB_EMULATOR\Include\emulator \rpcndr.h(134) : note C6311: C:\Projekt\GPSNET\log4cxx\src\msxml.cpp (0) : see previous definition of '_WIN32_DCOM' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(370) : error C2146: syntax error : missing ';' before identifier '_newEnum' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(370) : error C2501: 'IUnknownPtr' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(370) : error C2501: '_newEnum' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(381) : error C2146: syntax error : missing ';' before identifier 'Get_newEnum' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(381) : error C2501: 'IUnknownPtr' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(411) : error C2146: syntax error : missing ';' before identifier '_newEnum' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(411) : error C2501: 'IUnknownPtr' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(411) : error C2501: '_newEnum' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(434) : error C2146: syntax error : missing ';' before identifier 'Get_newEnum' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(434) : error C2501: 'IUnknownPtr' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1135) : error C2146: syntax error : missing ';' before identifier 'responseXML' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1135) : error C2501: 'IDispatchPtr' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1135) : error C2501: 'responseXML' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1145) : error C2146: syntax error : missing ';' before identifier 'onreadystatechange' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1145) : error C2501: 'IDispatchPtr' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1145) : error C2501: 'onreadystatechange' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1168) : error C2146: syntax error : missing ';' before identifier 'GetresponseXML' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1168) : error C2501: 'IDispatchPtr' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1275) : error C2146: syntax error : missing ';' before identifier '_newEnum' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1275) : error C2501: 'IUnknownPtr' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1275) : error C2501: '_newEnum' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1284) : error C2146: syntax error : missing ';' before identifier 'Get_newEnum' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1284) : error C2501: 'IUnknownPtr' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1285) : error C2146: syntax error : missing ';' before identifier 'item' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tlh(1285) : error C2501: 'IDispatchPtr' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tli(17) : error C2065: '_com_issue_errorex' : undeclared identifier c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tli(302) : error C2143: syntax error : missing ';' before 'tag::id' c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tli(302) : error C2433: 'IUnknownPtr' : 'inline' not permitted on data declarations c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tli(302) : error C2501: 'IUnknownPtr' : missing storage-class or type specifiers c:\projekt\gpsnet\log4cxx\msevc\dll\emulatorrel\msxml.tli(302) : fatal error C1004: unexpected end of file found
mutex.cpp
ndc.cpp
nteventlogappender.cpp
C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(44) : error C2039: 'GetLengthSid' : is not a member of '`global namespace'' C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(44) : error C2065: 'GetLengthSid' : undeclared identifier C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(48) : error C2039: 'CopySid' : is not a member of '`global namespace'' C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(48) : error C2660: 'CopySid' : function does not take 3 parameters C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(67) : error C2039: 'OpenProcessToken' : is not a member of '`global namespace'' C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(67) : error C2065: 'OpenProcessToken' : undeclared identifier C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(71) : error C2065: 'GetTokenInformation' : undeclared identifier C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(110) : error C2039: 'DeregisterEventSource' : is not a member of '`global namespace'' C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(110) : error C2065: 'DeregisterEventSource' : undeclared identifier C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(161) : error C2039: 'RegisterEventSource' : is not a member of '`global namespace'' C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(161) : error C2065: 'RegisterEventSource' : undeclared identifier C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(161) : error C2440: '=' : cannot convert from 'int' to 'void *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(177) : error C2039: 'ReportEvent' : is not a member of '`global namespace'' C:\Projekt\GPSNET\log4cxx\src\nteventlogappender.cpp(177) : error C2065: 'ReportEvent' : undeclared identifier
objectimpl.cpp
onlyonceerrorhandler.cpp
optionconverter.cpp
..\..\include\log4cxx/helpers/objectptr.h(77) : error C2027: use of undefined type 'Appender' ..\..\include\log4cxx/spi/loggerrepository.h(35) : see declaration of 'Appender' ..\..\include\log4cxx/helpers/objectptr.h(73) : while compiling class-template member function '__thiscall log4cxx::helpers::ObjectPtrT<class log4cxx::Appender>::log4cxx::helpers::ObjectPtrT<class log4cxx::Appender>(const class log4cxx::help
ers::ObjectPtrT<class log4cxx::Appender> &)'
..\..\include\log4cxx/helpers/objectptr.h(77) : error C2227: left of '->addRef' must point to class/struct/union ..\..\include\log4cxx/helpers/objectptr.h(73) : while compiling class-template member function '__thiscall log4cxx::helpers::ObjectPtrT<class log4cxx::Appender>::log4cxx::helpers::ObjectPtrT<class log4cxx::Appender>(const class log4cxx::help
ers::ObjectPtrT<class log4cxx::Appender> &)'
patternconverter.cpp
patternlayout.cpp
patternparser.cpp
properties.cpp
propertyconfigurator.cpp
propertyresourcebundle.cpp
propertysetter.cpp
resourcebundle.cpp
rollingfileappender.cpp
C:\Projekt\GPSNET\log4cxx\src\rollingfileappender.cpp(67) : error C2065: 'remove' : undeclared identifier C:\Projekt\GPSNET\log4cxx\src\rollingfileappender.cpp(80) : error C2065: 'rename' : undeclared identifier
rootcategory.cpp
semaphore.cpp
serversocket.cpp
simplelayout.cpp
simplesocketserver.cpp
smtpappender.cpp
stringhelper.cpp
stringmatchfilter.cpp
stringtokenizer.cpp
syslogappender.cpp
syslogwriter.cpp
system.cpp
C:\Projekt\GPSNET\log4cxx\src\system.cpp(58) : error C2039: 'getenv' : is not a member of '`global namespace'' C:\Projekt\GPSNET\log4cxx\src\system.cpp(58) : error C2065: 'getenv' : undeclared identifier C:\Projekt\GPSNET\log4cxx\src\system.cpp(58) : error C2440: 'initializing' : cannot convert from 'int' to 'char *' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast C:\Projekt\GPSNET\log4cxx\src\system.cpp(79) : error C2039: 'putenv' : is not a member of '`global namespace'' C:\Projekt\GPSNET\log4cxx\src\system.cpp(79) : error C2065: 'putenv' : undeclared identifier
telnetappender.cpp
thread.cpp
threadspecificdata.cpp
timezone.cpp
C:\Projekt\GPSNET\log4cxx\src\timezone.cpp(40) : error C2039: 'putenv' : is not a member of '`global namespace'' C:\Projekt\GPSNET\log4cxx\src\timezone.cpp(40) : error C2065: 'putenv' : undeclared identifier
transform.cpp
ttcclayout.cpp
writerappender.cpp
xmllayout.cpp
Error executing cl.exe.

log4cxx.dll - 62 error(s), 0 warning(s)

Reply via email to