From: Alex Turner <musicmaker@newfutureweb.com>
To: gdb@sourceware.cygnus.com
Subject: GDB compile problem.
Date: Sun, 25 Feb 2001 15:15:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.10.10102251810520.28889-100000@galaxy.newfutureweb.com> (raw)
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.
next reply other threads:[~2001-02-25 15:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-25 15:15 Alex Turner [this message]
2001-02-25 21:31 ` Trond Eivind Glomsrød
2001-02-25 22:05 ` Alex Turner
2001-02-26 6:06 ` Trond Eivind Glomsrød
2001-02-25 15:51 Michael Elizabeth Chastain
2001-02-25 22:55 Michael Elizabeth Chastain
2001-02-26 4:07 Michael Elizabeth Chastain
2001-02-26 7:08 ` Eli Zaretskii
2001-02-26 10:47 Michael Elizabeth Chastain
2001-02-26 11:51 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.10.10102251810520.28889-100000@galaxy.newfutureweb.com \
--to=musicmaker@newfutureweb.com \
--cc=gdb@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox