public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: test10-pre7 (LINK ordering)
@ 2000-11-01  1:24 Dunlap, Randy
  2000-11-01  2:11 ` Keith Owens
  0 siblings, 1 reply; 5+ messages in thread
From: Dunlap, Randy @ 2000-11-01  1:24 UTC (permalink / raw)
  To: 'Jeff Garzik'
  Cc: 'Keith Owens', 'Kernel Mailing List',
	'linus'

> > > With CONFIG_USB=y and all other USB modules built as
> > > modules (=m), linking usbdrv.o into the kernel image
> > > gives this:
> > 
> > > drivers/usb/usbdrv.o(.data+0x2f4): undefined reference to
> > 
> > Works for me here, .config attached.  Local changes, merge error, or
> > similar?  I don't have any local USB patches...
> 
> I agree.  My (rushed) bad.
> Didn't rm usb/*.o .
> 
> Thanks for catching me.  I'm pleased that there's
> no problem here.

Hi Jeff,

Did I speak too quickly again?

Can you successfully do 'depmod -ae' _before_
booting this kernel?

I still get lots of unresolved USB symbols in
all USB modules.

Is it valid to run depmod like this before
booting the kernel that has usbcore in-kernel?
depmod -ae works after I boot that kernel + usbcore.

~Randy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: test10-pre7 (LINK ordering)
@ 2000-11-01  1:13 Dunlap, Randy
  0 siblings, 0 replies; 5+ messages in thread
From: Dunlap, Randy @ 2000-11-01  1:13 UTC (permalink / raw)
  To: 'Jeff Garzik'; +Cc: Linus Torvalds, Keith Owens, Kernel Mailing List

> > With CONFIG_USB=y and all other USB modules built as
> > modules (=m), linking usbdrv.o into the kernel image
> > gives this:
> 
> > drivers/usb/usbdrv.o(.data+0x2f4): undefined reference to
> 
> Works for me here, .config attached.  Local changes, merge error, or
> similar?  I don't have any local USB patches...

I agree.  My (rushed) bad.
Didn't rm usb/*.o .

Thanks for catching me.  I'm pleased that there's
no problem here.

~Randy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: test10-pre7
@ 2000-10-31 20:59 Linus Torvalds
  2000-11-01  0:16 ` test10-pre7 (LINK ordering) Randy Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Linus Torvalds @ 2000-10-31 20:59 UTC (permalink / raw)
  To: Russell King; +Cc: Keith Owens, Jeff Garzik, Kernel Mailing List



On Tue, 31 Oct 2000, Russell King wrote:

> Linus Torvalds writes:
> > On Wed, 1 Nov 2000, Keith Owens wrote:
> > > LINK_FIRST is processed in the order it is specified, so a.o will be
> > > linked before z.o when both are present.  See the patch.
> > 
> > So why don't you do the same thing for obj-y, then?
> > 
> > Why can't you do
> > 
> > 	LINK_FIRST=$(obj-y)
> > 
> > and be done with it?
> 
> Hmm, so why don't we just call it obj-y and be done with it? ;)

That was going to be my next question if somebody actually said "sure".

The question was rhetorical, since the way LINK_FIRST is implemented means
that it has all the same problems that $(obj-y) has, and is hard to get
right in the generic case (but you can get it trivially right for the
subset case, like for USB).

			Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-11-01  2:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-01  1:24 test10-pre7 (LINK ordering) Dunlap, Randy
2000-11-01  2:11 ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2000-11-01  1:13 Dunlap, Randy
2000-10-31 20:59 test10-pre7 Linus Torvalds
2000-11-01  0:16 ` test10-pre7 (LINK ordering) Randy Dunlap
2000-11-01  0:52   ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox