Closed
Bug 81304
Opened 25 years ago
Closed 24 years ago
Unable to compile with gcc on solaris 8
Categories
(Core Graveyard :: Security: UI, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
Future
People
(Reporter: doc, Assigned: javi)
References
(
URL
)
Details
Attachments
(1 file)
|
5.92 KB,
text/plain
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.18 i686; en-US; rv:0.9) Gecko/20010505
BuildID: 0.9 source downloaded 20010515
Reproducible: Always
Steps to Reproduce:
Attempt to build Mozilla using GCC compiler on solaris 8
Actual Results: In directory mozilla/security/nss/lib/crmf
Got these errors trying to build crmfenc.o on Solaris
First from gmake
===============================================================================
bash-2.03# gmake
../../../coreconf/nsinstall/SunOS5.8_gcc_DBG.OBJ/nsinstall -R -m 444 crmf.h crmf
t.h cmmf.h cmmft.h ../../../../dist/public/security
../../../coreconf/nsinstall/SunOS5.8_gcc_DBG.OBJ/nsinstall -R -m 444 crmfi.h crm
fit.h cmmfi.h cmmfit.h ../../../../dist/private/security
gcc -o SunOS5.8_gcc_DBG.OBJ/crmfenc.o -c -O2 -g -Wall -Wno-format -fPIC -DSVR4 -
DSYSV -D__svr4 -D__svr4__ -DSOLARIS -D_REENTRANT -DSOLARIS2_8 -D_SVID_GETTOD -MD
update SunOS5.8_gcc_DBG.OBJ/.md -mcpu=v8 -DXP_UNIX -DDEBUG -UNDEBUG -DDEBUG_root
-I/usr/dt/include -I/usr/openwin/include -I../../../../dist/SunOS5.8_gcc_DBG.OB
J/include -I../../../../dist/public/security -I../../../../dist/private/securit
y -I../../../../dist/public/dbm crmfenc.c
gcc: cannot specify -o with -c or -S and multiple compilations
gmake: *** [SunOS5.8_gcc_DBG.OBJ/crmfenc.o] Error 1
===============================================================================
Next, tried to run gcc myself with the appropriate options....
===============================================================================
bash-2.03# gcc -c -O2 -Wall -Wno-format -fPIC -DSVR4 -DSYSV -D__svr4 -D__svr4__
-DSOLARIS -D_REENTRANT -DSOLARIS2_8 -D_SVID_GETTOD -mcpu=v8 -DXP_UNIX -DDEBUG -
UNDEBUG -DDEBUG_root -I/usr/dt/include -I/usr/openwin/include -I../../../../dist
/SunOS5.8_gcc_DBG.OBJ/include -I../../../../dist/public/security -I../../../../
dist/private/security -I../../../../dist/public/dbm crmfenc.c
In file included from crmf.h:39,
from crmfenc.c:36:
../../../../dist/public/security/seccomon.h:47: prtypes.h: No such file or direc
tory
In file included from ../../../../dist/public/security/seccomon.h:58,
from crmf.h:39,
from crmfenc.c:36:
../../../../dist/public/security/secport.h:99: prtypes.h: No such file or direct
ory
../../../../dist/public/security/secport.h:100: prlog.h: No such file or directo
ry
../../../../dist/public/security/secport.h:101: plarena.h: No such file or direc
tory
../../../../dist/public/security/secport.h:102: plstr.h: No such file or directo
ry
In file included from crmf.h:40,
from crmfenc.c:36:
../../../../dist/public/security/cert.h:43: plarena.h: No such file or directory
../../../../dist/public/security/cert.h:44: plhash.h: No such file or directory
../../../../dist/public/security/cert.h:45: prlong.h: No such file or directory
../../../../dist/public/security/cert.h:46: prlog.h: No such file or directory
In file included from ../../../../dist/public/security/secoidt.h:42,
from ../../../../dist/public/security/cert.h:50,
from crmf.h:40,
from crmfenc.c:36:
../../../../dist/public/security/secitem.h:43: plarena.h: No such file or direct
ory
In file included from ../../../../dist/public/security/keytlow.h:36,
from ../../../../dist/public/security/keyt.h:41,
from ../../../../dist/public/security/cert.h:51,
from crmf.h:40,
from crmfenc.c:36:
../../../../dist/public/security/blapit.h:42: plarena.h: No such file or directo
ry
In file included from ../../../../dist/public/security/keyt.h:43,
from ../../../../dist/public/security/cert.h:51,
from crmf.h:40,
from crmfenc.c:36:
../../../../dist/public/security/keythi.h:38: plarena.h: No such file or directo
ry
In file included from ../../../../dist/public/security/keythi.h:39,
from ../../../../dist/public/security/keyt.h:43,
from ../../../../dist/public/security/cert.h:51,
from crmf.h:40,
from crmfenc.c:36:
../../../../dist/public/security/pkcs11t.h:55: prtypes.h: No such file or direct
ory
In file included from ../../../../dist/public/security/keyt.h:44,
from ../../../../dist/public/security/cert.h:51,
from crmf.h:40,
from crmfenc.c:36:
More of the same followed
Severity: critical → blocker
Keywords: nsenterprise
-> 2.0
-> P3
Assignee: ddrinan → javi
Priority: -- → P3
Version: unspecified → 2.0
For solaris, versions should include 5.6 5.7 and 5.8
Output from uname -X
System = SunOS
Node = odn
Release = 5.8
KernelID = Generic_108528-01
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
This is Solaris 8
The 01/01 release, I think....
Hmm, OK so how do compile mozilla with PSM 2.0 instead of 1.4 and where do I
download PSM 2.0 from?
| Assignee | ||
Comment 9•25 years ago
|
||
Try the instructions at this page.
http://mozilla.org/projects/security/pki/psm/buildpsm.html
You should no longer have to "download" PSM separately as PSM 2 gets built in
the mozilla build process now.
| Reporter | ||
Comment 10•25 years ago
|
||
As of when?
Last one I downloaded had PSM 1.4.
Comment 12•25 years ago
|
||
Moving all P3 and P4 bugs targetted to 2.1 to future.
Target Milestone: 2.1 → Future
Comment 13•25 years ago
|
||
doc, I assume you have used the "./configure" script before you tried to call
gmake, did you?
And did you use the following commands to build?
1) ./configure
2) gmake
3) ./configure --enable-modules=psm2
4) gmake BUILD_MODULES=psm2
And is my assumption right, that the first three stages completed successfully,
but you failed in stage 4?
And if you fail in the middle in stage 4, does it fail immediately or after a
bunch of files has already been compiled.
Just wanted to make sure you use the right commands before we think about other
possibilies.
Comment 14•25 years ago
|
||
removing nsenterprise keyword from PSM bugs with target milestone of future.
Keywords: nsenterprise
| Reporter | ||
Comment 16•24 years ago
|
||
Problem resolved with release 0.94
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•