Re: make config errors while building kernel on Fedora 16
Hi :) Don't forget to cc: to kernelnewbies as well... On Mon, Feb 6, 2012 at 15:05, Kartik Singhal <kartiksinghal@gmail.com> wrote:
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.
Looking at your make defconfig, I guess the source is somehow broken. But I can't tell exactly why. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
On Mon, Feb 6, 2012 at 9:58 PM, Mulyadi Santosa <mulyadi.santosa@gmail.com>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 <kartiksinghal@gmail.com>wrote:
On Mon, Feb 6, 2012 at 1:05 PM, Mulyadi Santosa <mulyadi.santosa@gmail.com
wrote:
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.
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@PlatiniumLight code]$ cd linux
[k4rtik@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@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@PlatiniumLight linux]$
-- Kartik http://k4rtik.wordpress.com/
On Mon, Feb 6, 2012 at 9:58 PM, Mulyadi Santosa <mulyadi.santosa@gmail.com>wrote:
Looking at your make defconfig, I guess the source is somehow broken. But I can't tell exactly why.
So, shall I download the whole 1 GB+ source again? I downloaded mainline linux source only because I thought linux-next source had some problem. :( -- Kartik http://k4rtik.wordpress.com/
participants (2)
-
Kartik Singhal -
Mulyadi Santosa