You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2004/04/27 23:18:44 UTC
DO NOT REPLY [Bug 28639] New: -
compilation error on g++ on SunOS 2.8
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28639>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28639
compilation error on g++ on SunOS 2.8
Summary: compilation error on g++ on SunOS 2.8
Product: XalanC
Version: 1.7
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Major
Priority: Other
Component: XalanC
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: igor@pcigeomatics.com
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
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org