This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CVS build for Solaris 5.8 fails: elfcore_write_prpsinfo undefined


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]