[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Error whilst compiling CVS (ITS#16)



At 05:45 AM 12/22/98 GMT, yusufg@huge.net wrote:
>Platform Redhat Linux 5.2 with kernel 2.0.36
>Berkeley DB 2.6.4 (http://www.sleepycat.com)
>
>Configure command

> CPPFLAGS="-I/usr/local/site/BerkeleyDB/include/"
LDFLAGS="-L/usr/local/site/BerkeleyDB/lib -ldb" ./configure
--enable-wrappers --prefix=/usr/local/site/prefix

1) do a 'make veryclean' before running configure (to remove config.cache)
2) don't actually put '-ldb' in LDFLAGS... unless you really want every
application
   linked with it.

>make depend
>make
>
>Error seen
>
>ldbm.c: In function `ldbm_firstkey':
>ldbm.c:202: too few arguments to function

Likely the result of leftover cache settings.