Re: make config errors while building kernel on Fedora 16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]





On Mon, Feb 6, 2012 at 9:58 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> 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@xxxxxxxxx> wrote:
On Mon, Feb 6, 2012 at 1:05 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> 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/


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

Add to Google Powered by Linux