Issue Details (XML | Word | Printable)

Key: LOGCXX-74
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Curt Arnold
Reporter: Curt Arnold
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4cxx

MinGW build

Created: 13/Mar/05 05:54 AM   Updated: 21/Feb/08 06:44 AM
Return to search
Component/s: Build
Affects Version/s: 0.10.0
Fix Version/s: 0.10.0

Time Tracking:
Not Specified

File Attachments:
  Size
GZip Archive gcclinkerr.tar.gz 2007-01-08 11:23 PM Curt Arnold 5 kB

Resolution Date: 21/Feb/08 06:44 AM


 Description  « Hide
With the initial changes associated with this bug, I've been able to have partial success building log4cxx using MinGW-3.2.0-rc-3. The apr-1.1.0.patch file has been updated to fix issues that were preventing APR from compiling. There were a lot of compile issues related to wide-char locales, streams and consoles. It is likely best to added to utf-8 build initially.

To attempt a build:

set path=\mingw\bin;%PATH%
ant -Dcompiler=gcc -Dhas.wchar_t=0

Currently thread.cpp will fail with a method doesn't match prototype error on Thread::run (though the method looks exactly like the prototype). If you stub that out by putting a empty body in thread.h and #if'ing the real implementation. You will proceed to link and get a decent number of unsatisified references of Win32 API methods that are apparently not provided by the MinGW libraries. It may be possible to either only build a subset of the appenders or supply the missing methods, but I'm not going to take the time right now.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Curt Arnold made changes - 08/Jan/07 11:23 PM
Field Original Value New Value
Attachment gcclinkerr.tar.gz [ 12348522 ]
Curt Arnold made changes - 21/Feb/08 06:44 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 0.10.0 [ 10782 ]