• Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Build
    • Labels:


      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.


        Curt Arnold created issue -
        Curt Arnold made changes -
        Field Original Value New Value
        Attachment gcclinkerr.tar.gz [ 12348522 ]
        Curt Arnold made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 0.10.0 [ 10782 ]


          • Assignee:
            Curt Arnold
            Curt Arnold
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: