mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthias Andree <matthias.andree@gmx.de>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: linux-kernel@vger.kernel.org, Matthias Andree <matthias.andree@gmx.de>
Subject: Re: Anyone got aic7xxx working with 2.4.26?
Date: Tue, 27 Apr 2004 16:26:43 +0200	[thread overview]
Message-ID: <20040427142643.GA10553@merlin.emma.line.org> (raw)
In-Reply-To: <20040427131941.GC10264@logos.cnet>

On Tue, 27 Apr 2004, Marcelo Tosatti wrote:

> What is the compile error with 2.4-BK-current? 

Well, it used to be one that went away after I typed:

cp .config /tmp
make distclean
bk -Ur get -S         # <- this checked out dozens of include files
mv /tmp/.config .
make oldconfig dep
make bzImage modules

The problem was:

(1) glibc-devel (SuSE Linux) installs includes into /usr/include/linux.
    These are older includes (UTS_RELEASE 2.4.20, LINUX_VERSION_CODE
    132116).

(2) BK had removed some of the include files in the course of a "bk pull"

(3) "make dep" and the kernel stuff picked up the stale includes from
    /usr/include/linux instead of /space/BK/linux-2.4/include/...

    Apparently, the (relative) include/ directory has precedence, but
    the kernel build system falls back to looking in /usr/include/linux.

I don't know the kernel build system well enough to make a qualified
comment why this happened, might have been missing dependencies, missing
paths relative to the kernel source directory or something, or might be
the use of VPATH where it shouldn't be used or with too broad paths.

sym53c8xx_2 is also fine currently, I'm using it for my system disk as I
am writing this. This problem started earlier than compile errors
(incompatibly redefined symbols and such), so it may have had some stale
include files already but not enough to jam the build.

> Did you post the boot messages with sym53c8xx_2? Can you use sym53c8xx?

No, I didn't because I wasn't confident it was my own fault.

I haven't used ncr53c8xx or sym53c8xx in ages and don't intend to.

So everything is fine for me - except that this may happen to everyone
again at any time unless the build system is fixed to that make can
"get" (as in bk get) the include files.

Someone posted patches to fix this some weeks ago, but the patches
apparently fell on the floor unheeded, I don't recall if this was for
2.4 or 2.6.

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95

  reply	other threads:[~2004-04-27 14:27 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-26 14:32 David Johnson
2004-04-26 15:03 ` Tomas Szepe
2004-04-26 16:10 ` Matthias Andree
2004-04-27 13:19   ` Marcelo Tosatti
2004-04-27 14:26     ` Matthias Andree [this message]
2004-04-27 14:59       ` jamagallon
2004-04-27 16:13         ` Matthias Andree
2004-04-27 18:09           ` [PATCH] incomplete dependencies with BK tree (was: Anyone got aic7xxx working with 2.4.26?) Matthias Andree
2004-04-27 22:49             ` jamagallon
2004-04-27 23:00               ` Linus Torvalds
2004-04-27 23:42                 ` Matthias Andree
2004-04-26 16:35 ` Anyone got aic7xxx working with 2.4.26? Jurjen Oskam
2004-04-27 13:21 ` Marcelo Tosatti
2004-04-27 14:05   ` David Johnson

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=20040427142643.GA10553@merlin.emma.line.org \
    --to=matthias.andree@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /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®