Re: Can't compile sg.c 2.6.8-rc1-mm1

From: Adrian Bunk
Date: Wed Jul 14 2004 - 11:42:47 EST


On Wed, Jul 14, 2004 at 11:55:15AM -0400, Jeff Garzik wrote:
> Genady Okrain wrote:
> >I am using gcc-3.4.1
> >
> > CC [M] drivers/scsi/sg.o
> >drivers/scsi/sg.c: In function `sg_ioctl':
> >drivers/scsi/sg.c:209: sorry, unimplemented: inlining failed in call
> >to 'sg_jif_to_ms': function body not available
> >drivers/scsi/sg.c:930: sorry, unimplemented: called from here
> >make[2]: *** [drivers/scsi/sg.o] Error 1
> >make[1]: *** [drivers/scsi] Error 2
> >make: *** [drivers] Error 2
>
>
> Looks like a compiler bug.

No, it's an inline that is used before it's defined.

I'll send a fix soon.

> Jeff

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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