All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Problem building build root in a squashhfs image
@ 2007-02-11 21:35 Bobby Ramsook
  0 siblings, 0 replies; 8+ messages in thread
From: Bobby Ramsook @ 2007-02-11 21:35 UTC (permalink / raw)
  To: buildroot

I Have been trying to compile buildroot, but i keep getting stuck on the
following error:

make: *** No rule to make target
`/usr/src/buildroot/build_i586/linux-2.6.12/.patched',
needed by `/usr/src/buildroot/build_i586/linux-2.6.12/.configured'.  Stop.


I looked through the build_i586 directory butr ther  was no
linux-2.6.12dir, I tried to link the
linux-headers-2.6.12 to the dir linux-2.6.12
and I get this error:


-- 
Bobby Ramsook
CCNY Computer Tech
Grad Date (EXP):  07'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070211/dda16bf9/attachment.html 

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

* [Buildroot] Problem building build root in a squashhfs image
  2007-02-15 14:01         ` Bernhard Fischer
@ 2007-02-22 10:14           ` Bobby Ramsook
  0 siblings, 0 replies; 8+ messages in thread
From: Bobby Ramsook @ 2007-02-22 10:14 UTC (permalink / raw)
  To: buildroot

A patch if the kernel will not build properly:



Index: target/linux26.mk
===================================================================
--- target/linux26.mk   (revision 17949)
+++ target/linux26.mk   (working copy)
@@ -32,7 +32,7 @@

 # Linux kernel configuration file
 # Has to be set by the target/device
-# LINUX26_KCONFIG=$(BR2_BOARD_PATH)/linux26.config
+# LINUX26_KCONFIG=$(BR2_BOARD_PATH)/linux26-$(LINUX26_VERSION).config

 # File name for the Linux kernel binary
 LINUX26_KERNEL=linux-kernel-$(LINUX26_VERSION)-$(KERNEL_ARCH)
@@ -61,7 +61,7 @@
                sleep 5; \
        fi;

-ifneq ($(strip $(LINUX26_VERSION)),$(strip $(LINUX_HEADERS_VERSION)))
+#ifneq ($(strip $(LINUX26_VERSION)),$(strip $(LINUX_HEADERS_VERSION)))
 $(DL_DIR)/$(LINUX26_SOURCE):
         $(WGET) -P $(DL_DIR) $(LINUX26_SITE)/$(LINUX26_SOURCE)

@@ -74,10 +74,12 @@
 endif
        touch $@

+linux-patched: $(LINUX26_DIR)/.patched
+
 $(LINUX26_DIR)/.patched: $(LINUX26_DIR)/.unpacked
        toolchain/patch-kernel.sh $(LINUX26_DIR) $(LINUX26_PATCH_DIR)
        touch $@
-endif # ($(LINUX26_VERSION),$(LINUX_HEADERS_VERSION))
+# endif # ($(LINUX26_VERSION),$(LINUX_HEADERS_VERSION))

 $(LINUX26_DIR)/.configured:  $(LINUX26_DIR)/.patched  $(LINUX26_KCONFIG)
        cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config

_________________________________________________________________________________
On 2/15/07, Bernhard Fischer <rep.dot.nop@gmail.com> wrote:
>
> On Thu, Feb 15, 2007 at 02:56:27AM -0500, Bobby Ramsook wrote:
> >If any one else is having problems, may be it might be related to the
> >following lines:
>
> I cannot really see what you did below, so please do a "svn diff" and
> send that instead
>
> thanks,
>



-- 
Bobby Ramsook
CCNY Computer Tech
Grad Date (EXP):  07'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070222/cd936786/attachment.htm 

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

* [Buildroot] Problem building build root in a squashhfs image
  2007-02-15  7:56       ` Bobby Ramsook
@ 2007-02-15 14:01         ` Bernhard Fischer
  2007-02-22 10:14           ` Bobby Ramsook
  0 siblings, 1 reply; 8+ messages in thread
From: Bernhard Fischer @ 2007-02-15 14:01 UTC (permalink / raw)
  To: buildroot

On Thu, Feb 15, 2007 at 02:56:27AM -0500, Bobby Ramsook wrote:
>If any one else is having problems, may be it might be related to the
>following lines:

I cannot really see what you did below, so please do a "svn diff" and
send that instead

thanks,

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

* [Buildroot] Problem building build root in a squashhfs image
  2007-02-15  7:41     ` Bobby Ramsook
