Hello, Hayim Shaul
I am facing the same
compilation problem as you.
Could you tell what exactly you
removed (lines) and in what file(s) (drivers/scsi/qla2xxx/qla_os.c)
?
Regards
StephaneVaisenberg
--- --- --- --- --- --- --- ---
---
Hi,
I installed Fedora 2,
installed gcc-3.4.2
and then tried to compile linux 2.6.9
during the compilation I got this error:
CC [M] drivers/scsi/qla2xxx/qla_os.o drivers/scsi/qla2xxx/qla_os.c: In
function `qla2x00_queuecommand': drivers/scsi/qla2xxx/qla_os.c:315: sorry,
unimplemented: inlining failed in call
to 'qla2x00_callback': function not considered for inlining
drivers/scsi/qla2xxx/qla_os.c:269: sorry, unimplemented: called from here
drivers/scsi/qla2xxx/qla_os.c:315: sorry, unimplemented: inlining failed
in call
to 'qla2x00_callback': function not considered for inlining
drivers/scsi/qla2xxx/qla_os.c:269: sorry, unimplemented: called from here
make[3]: *** [drivers/scsi/qla2xxx/qla_os.o] Error 1 make[2]: ***
[drivers/scsi/qla2xxx] Error 2 make[1]: *** [drivers/scsi] Error 2
The problem repeated with gcc-3.3.3
I removed the "__inline__" from the prototype and it compiled.
The problem repeats, though, in another file.
Am I doing something wrong?
After my adjustment it seems to work, but then again, I'm not sure I'll
see any differences by making the func not inline (other than slower
code).
Hayim.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/
I installed Fedora 2,
installed gcc-3.4.2
and then tried to compile linux 2.6.9
during the compilation I got this error:
CC [M] drivers/scsi/qla2xxx/qla_os.o drivers/scsi/qla2xxx/qla_os.c: In
function `qla2x00_queuecommand': drivers/scsi/qla2xxx/qla_os.c:315: sorry,
unimplemented: inlining failed in call
to 'qla2x00_callback': function not considered for inlining
drivers/scsi/qla2xxx/qla_os.c:269: sorry, unimplemented: called from here
drivers/scsi/qla2xxx/qla_os.c:315: sorry, unimplemented: inlining failed
in call
to 'qla2x00_callback': function not considered for inlining
drivers/scsi/qla2xxx/qla_os.c:269: sorry, unimplemented: called from here
make[3]: *** [drivers/scsi/qla2xxx/qla_os.o] Error 1 make[2]: ***
[drivers/scsi/qla2xxx] Error 2 make[1]: *** [drivers/scsi] Error 2
The problem repeated with gcc-3.3.3
I removed the "__inline__" from the prototype and it compiled.
The problem repeats, though, in another file.
Am I doing something wrong?
After my adjustment it seems to work, but then again, I'm not sure I'll
see any differences by making the func not inline (other than slower
code).
Hayim.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/