This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-3.0 build problems (SuSE-7.1)
- To: Daniel Rohe <rohe at physik dot rwth-aachen dot de>
- Subject: Re: gcc-3.0 build problems (SuSE-7.1)
- From: Andreas Jaeger <aj at suse dot de>
- Date: Tue, 17 Jul 2001 18:55:45 +0200
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <3B53F8C3.11A7497B@physik.rwth-aachen.de>
Daniel Rohe <rohe@physik.RWTH-Aachen.DE> writes:
> I tried to compile gcc-3.0 on SuSE Linux 7.1 and got the following:
Just for the record: IT works fine for me and I do have prebuild GCC
3.0 RPM for SuSE 7.1 (check http://www.suse.de/~aj/gcc30.html).
>
> cd /usr/src
> mkdir gcc-3.0
> mv gcc-3.0.tar.bz2 gcc-3.0
> cd gcc-3.0
> bunzip2 gcc-3.0.tar.bz2
> tar xvf gcc-3.0.tar
> mkdir gcc-obj
> cd gcc-obj
> ../gcc-3.0/configure --prefix=/usr/local0
> make bootstrap
>
> /usr/bin/gcc -c -DHAVE_CONFIG_H -g -O2 -I.
> -I../../gcc-3.0/libiberty/../include -W -Wall -Wtraditional -pedantic
> ../../gcc-3.0/libiberty/getpwd.c
> In file included from ../../gcc-3.0/libiberty/getpwd.c:7:
> /usr/include/sys/types.h:96: warning: empty declaration
Please check the output to see why this happens, this might be the
root of the problem.
> ../../gcc-3.0/libiberty/getpwd.c: In function `getpwd':
> ../../gcc-3.0/libiberty/getpwd.c:62: storage size of `dotstat' isn't
> known
> ../../gcc-3.0/libiberty/getpwd.c:62: storage size of `pwdstat' isn't
> known
struct stat is not declared.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj