Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-326

link error: undefined reference to `apr_os_locale_encoding' using --with-charset=utf-8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • Tests
    • None
    • ubuntu 8.04
      gcc 4.2.3
      g++ 4.2.3

    Description

      I build log4cxx:
      ./configure --with-charset=utf-8
      make
      make install

      build liblog4cxx.a OK.

      When I use t liblog4cxx.a to test, compile failed. Link error:
      /home/yangning/myproject/log4cxx/apr-util-1.3.4/xlate/xlate.c 75 undefined reference to `apr_os_locale_encoding'
      /home/yangning/myproject/log4cxx/apr-util-1.3.4/xlate/xlate.c 72 undefined reference to `apr_os_default_encoding'

      If I build log4cxx without '--with-charset=utf-8',it work OK.

      Attachments

        Issue Links

          Activity

            People

              carnold@apache.org Curt Arnold
              ganlnyn YangNing
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 72h
                  72h
                  Remaining:
                  Remaining Estimate - 72h
                  72h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified