Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-409

compilation error on g++ on SunOS 2.8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: XalanC
    • Labels:
      None
    • Environment:
      Operating System: Solaris
      Platform: Sun
    • Bugzilla Id:
      28639

      Description

      I tried to build Xalan-C 1.7 on Solaris with g++ 3.1 compiler. The linkage
      stage failed with complains that '-ptr' option is not supported. Apparently,
      the configuration script assumes Sun's CC compiler for linking the final
      library. I traced the problem down to the line 307 of the Makefile.incl.in:
      the linking options were set the same for both Sun’s CC and g++ compilers. I
      believe that you guys did the testing only for Sun’s CC on Solaris, and not
      for g++ on Solaris combination, since the problem is obvious.

      runConfigure -p solaris -cgcc -xg++ -r pthread

      Line 307: MAKE_SHARED_LOC = ${CXX} -D${PLATFORM} -G -ptr$(ALL_OBJECTS_DIR)
      ${LDFLAGS} -h ${LOC_SONAME}

      Thanks!
      Igor

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              igor@pcigeomatics.com Igor Lapshin
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: