Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Build kernel for ARM with Buildroot
@ 2007-12-15 15:41 Lan Ngoc
  2007-12-16 18:09 ` Martin Bures
  2007-12-17  8:32 ` Joe
  0 siblings, 2 replies; 4+ messages in thread
From: Lan Ngoc @ 2007-12-15 15:41 UTC (permalink / raw)
  To: buildroot

I have been building kernel and getting error1: "cp: missing destination
file operand after" as following:
................................................................

[root at localhost buildroot]# make

Checking build system dependencies:
BUILDROOT_DL_DIR clean:                         Ok
CC clean:                                       Ok
CXX clean:                                      Ok
CPP clean:                                      Ok
CFLAGS clean:                                   Ok
INCLUDES clean:                                 Ok
CXXFLAGS clean:                                 Ok
which installed:                                Ok
sed works:                                      Ok (/bin/sed)
GNU make version '3.81':                        Ok
C compiler '/usr/lib/ccache/gcc'
C compiler version '4.1.2':                     Ok
C++ compiler '/usr/lib/ccache/g++'
C++ compiler version '4.1.2':                   Ok
bison installed:                                Ok
flex installed:                                 Ok
gettext installed:                              Ok
makeinfo installed:                             Ok
Build system dependencies:                      Ok

rm -rf /mnt/e/buildroot/project_build_arm/ENDUP/buildroot-config
mkdir -p /mnt/e/buildroot/project_build_arm/ENDUP
cp -dpRf package/config/buildroot-config
/mnt/e/buildroot/project_build_arm/ENDUP/buildroot-config
cp -dpf  /mnt/e/buildroot/project_build_arm/ENDUP/linux-2.6.22.10/.config
cp: missing destination file operand after
`/mnt/e/buildroot/project_build_arm/ENDUP/linux-2.6.22.10/.config'
Try `cp --help' for more information.
make: *** [/mnt/e/buildroot/project_build_arm/ENDUP/linux-
2.6.22.10/.configured] Error 1

......................................................
I'm using Fedora core 7 and lastest Buildroot version.

Please show me how to sovle this error!

Thank you very much!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071215/ed6fa3d1/attachment.htm 

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

* [Buildroot] Build kernel for ARM with Buildroot
  2007-12-15 15:41 [Buildroot] Build kernel for ARM with Buildroot Lan Ngoc
