LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-28-2008, 11:59 PM   #1
zahidul
LQ Newbie
 
Registered: Sep 2008
Posts: 21

Rep: Reputation: 15
Question error while compiling linux kernel 2.6 V


hi all,

i am trying to compile linux kernel 2.6.26.3 and port it on ARM processor..while executing the "make" command i got the follwing error messages:

CHK include/linux/compile.h
CC [M] drivers/net/b44.o
drivers/net/b44.c: In function `b44_sync_dma_desc_for_device':
drivers/net/b44.c:151: error: implicit declaration of function `dma_sync_single_range_for_device'
drivers/net/b44.c: In function `b44_sync_dma_desc_for_cpu':
drivers/net/b44.c:161: error: implicit declaration of function `dma_sync_single_range_for_cpu'
make[2]: *** [drivers/net/b44.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2


plz help me to rectify my error.
 
Old 09-29-2008, 01:21 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
1. Did you set up a cross-compiler to build for ARM, and did you test it to make sure it compiles and links?
2. Did you set the CC variable so that the build scripts invoke the cross-compiler?
 
Old 09-29-2008, 02:38 AM   #3
zahidul
LQ Newbie
 
Registered: Sep 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by pinniped View Post
1. Did you set up a cross-compiler to build for ARM, and did you test it to make sure it compiles and links?
2. Did you set the CC variable so that the build scripts invoke the cross-compiler?
thanks for the reply...But I have set the cross compiler for ARM and when i type set command it shows this message:
CC=/usr/bin/gcc

and i m getting the same error again..should i have to set the CC variable for cross compiler???
 
Old 09-29-2008, 04:51 AM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
If you don't set CC, how are the build scripts supposed to guess what compiler to use?
 
Old 09-29-2008, 06:13 AM   #5
zahidul
LQ Newbie
 
Registered: Sep 2008
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pinniped View Post
If you don't set CC, how are the build scripts supposed to guess what compiler to use?
thanks for the reply..now i m able to make and also get the zImage of the kernel
 
Old 05-17-2009, 07:29 AM   #6
myweichai
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by zahidul View Post
thanks for the reply..now i m able to make and also get the zImage of the kernel
Hi zahidul, i'm currently running into the same problem as yours. Is it possible to let me know, how you solved it previously?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - General 1 12-11-2007 06:54 AM
Error when compiling kernel linux-2.6.22 : make: ***[_modinst_post] Error 137 ngoclan.it Linux - Newbie 0 12-11-2007 06:49 AM
Compiling Linux Kernel - VFS error. Help. sceadu Red Hat 1 03-14-2005 08:42 AM
Error while compiling Linux 2.6.5-7 Kernel Kizio Linux - Software 4 12-13-2004 08:45 PM
error compiling the kernel linux-2.6.5 shams Mandriva 9 05-25-2004 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration