All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Sam Ravnborg <sam@ravnborg.org>, linux-kernel@vger.kernel.org
Subject: dependency errors in scripts/ and arch/powerpc/boot
Date: Wed, 9 Aug 2006 14:24:09 +0200	[thread overview]
Message-ID: <20060809122409.GA4596@aepfle.de> (raw)


Sam,

this script results in build errors because stuff in scripts/ and boot/
doesnt get rebuilt if the source dir changes. I was under the impression
that the absolute path of the source dir is part of the build dependency.
Even going from 2.6.18 to 2.6.17 fails.
This used to work with older kernels, I think.

#!/bin/bash
set -ex
mydir=/dev/shm/$PPID
numcpus=`grep -Ec '^cpu[0-9]' /proc/stat || echo 1`

rm -rf $mydir
mkdir -p $mydir
cd $mydir
mkdir O

tar xfz /mounts/mirror/kernel/v2.6/linux-2.6.17.8.tar.gz
tar xfz /mounts/mirror/kernel/v2.6/testing/linux-2.6.18-rc4.tar.gz
cd linux-2.6.18-rc4
cp arch/powerpc/configs/pseries_defconfig ../O/.config
yes '' | make -j$numcpus O=../O oldconfig > /dev/null
make -j$numcpus O=../O zImage > /dev/null
cd ../linux-2.6.17.8
make -j$numcpus O=../O zImage


...

+ cd ../linux-2.6.17.8
+ make -j14 O=../O zImage
  GEN     /dev/shm/13410/O/Makefile
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  Using /dev/shm/13410/linux-2.6.17.8 as source for kernel
  GEN     /dev/shm/13410/O/Makefile
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/mconf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:158:
scripts/kconfig/zconf.hash.c: In function ‘kconf_id_lookup’:
scripts/kconfig/zconf.hash.c:190: error: ‘T_OPT_DEFCONFIG_LIST’ undeclared (first use in this function)
scripts/kconfig/zconf.hash.c:190: error: (Each undeclared identifier is reported only once
scripts/kconfig/zconf.hash.c:190: error: for each function it appears in.)
scripts/kconfig/zconf.hash.c:190: error: ‘TF_OPTION’ undeclared (first use in this function)
scripts/kconfig/zconf.hash.c:203: error: ‘T_OPT_MODULES’ undeclared (first use in this function)
scripts/kconfig/zconf.tab.c: In function ‘zconfparse’:
scripts/kconfig/zconf.tab.c:1557: error: ‘TF_OPTION’ undeclared (first use in this function)
scripts/kconfig/zconf.tab.c:1557: error: invalid operands to binary &
scripts/kconfig/zconf.tab.c:1558: warning: implicit declaration of function ‘menu_add_option’
make[3]: *** [scripts/kconfig/zconf.tab.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [silentoldconfig] Error 2
make[1]: *** [include/linux/autoconf.h] Error 2
make: *** [zImage] Error 2


                 reply	other threads:[~2006-08-09 12:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060809122409.GA4596@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.