@ 2007-12-16 18:09 ` Martin Bures
  2007-12-16 18:17   ` Martin Bures
  2007-12-17  8:32 ` Joe
  1 sibling, 1 reply; 4+ messages in thread
From: Martin Bures @ 2007-12-16 18:09 UTC (permalink / raw)
  To: buildroot

I've been having the same problem.  Here is what I know.
in the file .config <http://config.in> in /buildroot, there is a variable:
BR2_PACKAGE_LINUX_KCONFIG that is not set.  I have no idea what to set it
to.

I posted the question which got me this answer:
grep -r BR2_PACKAGE_LINUX_KCONFIG target

should give you some clues in which Config.in <http://config.in/> it is
defined.

the result of that is this:
[ filtered for .svn exclusion and other devices ]

target/linux/Makefile.in:ifneq ($(strip $(subst
",,$(BR2_PACKAGE_LINUX_KCONFIG))),)
target/linux/Makefile.in:LINUX26_KCONFIG=$(strip $(subst
",,$(BR2_PACKAGE_LINUX_KCONFIG)))
target/linux/Config.in:config BR2_PACKAGE_LINUX_KCONFIG
target/linux/Makefile.in.advanced:ifneq ($(strip $(subst
",,$(BR2_PACKAGE_LINUX_KCONFIG))),)
target/linux/Makefile.in.advanced:LINUX26_KCONFIG:=$(strip $(subst
",,$(BR2_PACKAGE_LINUX_KCONFIG)))
target/linux/Makefile.in.advanced:      @echo
BR2_PACKAGE_LINUX_KCONFIG=$(BR2_PACKAGE_LINUX_KCONFIG)
target/linux/Config.in.advanced:# BR2_PACKAGE_LINUX_KCONFIG
target/linux/Config.in.advanced:config BR2_PACKAGE_LINUX_KCONFIG
target/linux/Config.in.experimental:config BR2_PACKAGE_LINUX_KCONFIG
target/Makefile.in:BR2_PACKAGE_LINUX_KCONFIG:=$(strip $(subst
",,$(BR2_PACKAGE_LINUX_KCONFIG)))
grep: target/device/jp/q5/target_skeleton/dev/log: No such file or directory
grep: target/device/jp/q5/target_skeleton/etc/mtab: No such file or
directory
grep: target/device/jp/q5/target_skeleton/etc/resolv.conf: No such file or
directory
target/device/x86/i386/Makefile.in:ifeq ($(strip
$(BR2_PACKAGE_LINUX_KCONFIG)),)
target/device/x86/i386/Makefile.in:LINUX26_KCONFIG=$(strip
$(BR2_PACKAGE_LINUX_KCONFIG))
target/device/Arm/integrator926_defconfig:BR2_PACKAGE_LINUX_KCONFIG="target/device/Arm/linux26.integrator926.config"
target/device/Arm/integrator926_huge_defconfig:BR2_PACKAGE_LINUX_KCONFIG="target/device/Arm/linux26.integrator926_huge.config"
grep: target/generic/target_skeleton/dev/log: No such file or directory
grep: target/generic/target_skeleton/etc/mtab: No such file or directory
grep: target/generic/target_skeleton/etc/resolv.conf: No such file or
directory
grep: target/generic/target_busybox_skeleton/etc/mtab: No such file or
directory
grep: target/generic/target_busybox_skeleton/etc/resolv.conf: No such file
or directory

so maybe something like "/target/device/Arm/linux2.6.integrator926.config"

On Dec 15, 2007 10:41 AM, Lan Ngoc < ngoclan.it@gmail.com> wrote:

> I have been building kernel and getting error1: "cp: missing destination
> file operand after" as following:
> ................................................................
>
> [root at localhost buildroot]# make
>
> Checking build system dependencies:
> BUILDROOT_DL_DIR clean:                         Ok
> CC clean:                                       Ok
> CXX clean:                                      Ok
> CPP clean:                                      Ok
> CFLAGS clean:                                   Ok
> INCLUDES clean:                                 Ok
> CXXFLAGS clean:                                 Ok
> which installed:                                Ok
> sed works:                                      Ok (/bin/sed)
> GNU make version '3.81':                        Ok
> C compiler '/usr/lib/ccache/gcc'
> C compiler version '4.1.2':                     Ok
> C++ compiler '/usr/lib/ccache/g++'
> C++ compiler version ' 4.1.2':                   Ok
> bison installed:                                Ok
> flex installed:                                 Ok
> gettext installed:                              Ok
> makeinfo installed:                             Ok
> Build system dependencies:                      Ok
>
> rm -rf /mnt/e/buildroot/project_build_arm/ENDUP/buildroot-config
> mkdir -p /mnt/e/buildroot/project_build_arm/ENDUP
> cp -dpRf package/config/buildroot-config
> /mnt/e/buildroot/project_build_arm/ENDUP/buildroot-config
> cp -dpf  /mnt/e/buildroot/project_build_arm/ENDUP/linux-2.6.22.10/.config
> cp: missing destination file operand after
> `/mnt/e/buildroot/project_build_arm/ENDUP/linux- 2.6.22.10/.config'
> Try `cp --help' for more information.
> make: *** [/mnt/e/buildroot/project_build_arm/ENDUP/linux-
> 2.6.22.10/.configured] Error 1
>
> ......................................................
> I'm using Fedora core 7 and lastest Buildroot version.
>
> Please show me how to sovle this error!
>
> Thank you very much!
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071216/d901b105/attachment.htm 

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

* [Buildroot] Build kernel for ARM with Buildroot
  2007-12-16 18:09 ` Martin Bures
