kernel-headers problem
Ric Moore
wayward4now at gmail.com
Sun Aug 18 19:57:59 UTC 2013
On 08/18/2013 09:03 AM, Tom H wrote:
> 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?
Have you installed the zlib dev package? Ric
--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
/https://linuxcounter.net/cert/44256.png /
More information about the ubuntu-users
mailing list