kernel-headers problem

Gergely Buday gbuday at gmail.com
Sat Aug 17 12:45:03 UTC 2013


Hi there,

I have a problem. I cannot compile a piece of software that would
include kernel headers with <zlib.h> for example. I have

$ uname -r
3.8.0-26-generic

and I also have

linux-headers-3.8.0-26-generic            install

But then I have

$ make Solver.o
Compiling: Solver.o
In file included from
/home/macbook/local/satallax-2.7/minisat/utils/Options.h:30:0,
                 from /home/macbook/local/satallax-2.7/minisat/core/Solver.h:27,
                 from Solver.cc:24:
/home/macbook/local/satallax-2.7/minisat/utils/ParseUtils.h:27:18:
fatal error: zlib.h: Nincs ilyen fájl vagy könyvtár
compilation terminated.
make: *** [Solver.o] Error 1

where ParseUtils.h contains

#include <zlib.h>

What can I do here so that make sees the standard include path for the
kernel headers?

- Gergely




More information about the ubuntu-users mailing list