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]
Other format: [Raw text]

*** [ser-tcp.o] Error 1 on alpha!


Hello,
when I tried applying the patch today I noticed it was already
applied: ) -thanks
so I built basic-gcc_2.95.3 native toolchain/gdb, and i got the following
error- : (
gcc -c -g -O2    -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb -I/mn
t/u9/toolchain
/buildsys/source/toolchain/gdb/config -DHAVE_CONFIG_H -I/mnt/u9/toolchain/bu
ildsys/source/
toolchain/gdb/../include/opcode -I/mnt/u9/toolchain/buildsys/source/toolchai
n/gdb/../readl
ine/.. -I../bfd -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../bfd -DN
O_MMALLOC  -I/
mnt/u9/toolchain/buildsys/source/toolchain/gdb/../include -I../intl -I/mnt/u
9/toolchain/bu
ildsys/source/toolchain/gdb/../intl  -DMI_OUT=1 -DGDBTK -DUI_OUT=1 -Wimplici
t -Wreturn-typ
e -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitializ
ed  /mnt/u9/to
olchain/buildsys/source/toolchain/gdb/ser-tcp.c
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c: In function
`net_open':
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:67: warning:
implicit declaratio
n of function `strncmp'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:81: warning:
implicit declaratio
n of function `strncpy'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:83: warning:
implicit declaratio
n of function `atoi'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:87: warning: type
mismatch in im
plicit declaration for built-in function `strcpy'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:112: warning:
implicit declarati
on of function `ioctl'
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:112: `FIONBIO'
undeclared (first
 use in this function)
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:112: (Each
undeclared identifier
 is reported only once
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:112: for each
function it appear
s in.)
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c: In function
`net_close':
/mnt/u9/toolchain/buildsys/source/toolchain/gdb/ser-tcp.c:203: warning:
implicit declarati
on of function `close'
make[2]: *** [ser-tcp.o] Error 1
make[2]: Leaving directory
`/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/nativ
e/toolchain/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory
`/mnt/u9/toolchain/buildsys/build/alpha9/basic-gcc_2.95.3/nativ
e/toolchain'
make: *** [bootstrap] Error 2

-----Original Message-----
From: owner-linuxlab@io.iol.unh.edu
[mailto:owner-linuxlab@io.iol.unh.edu]On Behalf Of Andrew Cagney
Sent: Thursday, June 20, 2002 7:33 PM
To: Elena Zannoni
Cc: Mike Cleary; gdb@sources.redhat.com; clp
Subject: Re: GDB *** [event-top.o] Error 1!!


> -      arg1->data.integer = time_at_cmd_start;
> -      arg2->data.integer = space_at_cmd_start;
> +      arg1->data.longint = time_at_cmd_start;
> +#ifdef HAVE_SBRK
> +      arg2->data.longint = space_at_cmd_start;
> +#endif
>        add_continuation (command_line_handler_continuation, arg1);
>      }

Hmm, might as well pull that into the 5.2 branch.

Andrew


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