LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 07-09-2008, 02:16 AM   #1
raedbenz
Member
 
Registered: Dec 2007
Posts: 93

Rep: Reputation: 15
ARM kernel configuration!!


Hi,,
i have this Kernel package: "linux-2.6.20.4.tar.gz". I found also this file encolsed in the CD: "linux-2.6.20.4-edb93xx.patch", is it a patch? if yes how do i apply it(it is not a a package to be extracted, is a file ".patch")?
i am trying to configure it using
Code:
$ make ARCH=arm CROSS_COMPILE= arm-linux- menuconfig
and i get error that says:
Code:
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list before ‘chtype’
scripts/kconfig/lxdialog/dialog.h:187: error: expected ‘)’ before ‘*’ token
and so one, and the last part of the presented output is:
Code:
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Error 1
make: *** [menuconfig] Error 2
NOTE: my toolchain version is gcc-4.0.1-glibc-2.3.5
any qlues?
thanks

Last edited by raedbenz; 07-09-2008 at 02:20 AM.
 
Old 07-09-2008, 02:10 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h:
No such file or directory
You are definitely missing ' libncurses5-devel' (if still Mandriva ?)
Could be another name with a different distro.

Please always tell Linux "name" and "version" when asking a question.

To apply a patch :
Place the patch textfile outside your topdirectory (linux-2.6.20.4)
and run command 'patch -p0 < linux-2.6.20.4-edb93xx.patch'

I'm not quite sure with the option -p0. Might be -p1 etc.
Please see 'man patch' and "google" apply patch ..
and .. apply kernel patch .. for answers.

Rgds
 
Old 07-10-2008, 04:13 AM   #3
raedbenz
Member
 
Registered: Dec 2007
Posts: 93

Original Poster
Rep: Reputation: 15
patch alternative

Quote:
Originally Posted by knudfl View Post

Please always tell Linux "name" and "version" when asking a question.
i ll keep it in mind

Quote:
To apply a patch :
patch -p0 < linux-2.6.20.4-edb93xx.patch
Rgds

i also found this method to apply a patch:
e.g.
Code:
$ zcat ../linux-2.6.20.4-edb93xx.patch.gz|patch -p1
 
Old 07-10-2008, 02:16 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
http://www.linuxhq.com/patch-howto.html

Rgds
 
  


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
kernel config for arm/mtd/jffs2? PatM Linux - Embedded & Single-board computer 3 08-29-2008 01:35 PM
Timers of ARM in Kernel? raedbenz Linux - Embedded & Single-board computer 2 06-30-2008 04:15 AM
Netlink (Kernel 2.6.10) on ARM skpseqence Programming 1 07-02-2007 02:05 AM
How to patch kernel 2.6.x.x with PXA2xx (ARM) deboom Linux - Kernel 1 05-08-2006 03:23 AM
extract kernel from arm cpu device sharadshankar Programming 1 04-01-2006 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 10:33 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