@ 2007-02-15  7:56       ` Bobby Ramsook
  2007-02-15 14:01         ` Bernhard Fischer
  0 siblings, 1 reply; 8+ messages in thread
From: Bobby Ramsook @ 2007-02-15  7:56 UTC (permalink / raw)
  To: buildroot

If any one else is having problems, may be it might be related to the
following lines:

LINES 59-79
--------------------------MY----EDIT--------------------------------------------------------------
ifneq ($(strip $(LINUX26_VERSION)),$(strip $(LINUX_HEADERS_VERSION)))
$(DL_DIR)/$(LINUX26_SOURCE):
    echo "Getting $(WGET) -P $(DL_DIR) $(LINUX26_SITE)/$(LINUX26_SOURCE)"
     $(WGET) -P $(DL_DIR) $(LINUX26_SITE)/$(LINUX26_SOURCE)
-->endif

$(LINUX26_DIR)/.unpacked: $(DL_DIR)/$(LINUX26_SOURCE)
    rm -rf $(LINUX26_DIR)
    $(LINUX26_BZCAT) $(DL_DIR)/$(LINUX26_SOURCE) | tar -C $(BUILD_DIR)
$(TAR_OPTIONS) -
ifneq ($(DOWNLOAD_LINUX26_VERSION),$(LINUX26_VERSION))
    # Rename the dir from the downloaded version to the AFTER patch version
    mv -f $(BUILD_DIR)/linux-$(DOWNLOAD_LINUX26_VERSION)
$(BUILD_DIR)/linux-$(LINUX26_VERSION)
endif
    touch $@

$(LINUX26_DIR)/.patched: $(LINUX26_DIR)/.unpacked
-->#    toolchain/patch-kernel.sh $(LINUX26_DIR) $(LINUX26_PATCH_DIR)
-->#endif  ($(LINUX26_VERSION),$(LINUX_HEADERS_VERSION))
    touch $@
------------------------END--MY----EDIT-----------------------------------------------------------


The above worked for me after I made the changes indicated by the -->
What exaxtly is the check for the linux_version against the headers_version
doing?  Both LINUX_VERSION and  LINUX_HEADERS_VERSION are defined at the top
of the linux26.mk. Why check it twice?


LINES 59-78
------------------------ORIGINAL----EDIT-----------------------------------------------------------
ifneq ($(strip $(LINUX26_VERSION)),$(strip $(LINUX_HEADERS_VERSION)))
$(DL_DIR)/$(LINUX26_SOURCE):
$(WGET) -P $(DL_DIR) $(LINUX26_SITE)/$(LINUX26_SOURCE)

$(LINUX26_DIR)/.unpacked: $(DL_DIR)/$(LINUX26_SOURCE)
rm -rf $(LINUX26_DIR)
$(LINUX26_BZCAT) $(DL_DIR)/$(LINUX26_SOURCE) | tar -C $(BUILD_DIR)
$(TAR_OPTIONS) -
ifneq ($(DOWNLOAD_LINUX26_VERSION),$(LINUX26_VERSION))
# Rename the dir from the downloaded version to the AFTER patch version
mv -f $(BUILD_DIR)/linux-$(DOWNLOAD_LINUX26_VERSION)
$(BUILD_DIR)/linux-$(LINUX26_VERSION)
endif
touch $@

$(LINUX26_DIR)/.patched: $(LINUX26_DIR)/.unpacked
toolchain/patch-kernel.sh $(LINUX26_DIR) $(LINUX26_PATCH_DIR)
touch $@
endif # ($(LINUX26_VERSION),$(LINUX_HEADERS_VERSION))

------------------------END-ORIGINAL----EDIT-----------

---------------------------------------------


