Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2002 21:53:29 -0500
From:      "Daniel A. Inzirillo" <dinz@videotron.ca>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Can't build gdb-5.1
Message-ID:  <BPEFIDMMJFLOLANKODHHGEPJCAAA.dinz@videotron.ca>

next in thread | raw e-mail | index | archive | help
Hello,

I am trying to get gdb installed. The only FreeBSD port that seems to exist
is "GNU GDB 5.1 developmental snapshot", which failed to compile on my
machine. I also downloaded tarballs for gdb 5.1.1, 5.1, and 5.0 from GNU,
and in all cases the compilation failed as follows:


gmake[3]: Entering directory
`/usr/ports/devel/gdb51/work/gdb+dejagnu-20010330/b fd'
/bin/sh ./libtool --mode=compile
cc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE
-DTRAD_CORE   -I. -I. -I./../include  -I./../intl -I../intl   -W -Wall -O -p
ipe
 -c trad-core.c
cc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DTRAD_CORE -I. -I. -I./../incl
ude
-I./../intl -I../intl -W -Wall -O -pipe -c trad-core.c -o trad-core.o
trad-core.c: In function `trad_unix_core_file_p':
trad-core.c:99: structure has no member named `u_dsize'
trad-core.c:104: structure has no member named `u_ssize'
trad-core.c:121: structure has no member named `u_dsize'
trad-core.c:125: structure has no member named `u_ssize'
trad-core.c:132: structure has no member named `u_dsize'
trad-core.c:132: structure has no member named `u_ssize'
trad-core.c:182: structure has no member named `u_dsize'
trad-core.c:187: structure has no member named `u_ssize'
trad-core.c:195: structure has no member named `u_tsize'
trad-core.c:201: structure has no member named `u_ssize'
trad-core.c:218: structure has no member named `u_ar0'
trad-core.c:221: structure has no member named `u_dsize'
trad-core.c: In function `trad_unix_core_file_failing_signal':
trad-core.c:260: structure has no member named `u_sig'
trad-core.c:264: warning: control reaches end of non-void function
gmake[3]: *** [trad-core.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/devel/gdb51/work/gdb+dejagnu-20010330/bf
d'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/devel/gdb51/work/gdb+dejagnu-20010330/bf
d'
gmake[1]: *** [all-recursive-am] Error 2
gmake[1]: Leaving directory
`/usr/ports/devel/gdb51/work/gdb+dejagnu-20010330/bf
d'
gmake: *** [all-bfd] Error 2
*** Error code 2

Stop in /usr/ports/devel/gdb51.
*** Error code 1


However, compiling other large packages succeeded. It would appear that at
least one header file is not in sync with the rest.

I would appreciate either:
	* A link to another gdb port, if any exists,
	* Or any help with the compilation, if someone has solved the same problem.

Thank you all


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BPEFIDMMJFLOLANKODHHGEPJCAAA.dinz>