This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc-3.0 build problems (SuSE-7.1)

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

> 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 Jaeger
  SuSE Labs

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]