1 Nov 2008 02:18
Re: CVS build for Solaris 5.8 fails: elfcore_write_prpsinfo undefined
Joel Brobecker <brobecker <at> adacore.com>
2008-11-01 01:18:51 GMT
2008-11-01 01:18:51 GMT
> 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.
--
--
(Continue reading)
RSS Feed