Article View: gnu.g++.bug
Article #949glibc++ compilation problems on SVR4
From: plate
Date: Sat, 12 Sep 1992 19:15
Date: Sat, 12 Sep 1992 19:15
58 lines
3543 bytes
3543 bytes
This is the result of an attempt to compile glibc++ on Esix
SVR4.0.3A using gcc-2.2.2.1. Please let me know if I can provide
further information.
configure i386-svr4
CC='gcc'; export CC
make
rootme=`pwd` ; export rootme; CC="gcc `if [ -f ${rootme}/../gcc/gcc ] ; \
then echo -I${rootme}/../gcc/include ; \
else echo ; fi`"; export CC; \
./utils/gen-params >tmp-params.h
mv tmp-params.h _G_config.h
gcc -g -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include -c AllocRing.cc
gcc -g -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include -c Obstack.cc
[...stuff deleted...]
gcc -g -nostdinc++ -I. -I.. -I. -I./../src -I./../g++-include -c parsestream.C
gcc -g -nostdinc++ -I. -I.. -I. -I./../src -I./../g++-include -c stream.C
gcc -g -nostdinc++ -I. -I.. -I. -I./../src -I./../g++-include -c makebuf.C
In file included from ./../g++-include/sys/stat.h:14, from makebuf.C:27:
/usr/include/sys/stat.h:248: `path' undeclared, outside of functions
/usr/include/sys/stat.h:248: `buf' undeclared, outside of functions
/usr/include/sys/stat.h:249: parse error before `;'
/usr/include/sys/stat.h:251: parse error before `{'
/usr/include/sys/stat.h:253: warning: data definition has no type or storage class
/usr/include/sys/stat.h:254: parse error before `return'
/usr/include/sys/stat.h:260: parse error before `;'
/usr/include/sys/stat.h:262: parse error before `{'
/usr/include/sys/stat.h:264: redefinition of `ret'
/usr/include/sys/stat.h:253: here is the previous declaration of `ret'
/usr/include/sys/stat.h:264: multiple initializations given for `ret'
/usr/include/sys/stat.h:264: warning: data definition has no type or storage class
/usr/include/sys/stat.h:265: parse error before `return'
/usr/include/sys/stat.h:270: `fd' undeclared, outside of functions
/usr/include/sys/stat.h:271: parse error before `;'
/usr/include/sys/stat.h:273: parse error before `{'
/usr/include/sys/stat.h:275: redefinition of `ret'
/usr/include/sys/stat.h:264: here is the previous declaration of `ret'
/usr/include/sys/stat.h:275: multiple initializations given for `ret'
/usr/include/sys/stat.h:275: warning: data definition has no type or storage class
/usr/include/sys/stat.h:276: parse error before `return'
/usr/include/sys/stat.h:281: `mode' undeclared, outside of functions
/usr/include/sys/stat.h:281: `dev' undeclared, outside of functions
/usr/include/sys/stat.h:282: parse error before `;'
/usr/include/sys/stat.h:285: parse error before `{'
/usr/include/sys/stat.h:287: redefinition of `ret'
/usr/include/sys/stat.h:275: here is the previous declaration of `ret'
/usr/include/sys/stat.h:287: multiple initializations given for `ret'
/usr/include/sys/stat.h:287: warning: data definition has no type or storage class
/usr/include/sys/stat.h:288: parse error before `return'
In file included from makebuf.C:27:
./../g++-include/sys/stat.h:42: parse error before `}'
/usr/include/sys/stat.h:189: warning: `int fstat (int, struct stat*)' declared `static' but never defined
*** Error code 1 (bu21)
make: fatal error.
*** Error code 1 (bu21)
Technical Details
Message-ID:
<9209121515.AA15050@dkuug.dk>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!infotek.DK!plateShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!infotek.DK!plate From: plate@infotek.DK Subject: glibc++ compilation problems on SVR4 Message-ID: <9209121515.AA15050@dkuug.dk> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Sat, 12 Sep 1992 19:15:49 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 60