From: Peter S. <psh...@lu...> - 2005-06-29 20:22:45
|
Thanks for the help...I was able to remove all the "inline" statements = which were causing compiler problems, and the module loads and works = properly. :) --Peter > -----Original Message----- > From: isc...@li...=20 > [mailto:isc...@li...] On=20 > Behalf Of Arne Redlich > Sent: Wednesday, June 29, 2005 1:44 AM > To: isc...@li... > Subject: RE: [Iscsitarget-devel] qla4010c >=20 >=20 > Am Mittwoch, den 29.06.2005, 00:49 -0700 schrieb Peter Shearer: > > > Could you be a bit more specific on what's going wrong? > > > I've had no problems with it on 2.6.11.x / 2.6.12.x. I'm=20 > > > using it under > > > Debian though, but unless your problem is related to=20 > FC4's compiler > > > (they're using gcc-4.0, right?) or some extra-patches to the=20 > > > kernel, the > > > following should work: > > >=20 > > > 1. build module: > > > tar xvzf qla4xxx-5.00.02.tar.gz > > > cd 5.00.02/ > > > sh extras/build.sh > > > --> qla4xxx.ko > >=20 > > Following those instructions above, here's what I get: > >=20 > > CC [M] /root/install/qla4xxx/5.00.02/ql4_isr.o > > /root/install/qla4xxx/5.00.02/ql4_init.c: In function=20 > =E2qla4xxx_start_firmware=E2: > > /root/install/qla4xxx/5.00.02/ql4_glbl.h:34: sorry,=20 > unimplemented: inlining fail > > ed in call to =E2qla4xxx_soft_reset=E2: function body not available > > /root/install/qla4xxx/5.00.02/ql4_init.c:1958: sorry,=20 > unimplemented: called from > > here > > /root/install/qla4xxx/5.00.02/ql4_isr.c: In function=20 > =E2qla4xxx_check_and_copy_sen > > se=E2: > > /root/install/qla4xxx/5.00.02/ql4_isr.c:161: warning: ISO=20 > C90 forbids mixed decl > > arations and code > > make[1]: *** [/root/install/qla4xxx/5.00.02/ql4_init.o] Error 1 > > make[1]: *** Waiting for unfinished jobs.... > > make: *** [_module_/root/install/qla4xxx/5.00.02] Error 2 > > make: Leaving directory=20 > `/usr/src/kernels/2.6.11-1.1369_FC4-smp-x86_64' > >=20 > > Ideas? It looks like it can find all the kernel info=20 > properly. The inline qla4xxx_soft_reset function isn't=20 > compiling properly. >=20 > Alright, seems to be related to gcc 4.0, indeed. > I've stumbled across this related thread: > https://www.redhat.com/archives/fedora-list/2005-May/msg04409.html >=20 > Arne > --=20 > Arne Redlich > Xiranet Communications GmbH >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick > _______________________________________________ > Iscsitarget-devel mailing list > Isc...@li... > https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel >=20 |