From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Turner To: gdb@sourceware.cygnus.com Subject: GDB compile problem. Date: Sun, 25 Feb 2001 15:15:00 -0000 Message-id: X-SW-Source: 2001-02/msg00344.html I'm writing a multithreaded MUD thing (It's a bit more than just a MUD), and I'm having some thread problems, so I decided to upgrade to gdb 5.0. Only thing is, it doesnt appear that there are binaries readily available for RedHat 6.2 (I really didnt like the look of RH7). I tried building the MUD on RH7, but there seems to be a problem with the C++ library, and I get thread lock whenever I call cout. So I tried compiling gdb5.0 on RH6.2, and get the following error: gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include -W -Wall -Wtraditional getpwd.c getpwd.c: In function `getpwd': getpwd.c:62: storage size of `dotstat' isn't known getpwd.c:62: storage size of `pwdstat' isn't known getpwd.c:66: warning: implicit declaration of function `getenv' getpwd.c:66: warning: assignment makes pointer from integer without a cast getpwd.c:68: warning: implicit declaration of function `stat' getpwd.c:74: warning: implicit declaration of function `getcwd' getpwd.c:77: warning: implicit declaration of function `free' getpwd.c:62: warning: unused variable `pwdstat' getpwd.c:62: warning: unused variable `dotstat' make[1]: *** [getpwd.o] Error 1 make[1]: Leaving directory `/usr/local/src/gdb-5.0/libiberty' make: *** [all-libiberty] Error 2 Am I missing some libraries or do I have a bad compiler? What can I do to fix this problem? I just did a standard ./configure --prefix=/usr/local/gdb make Are there some options that I need here? Alex T.