19 Apr, 2009, Malek Kervanes wrote in the 1st comment:
Votes: 0
Yeah, that pretty much says it all.

I just installed Kubuntu 8 on a VM, installed GCC 4.2.4. I'm using Socketmud 1.10 (don't know how to use Jobo's new list functions). When I attempt a make on stock code, the first line I get is

In file included from socket.c:22:
mud.h:8:18: error: zlib.h: No such file or directory.


The file physically exists in the following path

/usr/src/linux-headers-2.6.24-23/include/linux


Any tips on how to fix that?
19 Apr, 2009, Malek Kervanes wrote in the 2nd comment:
Votes: 0
okay, i got it fixed.


If anyone else runs into this problem, just install the newest zlib package, which is zlib-1.2.3, at least, that's the one that I installed.
23 Apr, 2009, elanthis wrote in the 3rd comment:
Votes: 0
Just to help you in the future, note that headers in the linux kernel folder are not in any way relevant to compiling regular applications. Most distributions won't even install those headers at all, because the one and only thing they're good for is compiling custom kernel modules and for compiling glibc. In other words, the compiler won't look in that folder, and if you tried to force it to, it might not even work because the zlib in the kernel may be modified or different than the regular zlib.
23 Apr, 2009, Malek Kervanes wrote in the 4th comment:
Votes: 0
Thanks, elanthis
0.0/4