This is the mail archive of the gcc-bugs@gcc.gnu.org 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]

gcc-3.0 build problems (SuSE-7.1)


I tried to compile gcc-3.0 on SuSE Linux 7.1 and got the following:


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
../../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
../../gcc-3.0/libiberty/getpwd.c:66: warning: implicit declaration of
function `getenv'
../../gcc-3.0/libiberty/getpwd.c:66: warning: assignment makes pointer
from integer without a cast
../../gcc-3.0/libiberty/getpwd.c:68: warning: implicit declaration of
function `stat'
../../gcc-3.0/libiberty/getpwd.c:74: warning: implicit declaration of
function `getcwd'
../../gcc-3.0/libiberty/getpwd.c:77: warning: implicit declaration of
function `free'
../../gcc-3.0/libiberty/getpwd.c:62: warning: unused variable `pwdstat'
../../gcc-3.0/libiberty/getpwd.c:62: warning: unused variable `dotstat'
make[1]: *** [getpwd.o] Error 1
make[1]: Leaving directory `/usr/src/gcc-3.0/gcc-obj/libiberty'
make: *** [all-libiberty] Error 2

does anyone know what this means?

cheers,

Daniel


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