* compile error building a snapshot
@ 2001-02-13 9:09 russe
0 siblings, 0 replies; 2+ messages in thread
From: russe @ 2001-02-13 9:09 UTC (permalink / raw)
To: gdb
I'm trying to build from a recent snapshot on an Intel box running
Redhat 6.2. (The reason I haven't used the head of the CVS tree is
because I haven't figured out how to ssh through my employer's
firewall yet).
make[1]: Entering directory `/a/ny22nf04/d/ny22nf04/d4/russe/compile/gdb+dejagnu-20010124/gdb'
gcc -c -g -O2 -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith thread-db.c
thread-db.c: In function `thread_db_xfer_memory':
thread-db.c:771: warning: passing arg 5 from incompatible pointer type
thread-db.c:771: too few arguments to function
thread-db.c: In function `init_thread_db_ops':
thread-db.c:1000: warning: assignment from incompatible pointer type
make[1]: *** [thread-db.o] Error 1
make[1]: Leaving directory `/a/ny22nf04/d/ny22nf04/d4/russe/compile/gdb+dejagnu-20010124/gdb'
make: *** [all-gdb] Error 2
Has this been adressed yet?
-russ
--
My mailer limits .sigs files to 2 lines. But ingeniously I bypassed this by
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: compile error building a snapshot
@ 2001-02-13 9:41 Michael Elizabeth Chastain
0 siblings, 0 replies; 2+ messages in thread
From: Michael Elizabeth Chastain @ 2001-02-13 9:41 UTC (permalink / raw)
To: gdb, russe
Hi Russ,
I build and test the head of the CVS tree once a week. On 2001-02-11
it built for me on Red Hat Linux 6.2 and Red Hat Linux 7.0.
I use the head of the gcc CVS tree for my compiler. I'm sure that's
not an issue here though.
> make[1]: Entering directory `/a/ny22nf04/d/ny22nf04/d4/russe/compile/gdb+dejagnu-20010124/gdb'
I'll assume that 20010124 is a date.
> thread-db.c: In function `thread_db_xfer_memory':
> thread-db.c:771: warning: passing arg 5 from incompatible pointer type
> thread-db.c:771: too few arguments to function
Yeah, J. T. Conklin added an argument to this interface on 2001/01/24.
Please try a more recent weekly snapshot. If that still fails,
then please post the new errors plus the "config.status" file in your
build directory.
> (The reason I haven't used the head of the CVS tree is
> because I haven't figured out how to ssh through my employer's
> firewall yet).
You don't need ssh to check out the CVS head. Basically you need:
CVSROOT=:pserver:anoncvs@anoncvs.cygnus.com:/cvs/src
export CVSROOT
cvs login
cvs -z 9 co gdb dejagnu binutils
Here's the script that I use. I regularly do this on an unprivileged
machine outside the Red Hat firewall (running vanilla software from
a retail boxed set).
Michael Elizabeth Chastain
<chastain@redhat.com>
"love without fear"
===
#! /bin/sh
# exit on error
# echo commands as they execute
set -e
set -x
# define path
# show who I am
PATH=/usr/progressive/bin:/usr/clocal/bin:/bin:/usr/bin
export PATH
date
hostname
# blow away existing directories
rm -rf gcc src source-gcc source-src
# check out gcc
CVSROOT=:pserver:anoncvs@gcc.gnu.org:/cvs/gcc
export CVSROOT
expect -c 'spawn cvs login' -c 'expect password: ' -c 'send -- "anoncvs\r"' -c 'expect eof'
cvs -z 9 co gcc
mv gcc source-gcc
rm -rf CVS
# check out src
CVSROOT=:pserver:anoncvs@anoncvs.cygnus.com:/cvs/src
export CVSROOT
expect -c 'spawn cvs login' -c 'expect password: ' -c 'send -- "anoncvs\r"' -c 'expect eof'
cvs -z 9 co gdb dejagnu binutils
mv src source-src
rm -rf CVS
# I am finished
du -s *
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-02-13 9:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-13 9:09 compile error building a snapshot russe
2001-02-13 9:41 Michael Elizabeth Chastain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).