This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: compile error building a snapshot


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 *


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