mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: tomas szepe <kala@pinerecords.com>
To: Keith Owens <kaos@ocs.com.au>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: kbuild 2.5 is ready for inclusion in the 2.5 kernel
Date: Thu, 2 May 2002 23:34:44 +0200	[thread overview]
Message-ID: <20020502213443.GA10617@louise.pinerecords.com> (raw)
In-Reply-To: <20020502103810.GA7937@louise.pinerecords.com> <28926.1020342106@ocs3.intra.ocs.com.au>

> >Another question I'd like to ask (soooorry :D) -- would there be a little
> >cunning target in Makefile-2.5 that'd create the asm-$arch symlink for me
> >in include/ like kbuild 2.4 does? Whenever I run "make -f Makefile-2.5 clean"
> >followed by "make -f Makefile-2.5 menuconfig" I get some serious whipping
> >from kbuild 2.5, cos the asm-$arch symlink gets deleted in the cleaning,
> >and I have to resurrect it by hand.
>
> It works for me.  menuconfig does not use include/asm-$ARCH.
> 
> make -f Makefile-2.5 clean
> make -f Makefile-2.5 menuconfig
> gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/checklist.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/checklist.c
> gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/menubox.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/menubox.c
> gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/textbox.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/textbox.c
> gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/yesno.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/yesno.c
> gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/inputbox.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/inputbox.c
> gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/util.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/util.c
> gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/lxdialog.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/lxdialog.c
> gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/msgbox.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/msgbox.c
> gcc -o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/lxdialog /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/checklist.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/menubox.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/textbox.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/yesno.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/inputbox.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/util.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/lxdialog.o /build/kaos/2.5.12-kbuild-2.5/scripts/lxdialog/msgbox.o -lncurses
> Using ARCH='i386' AS='as' LD='ld' CC='/usr/bin/gcc' CPP='/usr/bin/gcc -E' AR='ar' HOSTAS='as' HOSTLD='gcc' HOSTCC='gcc' HOSTAR='ar'
> Generating global Makefile
>   phase 1 (find all inputs)
> Using defaults found in .config
> Preparing scripts: functions, parsing......................................................................................done.
> 
> Saving your kernel configuration...

Hmmm.

kala@nibbler:/usr/src$ rm -Rf linux-2.5.12
kala@nibbler:/usr/src$ tar xzf linux-2.5.12.tgz
kala@nibbler:/usr/src$ rm -f linux; ln -s linux-2.5.12 linux
kala@nibbler:/usr/src$ cd linux-2.5.12
kala@nibbler:/usr/src/linux-2.5.12$ zcat ../kbuild-2.5-core-9.gz ../kbuild-2.5-common-2.5.12-1.gz ../kbuild-2.5-i386-2.5.12-1.gz| patch -sp1
kala@nibbler:/usr/src/linux-2.5.12$ cp ../.config .
kala@nibbler:/usr/src/linux-2.5.12$ make oldconfig
...

kala@nibbler:/usr/src/linux-2.5.12$ make -f Makefile-2.5 oldconfig
...

kala@nibbler:/usr/src/linux-2.5.12$ make -f Makefile-2.5 installable
spec value %p not found
Using ARCH='i386' AS='as' LD='ld' CC='/usr/bin/gcc' CPP='/usr/bin/gcc -E' AR='ar' HOSTAS='as' HOSTLD='gcc' HOSTCC='gcc' HOSTAR='ar'
Generating global Makefile
...

