Closed Bug 88703 Opened 23 years ago Closed 23 years ago

sun with forte 6.0 update 1 doesnt compile mozilla with xprint

Categories

(Core Graveyard :: Printing: Xprint, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID
mozilla0.9.4

People

(Reporter: tomi.leppikangas, Assigned: roland.mainz)

References

Details

Forte 6.0 can't copiler mozilla with xprint turned on. When compiling
nsFontMetricsXlib.cpp and nsXPrintContext.cpp i get errors:


"/usr/include/strings.h", line 28: Error: Only one of a set of overloaded
functions can be extern "C".
"/usr/include/strings.h", line 28: Error: std::strchr(const char*, int),
returning char*, was previously declared returning const char*.
"/usr/include/strings.h", line 29: Error: Only one of a set of overloaded
functions can be extern "C".
"/usr/include/strings.h", line 29: Error: std::strrchr(const char*, int),
returning char*, was previously declared returning const char*.

# cc -V
cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
Looks you're missing some compiler patches...
... see
http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/xprod-WorkShop&nav=pub-patches

----

Swapping QA<-->owner
Assignee: katakai → Roland.Mainz
QA Contact: Roland.Mainz → katakai
Ok i'll seem to miss patch 109513-05. It has description
"C 5.2: Patch for Forte Development 6 C compiler", thats misleading,
other Update 1 patches have "Forte Development 6 update 1" on description.

Also that patch (and others update 1 patches) is missig from
http://sunsolve.sun.com/private-cgi/show.pl?target=patches/zpS-LanguagesandCompilers&nav=prod-patches#S-C
I _love_ those links from /private-cgi/ ... ;-((

SunSolve stuff is nice work - but some stuff is really _hard_ to find...
Status: NEW → ASSIGNED
Ok i installed that patch, but still get same error. I  have thease
SPRO patches installed: (have 4.2 and 5.0 copilers too)

showrev -p | fgrep SPRO |awk '{print $2}'
107295-02
107311-12
107354-02
107390-11
107989-01
109503-05
109504-01
109505-06
109506-04
109508-03
109510-03
109513-05
109519-01

# /opt/forte/SUNWspro/WS6U1/bin/CC -V
CC: Sun WorkShop 6 update 1 C++ 5.2 Patch 109508-03 2001/04/07
# /opt/forte/SUNWspro/WS6U1/bin/cc -V
cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
imoT: 
1. Which OS/kernel patch do you run ?
2. I need the last ~100 lines of the build log (e.g. console output), e.g. more
context, please...
Target Milestone: --- → mozilla0.9.3
I find out that this is known problem, sunsolve bug id=4421358
its fixed in Xsun patch:
108652-35 for solaris 8
108376-24 for solaris 7

I havent tested those yet, i'll test them later.
Any news here ? 
I'd like to close this bug and add the info to the Solaris build page if
possible (bug 86422)...
I haven't installed patch to that machine yet, but other solaris 8 machines
with Xsun patch (108652-35) works ok.
bug 88703 may be a DUPLICATE of this one...
*** Bug 91313 has been marked as a duplicate of this bug. ***
Retargeting to milestone 0.9.4... ;-(
Reporter - any news here ?
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Installing Xsun patch fixed this, marking as INVALID.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.