make config errors while building kernel on Fedora 16
From: Kartik Singhal <hidden>
Date: 2012-02-07 11:46:18
On Mon, Feb 6, 2012 at 9:58 PM, Mulyadi Santosa [off-list ref]wrote:
Don't forget to cc: to kernelnewbies as well...
Oops, didn't notice that was not default reply-to address. Here's my mail quoted below, if it helps others identify the problem: On Mon, Feb 6, 2012 at 1:35 PM, Kartik Singhal [off-list ref]wrote:
On Mon, Feb 6, 2012 at 1:05 PM, Mulyadi Santosa <mulyadi.santosa@gmail.comquoted
wrote:quoted
1. Are you sure your downloaded file is correct? have you check their checksums?I cloned from repo url's given at kernel.org: nohup git clone -v git:// git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git &> linux.log & and nohup git clone -v git:// git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git &> linux-next.log & AFAIK checksum is not needed with a git clone.quoted
2. can you show us exactly how do you do compilation?Here is one sample, tried with xconfig, gconfig, config, etc. all give the same errors. [k4rtik at PlatiniumLight code]$ cd linux [k4rtik at PlatiniumLight linux]$ ls arch COPYING crypto drivers firmware include ipc Kconfig lib Makefile net REPORTING-BUGS scripts sound usr block CREDITS Documentation errorlong fs init Kbuild kernel MAINTAINERS mm README samples security tools virt [k4rtik at PlatiniumLight linux]$ make defconfig /home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 3: $'\r': command not found /home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 5: syntax error near unexpected token `$'\r'' 'home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 5: `ldflags() /home/k4rtik/code/linux/scripts/kconfig/check.sh: line 15: syntax error: unexpected end of file /home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 3: $'\r': command not found /home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 5: syntax error near unexpected token `$'\r'' 'home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 5: `ldflags() /home/k4rtik/code/linux/scripts/kconfig/check.sh: line 15: syntax error: unexpected end of file /home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 3: $'\r': command not found /home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 5: syntax error near unexpected token `$'\r'' 'home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 5: `ldflags() /home/k4rtik/code/linux/scripts/kconfig/check.sh: line 15: syntax error: unexpected end of file /home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 3: $'\r': command not found /home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 5: syntax error near unexpected token `$'\r'' 'home/k4rtik/code/linux/scripts/kconfig/lxdialog/check-lxdialog.sh: line 5: `ldflags() /home/k4rtik/code/linux/scripts/kconfig/check.sh: line 15: syntax error: unexpected end of file *** Default configuration is based on 'x86_64_defconfig' ^Cmake[1]: *** [defconfig] Interrupt make: *** [defconfig] Interrupt [k4rtik at PlatiniumLight linux]$
-- Kartik http://k4rtik.wordpress.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120207/0abe6f37/attachment.html