mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.19-rc1 make modules_install: cp warning source file  `foo.o' specified more than once
@ 2002-06-24 19:59 Torrey Hoffman
  2002-06-24 22:01 ` Keith Owens
  0 siblings, 1 reply; 2+ messages in thread
From: Torrey Hoffman @ 2002-06-24 19:59 UTC (permalink / raw)
  To: Linux Kernel

During make modules_install I got dozens of these warnings,
here is a short example.

cp: warning: source file `ad1848.o' specified more than once
cp: warning: source file `ad1848.o' specified more than once
cp: warning: source file `ad1848.o' specified more than once
cp: warning: source file `uart401.o' specified more than once
cp: warning: source file `ad1848.o' specified more than once
cp: warning: source file `mpu401.o' specified more than once
cp: warning: source file `ad1848.o' specified more than once
cp: warning: source file `sb_lib.o' specified more than once
cp: warning: source file `uart401.o' specified more than once
cp: warning: source file `cs4232.o' specified more than once
cp: warning: source file `uart401.o' specified more than once

Torrey Hoffman
thoffman@arnor.net



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

* Re: 2.4.19-rc1 make modules_install: cp warning source file `foo.o' specified more than once
  2002-06-24 19:59 2.4.19-rc1 make modules_install: cp warning source file `foo.o' specified more than once Torrey Hoffman
@ 2002-06-24 22:01 ` Keith Owens
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Owens @ 2002-06-24 22:01 UTC (permalink / raw)
  To: Torrey Hoffman; +Cc: Linux Kernel

On 24 Jun 2002 12:59:08 -0700, 
Torrey Hoffman <thoffman@arnor.net> wrote:
>During make modules_install I got dozens of these warnings,
>here is a short example.
>
>cp: warning: source file `ad1848.o' specified more than once

That warning does not appear for me, I guess that you are running a
bleeding edge version of fileutils.  Fix is easy (untested).

--- Rules.make	Tue Jun  4 13:32:52 2002
+++ Rules.make.new	Tue Jun 25 07:59:38 2002
@@ -176,7 +176,7 @@
 _modinst__: dummy
 ifneq "$(strip $(ALL_MOBJS))" ""
 	mkdir -p $(MODLIB)/kernel/$(MOD_DESTDIR)
-	cp $(ALL_MOBJS) $(MODLIB)/kernel/$(MOD_DESTDIR)
+	cp $(sort $(ALL_MOBJS)) $(MODLIB)/kernel/$(MOD_DESTDIR)
 endif
 
 .PHONY: modules_install


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

end of thread, other threads:[~2002-06-24 22:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-24 19:59 2.4.19-rc1 make modules_install: cp warning source file `foo.o' specified more than once Torrey Hoffman
2002-06-24 22:01 ` Keith Owens

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®