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]

gdb build problem


Hi,

i try to build gdb (gdb-5.2.1.tar.bz2), i have the follow compiler problem:

[gdb-5.2.1]#
./configure --target=arm-elf --host=i686-linux --build=i686-linux
[gdb-5.2.1]# make

................
................

make[2]: Entering directory `/root/arm-elf-gdb/src/gdb-5.2.1/gdb/rdi-share'
gcc -DPACKAGE=\"rdi-share\" -DVERSION=\"1.0\" -DHAVE_FCNTL_H=1 -DHAVE_SYS_IO
CTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSI
GTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOC
KET=1 -DHAVE_STRTOD=1 -DHAVE_STRTOUL=1 -DHAVE_MEMCPY=1 -DHAVE_MEMMOVE=1 -I. 
-I. -DRETRANS -DARM_RELEASE='"Berkeley Licence for Cygnus"' -g -O2 -c ardi.c
ardi.c:84:22: macro "va_start" passed 2 arguments, but takes just 1
ardi.c: In function `angel_DebugPrint':
ardi.c:84: `va_start' undeclared (first use in this function)
ardi.c:84: (Each undeclared identifier is reported only once
ardi.c:84: for each function it appears in.)
make[2]: *** [ardi.o] Error 1
make[2]: Leaving directory `/root/arm-elf-gdb/src/gdb-5.2.1/gdb/rdi-share'
make[1]: *** [rdi-share/libangsd.a] Error 2
make[1]: Leaving directory `/root/arm-elf-gdb/src/gdb-5.2.1/gdb'
make: *** [all-gdb] Error 2
[gdb-5.2.1]#

My platform is : Linux-RedHat 9
Could anyone help me about this issue ?
Thanks in advance.
Tiziano


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