Closed Bug 301629 Opened 19 years ago Closed 19 years ago

Firefox 1.0.6 and GCC 4.0.1 compilation issue (easy to fix)

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 284386

People

(Reporter: u209627, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.9) Gecko/20050714 Firefox/1.0.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.9) Gecko/20050714 Firefox/1.0.5

Linux 2.6.12
gcc 4.0.1
Firefox 1.0.6

gcc -o /home/fraga/src/firefox/nss/nsspki/asymmkey.o -c -O2 -fPIC -DLINUX1_2
-Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux
-D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -DNSS_3_4_CODE -UDEBUG
-DNDEBUG -D_REENTRANT -I/home/fraga/src/firefox/dist/include 
-I/home/fraga/src/firefox/dist/public/nss
-I/home/fraga/src/firefox/dist/private/nss
-I/home/fraga/src/firefox/dist/include
-I/home/fraga/src/firefox/dist/include/nspr
-I/home/fraga/src/firefox/dist/include/dbm
-I/home/fraga/src/firefox/dist/public/nspr  asymmkey.c
In file included from /home/fraga/src/firefox/dist/private/nss/nsspki1.h:57,
                 from nsspki.h:56,
                 from asymmkey.c:39:
/home/fraga/src/firefox/dist/private/nss/oiddata.h:46: error: array type has
incomplete element type
make[4]: *** [/home/fraga/src/firefox/nss/nsspki/asymmkey.o] Error 1

Quick fix: just remove the brackets from oiddata.h, line 46.

extern const NSSOID nss_builtin_oids[];

 change to

extern const NSSOID nss_builtin_oids;





Reproducible: Always
fwiw, removing the brackets would be the wrong fix

*** This bug has been marked as a duplicate of 284386 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.