Friday, August 27, 2010

compiling lwkhttpd issues with kernel 2.6.3x

I have found this interesting project kernel project based on khttpd
but when i tried to compile it got

module.c:14:26: error: linux/config.h: No such file or directory
changed config.h to autoconf.h

error: expected declaration specifiers or ‘...’ before ‘socketcall’

http://kerneltrap.org/node/7373


Starting around kernel 2.6.18, the _syscall macros were removed from header files supplied to user space. Use syscall(2) instead. (Some architectures, notably ia64, never provided the _syscall macros; on those architectures, syscall(2) was always required.)

So i need to dig deeper in the syscalls world

No comments: