kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* make config errors while building kernel on Fedora 16
@ 2012-02-06  5:11 Kartik Singhal
  2012-02-06  7:35 ` Mulyadi Santosa
  0 siblings, 1 reply; 8+ messages in thread
From: Kartik Singhal @ 2012-02-06  5:11 UTC (permalink / raw)
  To: kernelnewbies

Hi

I tried to build both linux mainline and linux-next on my Fedora 16 box.
But in both cases I am running into errors in making the .config

Here is a what is written (partial from top) to stdout:

*** Default configuration is based on 'x86_64_defconfig'
init/Kconfig:237:warning: multi-line strings not supported
kernel/irq/Kconfig:75:warning: multi-line strings not supported
init/Kconfig:667:warning: multi-line strings not supported
init/Kconfig:1216:warning: multi-line strings not supported
init/Kconfig:1307:warning: multi-line strings not supported
init/Kconfig:1308:warning: multi-line strings not supported

And the following (partial from bottom) to stderr:

drivers/vhost/Kconfig:10: syntax error
drivers/vhost/Kconfig:9: unknown option "To"
drivers/vhost/Kconfig:10: unknown option "be"
drivers/lguest/Kconfig:12: syntax error
drivers/lguest/Kconfig:11: unknown option "Note"
drivers/lguest/Kconfig:12: unknown option "not"
drivers/lguest/Kconfig:15: syntax error
drivers/lguest/Kconfig:14: unknown option "If"
lib/xz/Kconfig:59: syntax error
lib/xz/Kconfig:58: unknown option "Unless"
lib/xz/Kconfig:59: unknown option "and"
lib/Kconfig:281: syntax error
lib/Kconfig:280: unknown option "If"
make[1]: *** [defconfig] Error 1
make: *** [defconfig] Error 2

I have verified that I have buildtools, kernel-devel and header packages.
And last month I had built the kernel (mainline) for first time on Linux
Mint. But here, probably, I am missing something completely. Google search
didn't help much either.

-- 
Kartik
http://k4rtik.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120206/bcf3c02d/attachment.html 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* make config errors while building kernel on Fedora 16
  2012-02-06  5:11 make config errors while building kernel on Fedora 16 Kartik Singhal
@ 2012-02-06  7:35 ` Mulyadi Santosa
       [not found]   ` <CAAY3Td7LNP27z5BQrbPctpoA1pvQK+prHCmWrO6GMBMadchUWQ@mail.gmail.com>
                     ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mulyadi Santosa @ 2012-02-06  7:35 UTC (permalink / raw)
  To: kernelnewbies

Hi...

On Mon, Feb 6, 2012 at 12:11, Kartik Singhal <kartiksinghal@gmail.com> wrote:
> Hi
>
> I tried to build both linux mainline and linux-next on my Fedora 16 box. But
> in both cases I am running into errors in making the .config

There are two things I'd like to suggest:
1. Are you sure your downloaded file is correct? have you check their checksums?

2. can you show us exactly how do you do compilation?

>From the error, roughly, I think there were typos here and there. They
could come from the original patch submitter, or something mangle the
strings...

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* make config errors while building kernel on Fedora 16
       [not found]   ` <CAAY3Td7LNP27z5BQrbPctpoA1pvQK+prHCmWrO6GMBMadchUWQ@mail.gmail.com>
@ 2012-02-06 16:28     ` Mulyadi Santosa
  2012-02-07 11:46       ` Kartik Singhal
  2012-02-07 11:48       ` Kartik Singhal
  0 siblings, 2 replies; 8+ messages in thread
From: Mulyadi Santosa @ 2012-02-06 16:28 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* request_firmware question
  2012-02-06  7:35 ` Mulyadi Santosa
       [not found]   ` <CAAY3Td7LNP27z5BQrbPctpoA1pvQK+prHCmWrO6GMBMadchUWQ@mail.gmail.com>
@ 2012-02-07  8:51   ` anish kumar
  2012-02-07 15:07     ` Greg KH
  2012-02-07 16:40   ` make config errors while building kernel on Fedora 16 Kartik Singhal
  2 siblings, 1 reply; 8+ messages in thread
