linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Compile errors on kernel source from ppc.samba.org::linux-pmac-stable
@ 2000-09-23  3:10 Robert M. Fuhrer
  2000-09-24 22:37 ` Paul Mackerras
  0 siblings, 1 reply; 2+ messages in thread
From: Robert M. Fuhrer @ 2000-09-23  3:10 UTC (permalink / raw)
  To: linuxppc-dev


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/

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

* Re: Compile errors on kernel source from ppc.samba.org::linux-pmac-stable
  2000-09-23  3:10 Compile errors on kernel source from ppc.samba.org::linux-pmac-stable Robert M. Fuhrer
@ 2000-09-24 22:37 ` Paul Mackerras
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mackerras @ 2000-09-24 22:37 UTC (permalink / raw)
  To: rmf; +Cc: linuxppc-dev


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/

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

end of thread, other threads:[~2000-09-24 22:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-09-23  3:10 Compile errors on kernel source from ppc.samba.org::linux-pmac-stable Robert M. Fuhrer
2000-09-24 22:37 ` Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).