kernel-headers problem
Tom H
tomh0665 at gmail.com
Sun Aug 18 13:03:06 UTC 2013
On Sat, Aug 17, 2013 at 2:45 PM, Gergely Buday <gbuday at gmail.com> wrote:
>
> 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?
In future, please post the output in C or en_US because "Nincs ilyen
fájl vagy könyvtár" should be in English on this list.
I assume that it means that the file hasn't been found. You can point
at the kernel header directory that includes it with "-I".
More information about the ubuntu-users
mailing list