From: anish kumar @ 2012-02-07  8:51 UTC (permalink / raw)
  To: kernelnewbies

Hi,

Now I have switched to using request_firmware api
and after using firmware, memory is being released.
Does it save kernel memory compare to case when 
I am having a having a local static firmware buffer(very big)
from which I used to get the firmware and write it
to the chip?

As I know request_firmware api has several advantages
but what I want to know is the advantages related
to kernel memory footprint.

Thanks for the help.

ps:I asked the same question in #kernelnewbies IRC

^ permalink raw reply	[flat|nested] 8+ messages in thread

* make config errors while building kernel on Fedora 16
  2012-02-06 16:28     ` Mulyadi Santosa
@ 2012-02-07 11:46       ` Kartik Singhal
  2012-02-07 11:48       ` Kartik Singhal
  1 sibling, 0 replies; 8+ messages in thread
From: Kartik Singhal @ 2012-02-07 11:46 UTC (permalink / raw)
  To: kernelnewbies

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 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 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* make config errors while building kernel on Fedora 16
  2012-02-06 16:28     ` Mulyadi Santosa
  2012-02-07 11:46       ` Kartik Singhal
@ 2012-02-07 11:48       ` Kartik Singhal
  1 sibling, 0 replies; 8+ messages in thread
From: Kartik Singhal @ 2012-02-07 11:48 UTC (permalink / raw)
  To: kernelnewbies

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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120207/d97e8c37/attachment.html 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* request_firmware question
  2012-02-07  8:51   ` request_firmware question anish kumar
@ 2012-02-07 15:07     ` Greg KH
  0 siblings, 0 replies; 8+ messages in thread
From: Greg KH @ 2012-02-07 15:07 UTC (permalink / raw)
  To: kernelnewbies

On Tue, Feb 07, 2012 at 12:51:42AM -0800, anish kumar wrote:
> Hi,
> 
> Now I have switched to using request_firmware api
> and after using firmware, memory is being released.
> Does it save kernel memory compare to case when 
> I am having a having a local static firmware buffer(very big)
> from which I used to get the firmware and write it
> to the chip?
> 
> As I know request_firmware api has several advantages
> but what I want to know is the advantages related
> to kernel memory footprint.

Yes it is, as well as using the "proper" api for firmware loading, which
means it fits into the rest of the kernel correctly.

Also, no new drivers will be accepted that have static firmware blobs.

greg k-h

^ permalink raw reply	[flat|nested] 8+ messages in thread

* make config errors while building kernel on Fedora 16
  2012-02-06  7:35 ` Mulyadi Santosa
       [not found]   ` <CAAY3Td7LNP27z5BQrbPctpoA1pvQK+prHCmWrO6GMBMadchUWQ@mail.gmail.com>
  2012-02-07  8:51   ` request_firmware question anish kumar
@ 2012-02-07 16:40   ` Kartik Singhal
  2 siblings, 0 replies; 8+ messages in thread
From: Kartik Singhal @ 2012-02-07 16:40 UTC (permalink / raw)
  To: kernelnewbies

On Mon, Feb 6, 2012 at 1:05 PM, Mulyadi Santosa
<mulyadi.santosa@gmail.com>wrote:

> have you check their checksums?


Is there a way to verify the checksums for git clones as in my case?

-- 
Kartik
http://k4rtik.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120207/3ff99cbf/attachment.html 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-02-07 16:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-06  5:11 make config errors while building kernel on Fedora 16 Kartik Singhal
2012-02-06  7:35 ` Mulyadi Santosa
     [not found]   ` <CAAY3Td7LNP27z5BQrbPctpoA1pvQK+prHCmWrO6GMBMadchUWQ@mail.gmail.com>
2012-02-06 16:28     ` Mulyadi Santosa
2012-02-07 11:46       ` Kartik Singhal
2012-02-07 11:48       ` Kartik Singhal
2012-02-07  8:51   ` request_firmware question anish kumar
2012-02-07 15:07     ` Greg KH
2012-02-07 16:40   ` make config errors while building kernel on Fedora 16 Kartik Singhal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).