Compile errors on kernel source from ppc.samba.org::linux-pmac-stable

2 messages, 2 authors, 2000-09-24 · open the first message on its own page

Compile errors on kernel source from ppc.samba.org::linux-pmac-stable

From: Robert M. Fuhrer <hidden>
Date: 2000-09-23 03:10:55

I rsync'ed twice from ppc.samba.org, and although it clearly got many
files (the first time around), the source wouldn't compile.  The first of
many batches of errors cropped up in

  drivers/block/ll_rw_blk.c

which sees no definition of the type 'elevator_t', as well as a few other
"elevator"-related types.

Granted, I rsync'ed on top of an existing 2.2.15pre9 source tree, but I
gave rsync the "--delete" and "-u" flags, which I thought should have
given me a fairly clean and up-to-date tree.  No?

The precise rsync cmd I used was

  rsync -avuz ppc.samba.org::linux-pmac-stable .

If my rsync cmd was ok, am I wrong in expecting the linux-pmac-stable
tree to compile cleanly?

Or, failing all of the above, what's wrong?

 -------------------------------------------------------------------------
 >                   "Smooth Jazz" is no jazz at all...                  <
 > Dr. Robert M. Fuhrer                           rfuhrer@watson.ibm.com <
 > Computer Music Center                 IBM T.J. Watson Research Center <
 -------------------------------------------------------------------------

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Compile errors on kernel source from ppc.samba.org::linux-pmac-stable

From: Paul Mackerras <hidden>
Date: 2000-09-24 22:37:37

Robert M. Fuhrer writes:
I rsync'ed twice from ppc.samba.org, and although it clearly got many
files (the first time around), the source wouldn't compile.  The first of
many batches of errors cropped up in

  drivers/block/ll_rw_blk.c

which sees no definition of the type 'elevator_t', as well as a few other
"elevator"-related types.

Granted, I rsync'ed on top of an existing 2.2.15pre9 source tree, but I
gave rsync the "--delete" and "-u" flags, which I thought should have
given me a fairly clean and up-to-date tree.  No?
Do it without -u.  What happens is that the linux Makefiles touch the
header files.  If a.h includes b.h and b.h is newer than a.h, make
will touch a.h so that anything that includes a.h will get
recompiled.  This means that if you have compiled in the tree recently
your local copy of a.h could well have a newer date than the a.h in
the rsync tree, even if the a.h in the rsync tree is actually a more
up-to-date version.

--
Paul Mackerras, Senior Open Source Researcher, Linuxcare, Inc.
+61 2 6262 8990 tel, +61 2 6262 8991 fax
paulus@linuxcare.com.au, http://www.linuxcare.com.au/
Linuxcare.  Support for the revolution.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help