kala@nibbler:/usr/src/linux-2.5.12$ make -f Makefile-2.5 clean
spec value %p not found
kala@nibbler:/usr/src/linux-2.5.12$ make -f Makefile-2.5 menuconfig
gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /usr/src/linux-2.5.12/scripts/lxdialog/checklist.o /usr/src/linux-2.5.12/scripts/lxdialog/checklist.c
gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /usr/src/linux-2.5.12/scripts/lxdialog/menubox.o /usr/src/linux-2.5.12/scripts/lxdialog/menubox.c
gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /usr/src/linux-2.5.12/scripts/lxdialog/textbox.o /usr/src/linux-2.5.12/scripts/lxdialog/textbox.c
gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /usr/src/linux-2.5.12/scripts/lxdialog/yesno.o /usr/src/linux-2.5.12/scripts/lxdialog/yesno.c
gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /usr/src/linux-2.5.12/scripts/lxdialog/inputbox.o /usr/src/linux-2.5.12/scripts/lxdialog/inputbox.c
gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /usr/src/linux-2.5.12/scripts/lxdialog/util.o /usr/src/linux-2.5.12/scripts/lxdialog/util.c
gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /usr/src/linux-2.5.12/scripts/lxdialog/lxdialog.o /usr/src/linux-2.5.12/scripts/lxdialog/lxdialog.c
gcc -Wall -Wstrict-prototypes -g  -DLOCALE  -I/usr/include/ncurses -DCURSES_LOC="<ncurses.h>" -c -o /usr/src/linux-2.5.12/scripts/lxdialog/msgbox.o /usr/src/linux-2.5.12/scripts/lxdialog/msgbox.c
gcc -o /usr/src/linux-2.5.12/scripts/lxdialog/lxdialog /usr/src/linux-2.5.12/scripts/lxdialog/checklist.o /usr/src/linux-2.5.12/scripts/lxdialog/menubox.o /usr/src/linux-2.5.12/scripts/lxdialog/textbox.o /usr/src/linux-2.5.12/scripts/lxdialog/yesno.o /usr/src/linux-2.5.12/scripts/lxdialog/inputbox.o /usr/src/linux-2.5.12/scripts/lxdialog/util.o /usr/src/linux-2.5.12/scripts/lxdialog/lxdialog.o /usr/src/linux-2.5.12/scripts/lxdialog/msgbox.o -lncurses
In file included from /usr/include/bits/errno.h:25,
                 from /usr/include/errno.h:36,
                 from /usr/src/linux-2.5.12/scripts/mdbm/common.h:19,
                 from /usr/src/linux-2.5.12/scripts/mdbm/debug.c:6:
/usr/include/linux/errno.h:4: asm/errno.h: No such file or directory
In file included from /usr/include/netinet/in.h:212,
                 from /usr/src/linux-2.5.12/scripts/mdbm/mdbm.h:185,
                 from /usr/src/linux-2.5.12/scripts/mdbm/common.h:24,
                 from /usr/src/linux-2.5.12/scripts/mdbm/debug.c:6:
/usr/include/bits/socket.h:305: asm/socket.h: No such file or directory
make: *** [/usr/src/linux-2.5.12/scripts/mdbm/debug.o] Error 1

'/usr/include/asm' points to '/usr/src/linux/include/asm', which doesn't
exist at this moment. It seems to me that kbuild 2.5 makes the assumption
that the 'asm' symlink in /usr/include already determines the machine
architecture type by pointing to a concrete asm-$arch
in /usr/src/linux/include.


Tomas

