make config errors while building kernel on Fedora 16

Kartik Singhal kartiksinghal at gmail.com
Tue Feb 7 06:46:18 EST 2012


On Mon, Feb 6, 2012 at 9:58 PM, Mulyadi Santosa
<mulyadi.santosa at 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 at gmail.com>wrote:

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


More information about the Kernelnewbies mailing list