[Openswan Users] help compiling

Paul Wouters paul at xelerance.com
Thu Jun 17 01:01:33 CEST 2004


On Wed, 16 Jun 2004, Matías López Bergero wrote:

> I find and deleted the package a make a link from /usr/include for asm
> to the include/asm and linux to the include/linux dir on the kernel source.

You should reinstall glibc-kernheaders

> I was in a mistake thinking that the kernel headers are taken directly
> from /usr/src/linux :(

As far as I understood, the kernel headers should always match with the glibc
compile. So even if the linux kernel uses different internals, you always
want to compile programs against the glibc-kernheaders, and not the headers
in /usr/src/linux/include/linux

Paul



More information about the Users mailing list