[hypermail] gdbm problems

---------

New Message Reply About this list Date view Thread view Subject view Author view

From: Daniel Stenberg (daniel@haxx.se)
Date: Tue Nov 20 2001 - 01:23:43 CST


(this is done on code just updated from CVS)

% autoconf
(using 2.52)
% ./configure
% make
[snip]
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


New Message Reply About this list Date view Thread view Subject view Author view

---------

This archive was generated by hypermail 2b29.