need kernel headers directory to build loadable modules

tarek.elsherbiny
Posts: 16
Joined: Mon Feb 02, 2009 7:23 am

Re: need kernel headers directory to build loadable modules

Post by tarek.elsherbiny » Sun Mar 08, 2009 8:41 am

I have only installed the latest cross development arm-linux-gcc-3.4.1.tgz

and here is the o/p:

arm-linux-gcc -v
Reading specs from /usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/specs
Configured with: /opt/crosstool/crosstool-0.28/build/arm-linux/gcc-3.4.1-glibc-2.3.2/gcc-3.4.1/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2 --with-float=soft --with-headers=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux/include --with-local-prefix=/opt/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.2/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 3.4.1

I am compiling and running applications on the board perfectly. I only have a problem with building kernel modules

esky-sh
Posts: 1466
Joined: Sat Dec 20, 2008 4:21 am

Re: need kernel headers directory to build loadable modules

Post by esky-sh » Sun Mar 08, 2009 4:30 pm

what is your linux host is?

tarek.elsherbiny
Posts: 16
Joined: Mon Feb 02, 2009 7:23 am

Re: need kernel headers directory to build loadable modules

Post by tarek.elsherbiny » Mon Mar 09, 2009 1:44 am

Linux host is Dell Inspiron E1505 runnig Ubuntu 8.10

I found a similar problem in differnet forum talking about another platform but the solution was updating the kernel.

Anyway I am only trying to compile a basic loadable module so if anyone ever succeeded in doing this please pass me any example.

Thanks

esky-sh
Posts: 1466
Joined: Sat Dec 20, 2008 4:21 am

Re: need kernel headers directory to build loadable modules

Post by esky-sh » Mon Mar 09, 2009 3:36 am

I have my ubuntu 8.10 running on my laptop either. I have arm-gcc installed on ubuntu according procedures and I can successfully build the kernel. Could you try to load another package from our ftp server and try another installation and build?
Thanks

tarek.elsherbiny
Posts: 16
Joined: Mon Feb 02, 2009 7:23 am

Re: need kernel headers directory to build loadable modules

Post by tarek.elsherbiny » Tue Mar 10, 2009 12:57 am

Thank you so much I have downloaded the linux-2.6.13-mini2440-xxxx.tgz wich was not porvided on the CD.
Extracting the file to /opt/FriendlyARM/mini2440 solved the problem.

Now I can compile kernel module

Thanks
:D

esky-sh
Posts: 1466
Joined: Sat Dec 20, 2008 4:21 am

Re: need kernel headers directory to build loadable modules

Post by esky-sh » Tue Mar 10, 2009 1:25 am

:lol:

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests