Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 1997 12:23:22 -0500 (EST)
From:      Richard J Kuhns <rjk@grauel.com>
To:        freebsd-current@freebsd.org
Subject:   building gdb under 3.0-CURRENT
Message-ID:  <199701271723.MAA09816@watson.grauel.com>

next in thread | raw e-mail | index | archive | help
I track -current via ctm, and have applied all updates thru 1/26/97.

Have I missed a step somewhere?  After the recent changes to gdb, I did:

cd /usr/src/gnu/usr.bin/gdb
make clean
make cleandepend
make obj
make depend

So far, so good -- everything looks fine.

However, the subsequent make fails with:

===> gdb
...
cc -O2 -m486 -malign-loops=0 -malign-jumps=2 -malign-functions=2 -pipe -I/usr/src/gnu/usr.bin/gdb/gdb -I/usr/include/readline -I/usr/src/gnu/usr.bin/gdb/gdb/../bfd -DNO_MMALLOC -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/include/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/bfd/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/libiberty/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/config/. -DHAVE_CONFIG_H   -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/include/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/bfd/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/libiberty/. -I/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/config/. -DHAVE_CONFIG_H -c c-exp.tab.c
In file included from /usr/src/gnu/usr.bin/gdb/gdb/c-exp.y:41:
/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/./parser-defs.h:111: warning: `struct minimal_symbol' declared inside parameter list
/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/./parser-defs.h:111: warning: its scope is only this definition or declaration,
/usr/src/gnu/usr.bin/gdb/gdb/../../../../contrib/gdb/gdb/./parser-defs.h:111: warning: which is probably not what you want.
/usr/src/gnu/usr.bin/gdb/gdb/c-exp.y: In function `c_parse':
/usr/src/gnu/usr.bin/gdb/gdb/c-exp.y:632: warning: passing arg 2 of `lookup_minimal_symbol' from incompatible pointer type
/usr/src/gnu/usr.bin/gdb/gdb/c-exp.y:632: too few arguments to function `lookup_minimal_symbol'
/usr/src/gnu/usr.bin/gdb/gdb/c-exp.y:698: warning: passing arg 2 of `lookup_minimal_symbol' from incompatible pointer type
/usr/src/gnu/usr.bin/gdb/gdb/c-exp.y:698: too few arguments to function `lookup_minimal_symbol'
*** Error code 1

Stop.
*** Error code 1

Stop.

====

If the consensus is "Do a make world, stupid!", I will, but the above looks
to me like the entire problem is with contrib/gdb and smells like a file
didn't get updated.

Thanks....
--
Rich Kuhns			rjk@grauel.com
PO Box 6249			Tel: (317)477-6000 \
100 Sawmill Road				    x319
Lafayette, IN  47903		     (800)489-4891 /



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