All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] buildroot building problems
@ 2008-01-17 15:41 Yegor Masharsky
  2008-01-17 16:02 ` Bernhard Fischer
  2008-01-17 19:35 ` Paul
  0 siblings, 2 replies; 7+ messages in thread
From: Yegor Masharsky @ 2008-01-17 15:41 UTC (permalink / raw)
  To: buildroot

Hi all ,

I'm trying to setup buildroot and uclibc on my host , but something
goes wrong . According to buildroot manual I've downloaded buildroot
using
"svn co svn://uclibc.org/trunk/buildroot" then configured it using
"make menuconfig" and run "make" . After kernel is patched make fails
saying that it could not copy .config file . The output is the
following:

rm -rf /home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10
*** Unpacking kernel source
bzcat /home/aym001/buildroot/dl/linux-2.6.22.10.tar.bz2 | tar -C
/home/aym001/buildroot/project_build_powerpc/uclibc   -xf -
touch /home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10/.unpacked
toolchain/patch-kernel.sh
/home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10
toolchain/kernel-headers \
linux-2.6.22.10-\*.patch{,.gz,.bz2}
touch /home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10/.patched
cp -dpf  /home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10/.config
cp: missing destination file
Try `cp --help' for more information.
make: *** [/home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10/.configured]
Error 1

What do I do wrong ?

Thanks,
Yegor

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

* [Buildroot] buildroot building problems
  2008-01-17 15:41 [Buildroot] buildroot building problems Yegor Masharsky
@ 2008-01-17 16:02 ` Bernhard Fischer
  2008-01-17 17:17   ` Yegor Masharsky
  2008-01-17 22:42   ` Hamish Moffatt
  2008-01-17 19:35 ` Paul
  1 sibling, 2 replies; 7+ messages in thread
From: Bernhard Fischer @ 2008-01-17 16:02 UTC (permalink / raw)
  To: buildroot

On Thu, Jan 17, 2008 at 06:41:07PM +0300, Yegor Masharsky wrote:
>Hi all ,
>
>I'm trying to setup buildroot and uclibc on my host , but something
>goes wrong . According to buildroot manual I've downloaded buildroot
>using

grep KCONFIG .config
see docs/README 

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

* [Buildroot] buildroot building problems
  2008-01-17 16:02 ` Bernhard Fischer
@ 2008-01-17 17:17   ` Yegor Masharsky
  2008-01-17 17:41     ` Bernhard Fischer
  2008-01-17 22:42   ` Hamish Moffatt
  1 sibling, 1 reply; 7+ messages in thread
From: Yegor Masharsky @ 2008-01-17 17:17 UTC (permalink / raw)
  To: buildroot

Hello Bernhard ,

grep KCONFIG .config returns
BR2_PACKAGE_LINUX_KCONFIG=""

docs/README says :

1) run 'make menuconfig'
2) select the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) Use your shiny new root filesystem.  Depending on which sortof
   root filesystem you selected, you may want to loop mount it,
   chroot into it, nfs mount it on your target device, burn it
   to flash, or whatever is appropriate for your target system.

So I fail at step 4 but don't see where I missed something

Thanks,
Yegor

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

* [Buildroot] buildroot building problems
  2008-01-17 17:17   ` Yegor Masharsky
@ 2008-01-17 17:41     ` Bernhard Fischer
  0 siblings, 0 replies; 7+ messages in thread
From: Bernhard Fischer @ 2008-01-17 17:41 UTC (permalink / raw)
  To: buildroot

On Thu, Jan 17, 2008 at 08:17:28PM +0300, Yegor Masharsky wrote:
>Hello Bernhard ,
>
>grep KCONFIG .config returns
>BR2_PACKAGE_LINUX_KCONFIG=""
>
>docs/README says :
>
>1) run 'make menuconfig'
>2) select the packages you wish to compile
>3) run 'make'
>4) wait while it compiles
>5) Use your shiny new root filesystem.  Depending on which sortof
>   root filesystem you selected, you may want to loop mount it,
>   chroot into it, nfs mount it on your target device, burn it
>   to flash, or whatever is appropriate for your target system.
>
>So I fail at step 4 but don't see where I missed something

read on, your're not EOF there :)

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

* [Buildroot] buildroot building problems
  2008-01-17 15:41 [Buildroot] buildroot building problems Yegor Masharsky
  2008-01-17 16:02 ` Bernhard Fischer
