Closed
Bug 68750
Opened 24 years ago
Closed 24 years ago
Problems building
Categories
(SeaMonkey :: Build Config, defect)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: rainerm, Assigned: cls)
Details
This is the first time I've tried to build so it may be my fault, here is the
relevant information. Any hints would be appreciated. GCC = 2.95.2, gmake =
3.79, glib = 2.2.1, kernel = 2.4.1-pre10.
make[4]: Entering directory
`/opt/home/rmager/devel/External/mozilla/xpcom/tools/registry'
regxpcom.cpp
c++ -o regxpcom.o -c -DOSTYPE=\"Linux2.4\" -DOJI -DUSE_NSREG
-I../../../dist/include -I../../../dist/include
-I/usr/X11R6/include -fPIC -fno-rtti -fno-exceptions -Wall -Wconversion
-Wpointer-arith -Wbad-function-cast -
Wcast-align -Woverloaded-virtual -Wsynth -Wshadow -pedantic -Wno-long-long
-pthread -DDEBUG -DDEBUG_rmager -DTRAC
ING -g -DMOZILLA_CLIENT -include ../../../config-defs.h
-Wp,-MD,.deps/regxpcom.pp regxpcom.cpp
In file included from
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/iostream.h:31,
from regxpcom.cpp:24:
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:
In method `struct streampos
streambuf::pubseekoff(long long int, ios::seek_dir, int = 3)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:362:
conversion from `__off6
4_t' to non-scalar type `streampos' requested
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:
In method `struct streampos
streambuf::pubseekpos(_G_fpos64_t, int = 3)':
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:364:
`struct streampos' used
where a `long long int' was expected
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../include/g++-3/streambuf.h:364:
warning: control reache
s end of non-void function `streambuf::pubseekpos(_G_fpos64_t, int)'
make[4]: *** [regxpcom.o] Error 1
make[4]: Leaving directory
`/opt/home/rmager/devel/External/mozilla/xpcom/tools/registry'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/opt/home/rmager/devel/External/mozilla/xpcom/tools'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/opt/home/rmager/devel/External/mozilla/xpcom'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/opt/home/rmager/devel/External/mozilla'
make: *** [build] Error 2
Comment 1•24 years ago
|
||
Looks like an error in the system <streambuf.h> header
Mozilla is just including <iostream.h>; that's including <streambuf.h>
Over to build config. This looks like an issue that compiler version has with
the header files installed with it.
Component: XPCOM Registry → Build Config
Comment 3•24 years ago
|
||
Marking NEW to get someone with more experience to look at it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 4•24 years ago
|
||
I found the problem and fixed it. When upgrading to glibc 2.2.1 the C++
libraries need a patch. This is not stated in the glibc docs. I can't remember
where I found the reference but searching through the glibc mailing list
archives for "iostream" should get you there pretty quick. The patch is tiny and
only changes 2 files.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•