[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: 3.1.11 compile error



RedHat pre6, Intel, kernel 2.2.5, glibc 2.1.

I made a link /usr/include/ndbm.h -> /usr/include/db1/ndbm.h (it is from
glibc-devel rpm)
Then I got a following error:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -Dunix -DSIAG  -DNDBM  -Wall -g -O2 -c
ndbm.c
ndbm.c: In function `ldbm_pagfno':
ndbm.c:155: `DBM_PAGFNO_NOT_AVAILABLE' undeclared (first use in this
function)
ndbm.c:155: (Each undeclared identifier is reported only once
ndbm.c:155: for each function it appears in.)
make[2]: *** [ndbm.o] Error 1
make[2]: Leaving directory `/a/siag-3.1.8/siod'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/a/siag-3.1.8'
make: *** [all-recursive-am] Error 2

Do you think it is a problem with my glibc installation?

> -----Original Message-----
> From: owner-siag@edu.stockholm.se
> [mailto:owner-siag@edu.stockholm.se]On
> Behalf Of Dan Gohman
> Sent: Tuesday, April 13, 1999 11:10 PM
> To: siag@edu.stockholm.se
> Subject: Re: 3.1.11 compile error
>
>
> On Tue, Apr 13, 1999 at 10:32:19PM +0200, Nerijus wrote:
> [...]
> >  ndbm.c:9: ndbm.h: No such file or directory
> [...]
>
> What platform, and what version of libc are you using?
>
> --
> Dan Gohman
> gohmandj@cda.mrs.umn.edu
>