-- 
"hello it's not like i read my mail so that you have where to offer to sell me
a giant turnip or anything else thankyou." -tomas szepe <kala@pinerecords.com>          

  parent reply	other threads:[~2002-05-02 21:35 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-01 14:23 Keith Owens
2002-05-02 15:17 ` Denis Vlasenko
2002-05-02 10:38   ` tomas szepe
2002-05-02 12:21     ` Keith Owens
2002-05-02 12:49       ` Martin Dalecki
2002-05-02 14:26         ` Alan Cox
2002-05-02 13:32           ` Martin Dalecki
2002-05-02 14:54             ` Kai Germaschewski
2002-05-02 15:17             ` Alan Cox
2002-05-05  9:43               ` Mike Fedyk
2002-05-05 10:16                 ` Keith Owens
2002-05-02 15:21             ` Arjan van de Ven
2002-05-02 15:59               ` Richard Gooch
2002-05-02 15:36                 ` Martin Dalecki
2002-05-02 17:15                   ` Alan Cox
2002-05-02 16:30                     ` Martin Dalecki
2002-05-02 18:20                       ` Alan Cox
2002-05-02 17:25                   ` Arjan van de Ven
2002-05-02 16:53                     ` Martin Dalecki
2002-05-02 17:48                       ` David S. Miller
2002-05-02 17:42                         ` Martin Dalecki
2002-05-02 19:11                           ` Alan Cox
2002-05-02 18:22                             ` Martin Dalecki
2002-05-02 18:49                             ` David S. Miller
2002-05-02 18:33                       ` Alan Cox
2002-05-02 14:24       ` Kai Germaschewski
2002-05-02 15:18         ` David Woodhouse
2002-05-02 15:40           ` Kai Germaschewski
2002-05-02 23:40             ` Keith Owens
2002-05-02 23:25               ` Martin Dalecki
2002-05-03 14:48               ` Kai Germaschewski
2002-05-03 15:45                 ` Keith Owens
2002-05-02 15:19         ` Alan Cox
2002-05-02 22:57           ` Pavel Machek
2002-05-03  8:33             ` Vikram
2002-05-03 12:07               ` Keith Owens
2002-05-18  1:14                 ` Andrea Arcangeli
2002-05-18  1:33                   ` Dave Jones
2002-05-18  3:06                     ` Oliver Xymoron
2002-05-18 12:28                     ` [PATCH] move jiffies from sched.h to it's own jiffies.h Tim Schmielau
2002-05-19 22:33                       ` Tim Schmielau
2002-05-20  2:32                       ` Rusty Russell
2002-05-18  2:12                   ` kbuild 2.5 is ready for inclusion in the 2.5 kernel Gerhard Mack
2002-05-18  2:13                   ` Keith Owens
2002-05-18  2:30                     ` Andrea Arcangeli
2002-05-20  2:38                     ` Miles Bader
2002-05-02 21:34       ` tomas szepe [this message]
2002-05-02 21:42         ` Dave Jones
2002-05-03  1:19           ` John Covici
2002-05-03  1:33             ` Keith Owens
2002-05-03  1:39               ` tomas szepe
2002-05-03  2:31             ` Alexander Viro
2002-05-03  3:21               ` Davide Libenzi
2002-05-02 21:42         ` Alexander Viro
2002-05-02 23:25           ` tomas szepe
2002-05-03 21:05           ` Mark H. Wood
2002-05-04 13:58             ` Kurt Wall
2002-05-06  1:54             ` Mike Fedyk
2002-05-02 22:54 ` Pavel Machek
2002-05-03  9:00   ` Keith Owens
2002-05-03  4:17 ` Randy.Dunlap
2002-05-03  5:02   ` Keith Owens
2002-05-03  6:32     ` Randy.Dunlap
2002-05-03 10:06     ` Gerd Knorr
2002-05-03 10:42       ` Keith Owens
2002-05-03 12:05         ` Gerd Knorr
2002-05-03 13:31           ` Keith Owens
2002-05-04  6:44         ` Paul Mackerras
2002-05-04  8:03           ` Paul Mackerras
2002-05-06  0:42             ` Mike Fedyk
2002-05-06  4:07               ` Paul Mackerras
2002-05-04  9:03           ` Keith Owens
2002-05-04  9:38             ` Russell King
2002-05-04 10:33             ` Paul Mackerras
2002-05-04 11:49               ` Keith Owens
2002-05-06  8:40                 ` Gerd Knorr
2002-05-07  4:14                   ` Keith Owens
2002-05-04 15:30               ` Richard Gooch
2002-05-05 17:23 ` Urban Widmark
2002-05-05 23:36   ` Keith Owens
2002-05-06 11:33     ` Urban Widmark
2002-05-06 23:54       ` Keith Owens
2002-05-06 10:54 ` Alex Riesen
2002-05-08  2:54   ` Keith Owens
2002-05-08 17:25     ` Alex Riesen
2002-05-09  0:10       ` Keith Owens
2002-05-09  0:55         ` Daniel Jacobowitz
2002-05-09  1:44           ` Keith Owens
2002-05-05 16:42 Dan Kegel
2002-05-05 23:44 ` Keith Owens
2002-05-06  0:02   ` Dan Kegel
2002-05-06  0:40     ` Keith Owens
2002-05-06 15:38 ` Alan Cox
2002-05-06 15:33   ` Tomas Szepe
     [not found] <cs.lists.linux-kernel/18740.1020729269@ocs3.intra.ocs.com.au>
2002-05-07 23:48 ` Ion Badulescu
2002-05-08  0:10   ` Keith Owens
2002-05-08  0:37     ` Alan Cox
2002-05-08  0:34       ` Keith Owens

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=20020502213443.GA10617@louise.pinerecords.com \
    --to=kala@pinerecords.com \
    --cc=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®