Re: Unresolved symbols divdi3, inb ,outb,...

Matthew Wilcox (Matthew.Wilcox@genedata.com)
Thu, 18 Nov 1999 17:00:03 +0100


On Thu, Nov 18, 1999 at 04:05:07PM +0200, Reine Gill wrote:
> Lets see if i've got this right:
> The divdi3 comes from the fact that the code
> contains long divison ? And that libgcc is
> not a part of the kernel....how do i solve it ?

Don't do 64-bit division?

> The inb and outb shouldn't they be supported ?

> The driver was compiled with gcc -Wall -DMODULE -DLINUX -D__KERNEL__ -DHWDRIV -c tm.c -o tm.o

You forgot to use -O. inb, outb must be inlined and that won't happen
at -O0; you must use -O1 or higher.

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

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