[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: problem building with Berkeley DB 4.1.24

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-11-08 00:00:32 CET

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> Justin Erenkrantz <jerenkrantz@apache.org> writes:
> > Hmm. But, your problem seems more like a compile error not a
> > link error. How about /usr/include and /usr/local/include with
> > db.h? Perhaps the compiler is pulling in those dirs before the
> > /usr/local/Berkeley*/include dir? -- justin
>
> That's what I thought, too...
>
> But I don't have a db.h in /usr/include/. I do have one in
> /usr/include/db1/db.h; also, I notice that none of them (not db1/db.h,
> and not the db.h's under /usr/local/Berkeley*/) seem to set the DB_VER
> variable, and I haven't yet tracked down where that's coming from.
>
> So there's more homework I can do here, just wanted to make a noise on
> the list in case this problem had already been solved by someone.

Run nm on the .o files to confirm which one is generating the symbol
reference. Take the compile command for that file from the build log
and repeat it manually, but add '-E -dD' and change '-o foo/bar/baz.o'
to '-o baz.i' and then baz.i will contain the preprocessed source with
all the include files identifed and all the macro definitions.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 8 00:01:22 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.