On 2/15/07, Bobby Ramsook <bobby.83x2@gmail.com> wrote:
>
> I dont supposed the admin of the list can remove that telephone number on
> my last post?
>
> On 2/15/07, Bobby Ramsook < bobby.83x2@gmail.com> wrote:
> >
> > So I was looking throught the target/linux26.mk
> > and I noticed the linux26-menuconfig
> > but when I run it I get:
> >
> > bobby at ubuntu:/usr/src/buildroot$ make linux26-menuconfig
> > make: *** No rule to make target `/usr/src/buildroot/build_i686/linux-
> > 2.6.12/.patched', needed by `linux26-menuconfig'.  Stop.
> >
> > The source is from the svn checkout date 2-11-07
> >
> >
> > On 2/12/07, Philippe Ney < philippe.ney@pardes.ws> wrote:
> > >
> > > > I Have been trying to compile buildroot, but i keep getting stuck on
> > > the
> > > > following error:
> > > >
> > > > make: *** No rule to make target
> > > > `/usr/src/buildroot/build_i586/linux-2.6.12/.patched',
> > > > needed by `/usr/src/buildroot/build_i586/linux- 2.6.12
> > > /.configured'.  Stop.
> > >
> > > Hi,
> > >
> > > If you copy-paste the error in the mail, then it's certainly due to
> > > the
> > > space character.
> > >
> > > Otherwise, check the linux.mk makefile.
> > >
> > > Philippe
> > > _______________________________________________
> > > buildroot mailing list
> > > buildroot at uclibc.org
> > > http://busybox.net/mailman/listinfo/buildroot
> > >
> >
> >
> >
> > --
> > Bobby Ramsook
> > CCNY Computer Tech
> > Grad Date (EXP):  07'
> >
>
>
>
> --
> Bobby Ramsook
> CCNY Computer Tech
> Grad Date (EXP):  07'
>



-- 
Bobby Ramsook
CCNY Computer Tech
Grad Date (EXP):  07'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070215/0610cdaa/attachment.htm 

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

* [Buildroot] Problem building build root in a squashhfs image
  2007-02-15  7:03   ` Bobby Ramsook
@ 2007-02-15  7:41     ` Bobby Ramsook
  2007-02-15  7:56       ` Bobby Ramsook
  0 siblings, 1 reply; 8+ messages in thread
From: Bobby Ramsook @ 2007-02-15  7:41 UTC (permalink / raw)
  To: buildroot

I dont supposed the admin of the list can remove that telephone number on my
last post?

On 2/15/07, Bobby Ramsook <bobby.83x2@gmail.com> wrote:
>
> So I was looking throught the target/linux26.mk
> and I noticed the linux26-menuconfig
> but when I run it I get:
>
> bobby at ubuntu:/usr/src/buildroot$ make linux26-menuconfig
> make: *** No rule to make target `/usr/src/buildroot/build_i686/linux-
> 2.6.12/.patched', needed by `linux26-menuconfig'.  Stop.
>
> The source is from the svn checkout date 2-11-07
>
>
> On 2/12/07, Philippe Ney < philippe.ney@pardes.ws> wrote:
> >
> > > I Have been trying to compile buildroot, but i keep getting stuck on
> > the
> > > following error:
> > >
> > > make: *** No rule to make target
> > > `/usr/src/buildroot/build_i586/linux-2.6.12/.patched',
> > > needed by `/usr/src/buildroot/build_i586/linux- 2.6.12
> > /.configured'.  Stop.
> >
> > Hi,
> >
> > If you copy-paste the error in the mail, then it's certainly due to the
> > space character.
> >
> > Otherwise, check the linux.mk makefile.
> >
> > Philippe
> > _______________________________________________
> > buildroot mailing list
> > buildroot at uclibc.org
> > http://busybox.net/mailman/listinfo/buildroot
> >
>
>
>
> --
> Bobby Ramsook
> CCNY Computer Tech
> Grad Date (EXP):  07'
>



-- 
Bobby Ramsook
CCNY Computer Tech
Grad Date (EXP):  07'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070215/54f08197/attachment.html 

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

* [Buildroot] Problem building build root in a squashhfs image
  2007-02-12  8:07 ` Philippe Ney
@ 2007-02-15  7:03   ` Bobby Ramsook
  2007-02-15  7:41     ` Bobby Ramsook
  0 siblings, 1 reply; 8+ messages in thread
From: Bobby Ramsook @ 2007-02-15  7:03 UTC (permalink / raw)
  To: buildroot

So I was looking throught the target/linux26.mk
and I noticed the linux26-menuconfig
but when I run it I get:

bobby at ubuntu:/usr/src/buildroot$ make linux26-menuconfig
make: *** No rule to make target
`/usr/src/buildroot/build_i686/linux-2.6.12/.patched',
needed by `linux26-menuconfig'.  Stop.

The source is from the svn checkout date 2-11-07


On 2/12/07, Philippe Ney <philippe.ney@pardes.ws> wrote:
>
> > I Have been trying to compile buildroot, but i keep getting stuck on the
> > following error:
> >
> > make: *** No rule to make target
> > `/usr/src/buildroot/build_i586/linux-2.6.12/.patched',
> > needed by `/usr/src/buildroot/build_i586/linux- 2.6.12
> /.configured'.  Stop.
>
> Hi,
>
> If you copy-paste the error in the mail, then it's certainly due to the
> space character.
>
> Otherwise, check the linux.mk makefile.
>
> Philippe
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>



-- 
Bobby Ramsook
CCNY Computer Tech
Grad Date (EXP):  07'
917-435-0028
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070215/9206eb6a/attachment.htm 

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

* [Buildroot] Problem building build root in a squashhfs image
  2007-02-11 21:41 Bobby Ramsook
@ 2007-02-12  8:07 ` Philippe Ney
  2007-02-15  7:03   ` Bobby Ramsook
  0 siblings, 1 reply; 8+ messages in thread
From: Philippe Ney @ 2007-02-12  8:07 UTC (permalink / raw)
  To: buildroot

> I Have been trying to compile buildroot, but i keep getting stuck on the
> following error:
> 
> make: *** No rule to make target
> `/usr/src/buildroot/build_i586/linux-2.6.12/.patched',
> needed by `/usr/src/buildroot/build_i586/linux- 2.6.12/.configured'.  Stop.

Hi,

If you copy-paste the error in the mail, then it's certainly due to the
space character.

Otherwise, check the linux.mk makefile.

Philippe

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

* [Buildroot] Problem building build root in a squashhfs image
@ 2007-02-11 21:41 Bobby Ramsook
  2007-02-12  8:07 ` Philippe Ney
  0 siblings, 1 reply; 8+ messages in thread
