Closed Bug 167960 Opened 22 years ago Closed 22 years ago

Cannot compile mozilla-1.1b on Tru64 5.1A

Categories

(NSPR :: NSPR, defect)

DEC
OSF/1
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 190531

People

(Reporter: mmokrejs, Assigned: wtc)

Details

Hi,
  I tried to compile mozilla-1.1b on Tru64Unix, but I got:

cc -std1 -ieee_with_inexact -readonly_strings -o prlog.o -c     -g   -UNDEBUG 
-DMOZILLA_CLIENT=1 -DDEBUG=1 -DDEBUG_mokrejs=1 -DXP_UNIX=1 -DOSF1=1
-D_REENTRANT=1 -DOSF1_HAVE_MACHINE_BUILTINS_H=1 -DHAVE_FCNTL_FILE_LOCKING=1
-DHAVE_POINTER_LOCALTIME_R=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1  -DFORCE_PR_LOG
-D_NSPR_BUILD_
-I/var/cluster/members/member0/tmp/mokrejs/mozilla/dist/include/nspr
-I../../../pr/include -I../../../pr/include/private  prlog.c
cc: Warning: prlog.c, line 439: In the initializer for _me,
"_MD_CURRENT_THREAD(...)" of type "int", is being converted to "pointer to
struct PRThread". (cvtdiftypes)
    _PR_LOCK_LOG();
----^
cc: Warning: prlog.c, line 457: In this statement, "_MD_CURRENT_THREAD(...)" of
type "int", is being converted to "pointer to struct PRThread". (cvtdiftypes)
    _PR_UNLOCK_LOG();
----^
cc: Error: prlog.c, line 457: In this statement, "(_MD_CURRENT_CPU(...))" has a
signed int type, but occurs in a context that requires a pointer. (needpointer)
    _PR_UNLOCK_LOG();
----^
cc: Warning: prlog.c, line 457: In this statement, "(_MD_CURRENT_CPU(...))" of
type "int", is being converted to "pointer to struct _PRCPU". (cvtdiftypes)
    _PR_UNLOCK_LOG();
----^
cc: Warning: prlog.c, line 464: In the initializer for _me,
"_MD_CURRENT_THREAD(...)" of type "int", is being converted to "pointer to
struct PRThread". (cvtdiftypes)
        _PR_LOCK_LOG();
--------^
cc: Warning: prlog.c, line 469: In this statement, "_MD_CURRENT_THREAD(...)" of
type "int", is being converted to "pointer to struct PRThread". (cvtdiftypes)
        _PR_UNLOCK_LOG();
--------^
cc: Error: prlog.c, line 469: In this statement, "(_MD_CURRENT_CPU(...))" has a
signed int type, but occurs in a context that requires a pointer. (needpointer)
        _PR_UNLOCK_LOG();
--------^
cc: Warning: prlog.c, line 469: In this statement, "(_MD_CURRENT_CPU(...))" of
type "int", is being converted to "pointer to struct _PRCPU". (cvtdiftypes)
        _PR_UNLOCK_LOG();
--------^
make[5]: *** [prlog.o] Error 1
make[5]: Leaving directory
`/var/cluster/members/member0/tmp/mokrejs/mozilla/nsprpub/pr/src/io'


I tried gcc for instead of cc in this case, but same problem.
Any ideas?
-> NSPR
Assignee: seawood → wtc
Component: Build Config → NSPR
Product: Browser → NSPR
QA Contact: granrose → wtc
is it obligatory to use 1.1b and does this still happen with 1.2.x - newer?
This bug and bug 190531 are duplicates.  Although
this bug is filed first, I am resolving this bug as
a duplicate because bug 190531 has more information.

*** This bug has been marked as a duplicate of 190531 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.