@ 2008-01-17 19:35 ` Paul
  1 sibling, 0 replies; 7+ messages in thread
From: Paul @ 2008-01-17 19:35 UTC (permalink / raw)
  To: buildroot

Yegor,
You need a .config for the kernel as well. In make menuconfig you can select
to run xconfig prior to compiling the kernel. Otherwise run the config tool
yourself and point to the .config file in make menuconfig. Hope this helps?
Paul



-----Original Message-----
From: buildroot-bounces@uclibc.org [mailto:buildroot-bounces at uclibc.org] On
Behalf Of Yegor Masharsky
Sent: donderdag 17 januari 2008 16:41
To: buildroot at uclibc.org
Subject: [Buildroot] buildroot building problems

Hi all ,

I'm trying to setup buildroot and uclibc on my host , but something
goes wrong . According to buildroot manual I've downloaded buildroot
using
"svn co svn://uclibc.org/trunk/buildroot" then configured it using
"make menuconfig" and run "make" . After kernel is patched make fails
saying that it could not copy .config file . The output is the
following:

rm -rf /home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10
*** Unpacking kernel source
bzcat /home/aym001/buildroot/dl/linux-2.6.22.10.tar.bz2 | tar -C
/home/aym001/buildroot/project_build_powerpc/uclibc   -xf -
touch
/home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10/.unpacke
d
toolchain/patch-kernel.sh
/home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10
toolchain/kernel-headers \
linux-2.6.22.10-\*.patch{,.gz,.bz2}
touch
/home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10/.patched
cp -dpf
/home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10/.config
cp: missing destination file
Try `cp --help' for more information.
make: ***
[/home/aym001/buildroot/project_build_powerpc/uclibc/linux-2.6.22.10/.config
ured]
Error 1

What do I do wrong ?

Thanks,
Yegor
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] buildroot building problems
  2008-01-17 16:02 ` Bernhard Fischer
  2008-01-17 17:17   ` Yegor Masharsky
@ 2008-01-17 22:42   ` Hamish Moffatt
  2008-01-17 23:14     ` Bernhard Fischer
  1 sibling, 1 reply; 7+ messages in thread
From: Hamish Moffatt @ 2008-01-17 22:42 UTC (permalink / raw)
  To: buildroot

On Thu, Jan 17, 2008 at 05:02:06PM +0100, Bernhard Fischer wrote:
> On Thu, Jan 17, 2008 at 06:41:07PM +0300, Yegor Masharsky wrote:
> >Hi all ,
> >
> >I'm trying to setup buildroot and uclibc on my host , but something
> >goes wrong . According to buildroot manual I've downloaded buildroot
> >using
> 
> grep KCONFIG .config
> see docs/README 

Maybe target/linux/Makefile.in could be modified to give an error if
BR2_PACKAGE_LINUX_KCONFIG is unset, rather than just using it blindly?

It already gives an error if the variable is set to a non-existent file.

That would prevent approximately one post/bug report per week.


Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>

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

* [Buildroot] buildroot building problems
  2008-01-17 22:42   ` Hamish Moffatt
@ 2008-01-17 23:14     ` Bernhard Fischer
  0 siblings, 0 replies; 7+ messages in thread
From: Bernhard Fischer @ 2008-01-17 23:14 UTC (permalink / raw)
  To: buildroot

On Fri, Jan 18, 2008 at 09:42:20AM +1100, Hamish Moffatt wrote:
>On Thu, Jan 17, 2008 at 05:02:06PM +0100, Bernhard Fischer wrote:
>> On Thu, Jan 17, 2008 at 06:41:07PM +0300, Yegor Masharsky wrote:
>> >Hi all ,
>> >
>> >I'm trying to setup buildroot and uclibc on my host , but something
>> >goes wrong . According to buildroot manual I've downloaded buildroot
>> >using
>> 
>> grep KCONFIG .config
>> see docs/README 
>
>Maybe target/linux/Makefile.in could be modified to give an error if
>BR2_PACKAGE_LINUX_KCONFIG is unset, rather than just using it blindly?
>
>It already gives an error if the variable is set to a non-existent file.
>
>That would prevent approximately one post/bug report per week.

Yes, i've fixed this in my tree as
46fb4073ae91fd4a6f474aab0455b5522edc868f about 5 hours ago.

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

end of thread, other threads:[~2008-01-17 23:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-17 15:41 [Buildroot] buildroot building problems Yegor Masharsky
2008-01-17 16:02 ` Bernhard Fischer
2008-01-17 17:17   ` Yegor Masharsky
2008-01-17 17:41     ` Bernhard Fischer
2008-01-17 22:42   ` Hamish Moffatt
2008-01-17 23:14     ` Bernhard Fischer
2008-01-17 19:35 ` Paul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.