This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: CVS build for Solaris 5.8 fails: elfcore_write_prpsinfo undefined
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Klaus Zeitler <kzeitler at alcatel-lucent dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 31 Oct 2008 18:18:51 -0700
- Subject: Re: CVS build for Solaris 5.8 fails: elfcore_write_prpsinfo undefined
- References: <q5gfxmd9b9d.fsf@sfsw51.de.lucent.com>
> Undefined first referenced
> symbol in file
> elfcore_write_prpsinfo libgdb.a(procfs.o)
> elfcore_write_prstatus libgdb.a(procfs.o)
> ld: fatal: Symbol referencing errors. No output written to gdb
I can reproduce. Looks like a problem in the bfd configure script,
as the following check returns "no":
AC_CHECK_HEADERS(sys/procfs.h)
Extract from the config.log file:
configure:19338: checking for sys/procfs.h
configure:19343: result: no
Not much information there. In any case, as a result, the checks
for the various types in procfs.h are skipped:
BFD_HAVE_SYS_PROCFS_TYPE(prstatus_t)
BFD_HAVE_SYS_PROCFS_TYPE(prstatus32_t)
[...]
BFD_HAVE_SYS_PROCFS_TYPE(prpsinfo_t)
[etc]
And so HAVE_PRPSINFO_T doesn't get defined as it should.
I have to run, now. I will look deeper into this hopefully tomorrow.
--
Joel