@ 2007-12-16 18:17   ` Martin Bures
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Bures @ 2007-12-16 18:17 UTC (permalink / raw)
  To: buildroot

bingo.
it was actually : '<path_to_buildroot>/target/device/Arm/linux26
>
> .integrator926.config'



On Dec 16, 2007 1:09 PM, Martin Bures <needemesleepe@gmail.com> wrote:

> I've been having the same problem.  Here is what I know.
> in the file .config <http://config.in> in /buildroot, there is a variable:
>
> BR2_PACKAGE_LINUX_KCONFIG that is not set.  I have no idea what to set it
> to.
>
> I posted the question which got me this answer:
> grep -r BR2_PACKAGE_LINUX_KCONFIG target
>
> should give you some clues in which Config.in <http://config.in/> it is
> defined.
>
> the result of that is this:
> [ filtered for .svn exclusion and other devices ]
>
> target/linux/Makefile.in:ifneq ($(strip $(subst
> ",,$(BR2_PACKAGE_LINUX_KCONFIG))),)
> target/linux/Makefile.in:LINUX26_KCONFIG=$(strip $(subst
> ",,$(BR2_PACKAGE_LINUX_KCONFIG)))
> target/linux/Config.in:config BR2_PACKAGE_LINUX_KCONFIG
> target/linux/Makefile.in.advanced:ifneq ($(strip $(subst
> ",,$(BR2_PACKAGE_LINUX_KCONFIG))),)
> target/linux/Makefile.in.advanced:LINUX26_KCONFIG:=$(strip $(subst
> ",,$(BR2_PACKAGE_LINUX_KCONFIG)))
> target/linux/Makefile.in.advanced:      @echo
> BR2_PACKAGE_LINUX_KCONFIG=$(BR2_PACKAGE_LINUX_KCONFIG)
> target/linux/Config.in.advanced:# BR2_PACKAGE_LINUX_KCONFIG
> target/linux/Config.in.advanced:config BR2_PACKAGE_LINUX_KCONFIG
> target/linux/Config.in.experimental:config BR2_PACKAGE_LINUX_KCONFIG
> target/Makefile.in:BR2_PACKAGE_LINUX_KCONFIG:=$(strip $(subst
> ",,$(BR2_PACKAGE_LINUX_KCONFIG)))
> grep: target/device/jp/q5/target_skeleton/dev/log: No such file or
> directory
> grep: target/device/jp/q5/target_skeleton/etc/mtab: No such file or
> directory
> grep: target/device/jp/q5/target_skeleton/etc/resolv.conf: No such file or
> directory
> target/device/x86/i386/Makefile.in:ifeq ($(strip
> $(BR2_PACKAGE_LINUX_KCONFIG)),)
> target/device/x86/i386/Makefile.in:LINUX26_KCONFIG=$(strip
> $(BR2_PACKAGE_LINUX_KCONFIG))
> target/device/Arm/integrator926_defconfig:BR2_PACKAGE_LINUX_KCONFIG="target/device/Arm/linux26.integrator926.config"
>
>
> target/device/Arm/integrator926_huge_defconfig:BR2_PACKAGE_LINUX_KCONFIG="target/device/Arm/linux26.integrator926_huge.config"
> grep: target/generic/target_skeleton/dev/log: No such file or directory
> grep: target/generic/target_skeleton/etc/mtab: No such file or directory
> grep: target/generic/target_skeleton/etc/resolv.conf: No such file or
> directory
> grep: target/generic/target_busybox_skeleton/etc/mtab: No such file or
> directory
> grep: target/generic/target_busybox_skeleton/etc/resolv.conf: No such file
> or directory
>
> so maybe something like "/target/device/Arm/linux2.6.integrator926.config"
>
> On Dec 15, 2007 10:41 AM, Lan Ngoc < ngoclan.it@gmail.com> wrote:
>
> > I have been building kernel and getting error1: "cp: missing destination
> > file operand after" as following:
> > ................................................................
> >
> > [root at localhost buildroot]# make
> >
> > Checking build system dependencies:
> > BUILDROOT_DL_DIR clean:                         Ok
> > CC clean:                                       Ok
> > CXX clean:                                      Ok
> > CPP clean:                                      Ok
> > CFLAGS clean:                                   Ok
> > INCLUDES clean:                                 Ok
> > CXXFLAGS clean:                                 Ok
> > which installed:                                Ok
> > sed works:                                      Ok (/bin/sed)
> > GNU make version '3.81':                        Ok
> > C compiler '/usr/lib/ccache/gcc'
> > C compiler version '4.1.2':                     Ok
> > C++ compiler '/usr/lib/ccache/g++'
> > C++ compiler version ' 4.1.2':                   Ok
> > bison installed:                                Ok
> > flex installed:                                 Ok
> > gettext installed:                              Ok
> > makeinfo installed:                             Ok
> > Build system dependencies:                      Ok
> >
> > rm -rf /mnt/e/buildroot/project_build_arm/ENDUP/buildroot-config
> > mkdir -p /mnt/e/buildroot/project_build_arm/ENDUP
> > cp -dpRf package/config/buildroot-config
> > /mnt/e/buildroot/project_build_arm/ENDUP/buildroot-config
> > cp -dpf  /mnt/e/buildroot/project_build_arm/ENDUP/linux-
> > 2.6.22.10/.config
> > cp: missing destination file operand after
> > `/mnt/e/buildroot/project_build_arm/ENDUP/linux- 2.6.22.10/.config'
> > Try `cp --help' for more information.
> > make: *** [/mnt/e/buildroot/project_build_arm/ENDUP/linux-
> > 2.6.22.10/.configured] Error 1
> >
> > ......................................................
> > I'm using Fedora core 7 and lastest Buildroot version.
> >
> > Please show me how to sovle this error!
> >
> > Thank you very much!
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at uclibc.org
> > http://busybox.net/mailman/listinfo/buildroot
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071216/629e2a6d/attachment-0001.htm 

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

* [Buildroot] Build kernel for ARM with Buildroot
  2007-12-15 15:41 [Buildroot] Build kernel for ARM with Buildroot Lan Ngoc
  2007-12-16 18:09 ` Martin Bures
@ 2007-12-17  8:32 ` Joe
  1 sibling, 0 replies; 4+ messages in thread
From: Joe @ 2007-12-17  8:32 UTC (permalink / raw)
  To: buildroot

First of all, did you provide a .config for your kernel? If not, do so.
And maybe don't run around as "root"....

Greetz

Lan Ngoc wrote:
> cp -dpf  /mnt/e/buildroot/project_build_arm/ENDUP/linux-2.6.22.10/.config
> cp: missing destination file operand after
> `/mnt/e/buildroot/project_build_arm/ENDUP/linux-2.6.22.10/.config'
> Try `cp --help' for more information.

-- 
Sepp "ZaP" Holzmayr

please reply to:
zentrale.at.work at gmail.com

watch out for:
www.rocksociety.de

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

end of thread, other threads:[~2007-12-17  8:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-15 15:41 [Buildroot] Build kernel for ARM with Buildroot Lan Ngoc
2007-12-16 18:09 ` Martin Bures
2007-12-16 18:17   ` Martin Bures
2007-12-17  8:32 ` Joe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox