gcc-3.0 build problems (SuSE-7.1)
Andreas Jaeger
aj@suse.de
Tue Jul 17 09:57:00 GMT 2001
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
More information about the Gcc-bugs
mailing list