Re: Install kernel headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



personally i think it should glibc header files, and anything
userspace header files.....kernel header files are for kernel modules
and all things kernel....and when u build userspace stuff....it should
not access anything kernel & vice versa....correct me if wrong please
:-) thanks...

On Wed, May 21, 2008 at 6:31 PM, Konstantin Boyanov <kkboyanov@xxxxxxxxx> wrote:
> Hello there,
>
> I simple question: How do you install kernel headers?
>
> Is the following:
>
> # cd /usr/src
> # wget www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.15.7.tar.gz
> # tar zxf linux-2.6.15.7.tar.gz
> # ln -s linux-2.6.15.7 linux
>
> not enough?
>
> Because I'm trying to configure and compile PERL, but I get
>
> # make
> `sh  cflags "optimize='-O1'" miniperlmain.o`  miniperlmain.c
>           CCCMD =  cc -DPERL_CORE -c -fno-strict-aliasing -pipe
> -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O1  -Wall
> In file included from //usr/include/asm/param.h:4,
>                  from //usr/include/linux/param.h:4,
>                  from //usr/local/include/sys/param.h:24,
>                  from perl.h:486,
>                  from miniperlmain.c:36:
> //usr/include/linux/config.h:6:28: linux/autoconf.h: No such file or
> directory
>
> Is autoconf part of the GNU autoconf utility or it must be part of the linux
> kernel headers?
>
>
> Regards,
> Konstantin Boyanov
>



-- 
Regards,
Peter Teoh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux