[hypermail] gdbm problems

From: Daniel Stenberg <daniel_at_haxx.se_at_hypermail-project.org>
Date: Tue, 20 Nov 2001 08:23:43 +0100 (MET)
Message-ID: <Pine.GSO.4.40.0111200820060.2715-100000_at_pm1.contactor.se>

(this is done on code just updated from CVS)

% autoconf
(using 2.52)

% ./configure
% make

file.c:32:18: gdbm.h: No such a file or directory
file.c: In function `matches_existing':
file.c:524: `GDBM_FILE' undeclared (first use in this function)
file.c:524: (Each undeclared identifier is reported only once
file.c:524: for each function it appears in.)
file.c:524: parse error before "gp"
file.c:530: `gp' undeclared (first use in this function)

... but check the configure output:

checking for GDBM support... checking for gdbm_open in -lgdbm... yes checking gdbm library... gdbm found
checking for gdbm.h... no
"Try /usr/local/include/gdbm.h"
checking for /usr/local/include/gdbm.h... yes

aha! in /usr/local/include! So what compiler flags were used?

gcc -c -g -O2 -I/include -Ipcre file.c

Does that look wrong or what? ;-)

I don't have time to check more right now. I'll dig some more later if no one else finds anything.

      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on Tue 20 Nov 2001 09:27:49 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:53 PM GMT GMT