All of lore.kernel.org
 help / color / mirror / Atom feed
* Compiling modules question
@ 2004-03-29 20:19 Art Haas
  2004-03-29 20:30 ` David S. Miller
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Art Haas @ 2004-03-29 20:19 UTC (permalink / raw)
  To: sparclinux

Hi.

Here's another question for the list that I've not been able to
answer. When I compile a kernel with modules, the modules all have
problems with undefined symbols like 'udiv', 'urem', etc. As
my machine is a 'v8' machine, my solution to resolving this
problem was to edit the makefile and add '-mcpu=v8' in a couple
of places, and things work fine. But, if I had to run my kernel
on a 'v7' machine, things would fail.

In 'arch/sparc/lib' there are routines that provide the missing
functions, so am I missing some step where this library gets linked
into the building of the module? If not, then these missing
functions must get picked up in libc, correct? My ignorance of how
things work in SparcLinux is showing ...

Thanks in advance for any info you can send my way.

Art Haas
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822

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

end of thread, other threads:[~2004-03-31  0:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-29 20:19 Compiling modules question Art Haas
2004-03-29 20:30 ` David S. Miller
2004-03-29 21:19 ` Keith M Wesolowski
2004-03-29 21:29 ` Jason Wever
2004-03-29 22:42 ` Keith M Wesolowski
2004-03-30  0:21 ` Rusty Russell
2004-03-30  1:35 ` Art Haas
2004-03-30  7:43 ` Keith M Wesolowski
2004-03-30  8:03 ` David S. Miller
2004-03-31  0:18 ` Rusty Russell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.