On Thu, Apr 19, 2001 at 05:25:36PM +1000, Silva, Pedro wrote:

> cryptlib.c:59: stdio.h: No such file or directory
> cryptlib.c:60: string.h: No such file or directory

Install the full C development package.  On Debian, this is called
libc6-dev.  On Red Hat, it's called glibc-devel.

> I have tried  updating glibc but this complains about dependencies.

Satisfy the dependencies, then. :-)


On Fri, Apr 20, 2001 at 01:00:30PM +0200, Lutz Jaenicke wrote:

> > >> cryptlib.c:59: stdio.h: No such file or directory
> > >> cryptlib.c:60: string.h: No such file or directory

> These files are included with the Linux Kernel.
> Install the kernel sources. (On some systems, the header files are also
> available in a seperate package, e.g. on SuSE Linux "lincludes". Don't know
> about Caldera.)

Actually, no, those header files are not part of the kernel.  They're
part of the C library (GNU libc 2, or glibc2, or libc6).  Most of the
Linux distributions divide the C library into 2 or more parts -- the
basic shared libraries for runtime, and the headers and static libs
for development.

Sufficiently old Linux distributions didn't use GNU libc (which only
became truly stable a few years ago) -- the older library, called libc5,
was a completely different code base.  *Ancient* versions of Linux used
libc4....  So anyway, if your Caldera system uses libc5 instead of glibc,
then make sure you install the libc5 headers, not the glibc headers.

You might *also* need the kernel headers, as Lutz suggests; if you get
missing files like "linux/limits.h", then you'll need the kernel headers.
Otherwise, you probably don't.

Reply via email to