Date: Wed, 5 Mar 1997 09:06:08 +0200 From: Shaun Courtney <shaun@emma.eng.uct.ac.za> To: hackers@freebsd.org Subject: make world error in gdb with 2.2-GAMMA source Message-ID: <19970305090608.20417@emma.eng.uct.ac.za>
next in thread | raw e-mail | index | archive | help
Hi I'm trying to upgrade my 2.2-BETA to 2.2-GAMMA, so I grabed the source for 2.2-GAMMA and did a make world. It fell over when doing a make of gdb. I commented gdb out of the Makefile in /usr/src/gnu/usr.bin/ and when ahead with the make world --> no problem. The error in the gdb is in the bfd directory and in the file archive.c. Is this a know problem? Thanks Shaun Here is the output of a make: cc -O -I/usr/src/gnu/usr.bin/gdb/bfd/. -I/usr/src/gnu/usr.bin/gdb/bfd/../gdb/. -DDEFAULT_VECTOR=i386freebsd_vec -DSELECT_VECS='&i386freebsd_vec,&i386bsd_vec' -DSELECT_ARCHITECTURES='&bfd_i386_arch' -DTRAD_CORE -I/usr/src/gnu/usr.bin/gdb/bfd/../../../../contrib/gdb/include/. -I/usr/src/gnu/usr.bin/gdb/bfd/../../../../contrib/gdb/gdb/. -I/usr/src/gnu/usr.bin/gdb/bfd/../../../../contrib/gdb/bfd/. -I/usr/src/gnu/usr.bin/gdb/bfd/../../../../contrib/gdb/libiberty/. -I/usr/src/gnu/usr.bin/gdb/bfd/../../../../contrib/gdb/gdb/config/. -DHAVE_CONFIG_H -I/usr/src/gnu/usr.bin/gdb/bfd/../../../../contrib/gdb/include/. -I/usr/src/gnu/usr.bin/gdb/bfd/../../../../contrib/gdb/gdb/. -I/usr/src/gnu/usr.bin/gdb/bfd/../../../../contrib/gdb/bfd/. -I/usr/src/gnu/usr.bin/gdb/bfd/../../../../contrib/gdb/libiberty/. -I/usr/src/gnu/usr.bin/gdb/bfd/../../../../contrib/gdb/gdb/config/. -DHAVE_CONFIG_H -c /usr/src/gnu/usr.bin/gdb/bfd/archive.c -o archive.o In file included from /usr/src/gnu/usr.bin/gdb/bfd/archive.c:130: /usr/src/gnu/usr.bin/gdb/bfd/libbfd.h:366: warning: duplicate `const' /usr/src/gnu/usr.bin/gdb/bfd/libbfd.h:371: warning: duplicate `const' /usr/src/gnu/usr.bin/gdb/bfd/archive.c:562: parse error before `->' /usr/src/gnu/usr.bin/gdb/bfd/archive.c:564: `index' redeclared as different kind of symbol /usr/include/string.h:81: previous declaration of `index' /usr/src/gnu/usr.bin/gdb/bfd/archive.c:565: parse error before `{' /usr/src/gnu/usr.bin/gdb/bfd/archive.c:568: `abfd' undeclared here (not in a function) /usr/src/gnu/usr.bin/gdb/bfd/archive.c:568: initializer element is not constant /usr/src/gnu/usr.bin/gdb/bfd/archive.c:568: warning: data definition has no type or storage class /usr/src/gnu/usr.bin/gdb/bfd/archive.c:569: parse error before `return' *** Error code 1 Stop. -- Department of Electrical Engineering and CERECAM Unix System Administrator and Unix support http://www.eng.uct.ac.za
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970305090608.20417>