lkml.org 
[lkml]   [2004]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Can't compile sg.c 2.6.8-rc1-mm1
Adrian Bunk wrote:
> 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.

Wrong. The prototype is at the top of the file, as it should be.

Jeff



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

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.135 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site