From: Bobby Ramsook @ 2007-02-11 21:41 UTC (permalink / raw)
  To: buildroot

I Have been trying to compile buildroot, but i keep getting stuck on the
following error:

make: *** No rule to make target
`/usr/src/buildroot/build_i586/linux-2.6.12/.patched',
needed by `/usr/src/buildroot/build_i586/linux- 2.6.12/.configured'.  Stop.


I looked through the build_i586 directory butr ther  was no
linux-2.6.12dir, I tried to link the
linux-headers-2.6.12 to the dir linux-2.6.12
and I get this error:


make -j1
PATH="/usr/src/buildroot/build_i586/staging_dir/bin:/usr/src/buildroot/toolchain_build_i586/bin:/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games"
AR=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-ar
AS=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-as
LD=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-ld
NM=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-nm
CC=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-gcc
GCC=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-gcc
CXX=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-g++
CPP=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-cpp
RANLIB=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-ranlib
STRIP=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-strip
OBJCOPY=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-objcopy
CC_FOR_BUILD="gcc"
PKG_CONFIG_SYSROOT=/usr/src/buildroot/build_i586/staging_dir
PKG_CONFIG=/usr/src/buildroot/build_i586/staging_dir/usr/bin/pkg-config
CXX="" ARCH=i386
PATH="/usr/src/buildroot/build_i586/staging_dir/bin:/usr/src/buildroot/toolchain_build_i586/bin:/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games"
INSTALL_MOD_PATH=/usr/src/buildroot/build_i586/root
CROSS_COMPILE=/usr/src/buildroot/build_i586/staging_dir/bin/i586-linux-uclibc-
-C /usr/src/buildroot/build_i586/linux-2.6.12 prepare
make[1]: Entering directory `/usr/src/buildroot/toolchain_build_i586/linux-
libc-headers-2.6.12.0'
make[1]: *** No rule to make target `prepare'.  Stop.
make[1]: Leaving directory `/usr/src/buildroot/toolchain_build_i586/linux-
libc-headers-2.6.12.0'
make: *** [/usr/src/buildroot/build_i586/linux-2.6.12/.depend_done] Error 2


I searched for anything in the makefiles and the config files that would
tell me what make file was trign to read this directory but i cant find any
reference tot he linux-2.6.12  inthe files.

find . -name "Config" |grep 2.6.12


I would appreciate anyhelp that any one can give, or advice on how to
complete the build.

BTW this error happens after the build for the  module-init-tools-3.2.2 that
completes sucessfully.

Thank you

-- 
Bobby Ramsook
CCNY Computer Tech
Grad Date (EXP):  07'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070211/9b798635/attachment.htm 

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

end of thread, other threads:[~2007-02-22 10:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-11 21:35 [Buildroot] Problem building build root in a squashhfs image Bobby Ramsook
2007-02-11 21:41 Bobby Ramsook
2007-02-12  8:07 ` Philippe Ney
2007-02-15  7:03   ` Bobby Ramsook
2007-02-15  7:41     ` Bobby Ramsook
2007-02-15  7:56       ` Bobby Ramsook
2007-02-15 14:01         ` Bernhard Fischer
2007-02-22 10:14           ` Bobby Ramsook

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.