[hsflinux] hsf driver not compiling on gentoo-dev-sources 2.6.9

Fadi Adlouni fadlouni at hotmail.com
Fri Oct 22 00:42:47 EDT 2004


Hi,

indeed i did edit the file and made the function non-inline shortly after i 
sent my email.

but thanks for the reply :-) .

since the function was inline, and it's not now, should there be a 
performance effect (since now we are jumping to the function instead of 
inlinig it)? i guess not since this is a modem anyway and doesn't have any 
high speed traffic.

Fadi.

>From: "Linuxant support (Jonathan)" <support at linuxant.com>
>Reply-To: support at linuxant.com
>To: Fadi Adlouni <fadlouni at hotmail.com>
>CC: hsflinux at lists.linuxant.com
>Subject: Re: [hsflinux] hsf driver not compiling on gentoo-dev-sources 
>2.6.9
>Date: Thu, 21 Oct 2004 17:39:20 +0000
>
>Hi,
>
>this known problem will be fixed in a future release of the driver. In the 
>meantime, please edit the file '/usr/lib/hsfmodem/modules/osusb.c' and 
>change the line 67 :
>
>---
>static inline void
>---
>
>to
>
>---
>static void
>---
>
>Then, try again to compile the driver modules with the following command in 
>a root shell :
>
>---
>hsfconfig
>---
>
>Regards,
>
>
>Jonathan
>Technical specialist / Linuxant
>www.linuxant.com
>support at linuxant.com
>
>
>Fadi Adlouni wrote:
>>Hi everyone.
>>
>>i have a fully licensed version of the driver.
>>
>>i upgraded today to 2.6.9 kernel (gentoo dev sources version). and my hsf 
>>driver doesn't compile anymore. it was wroking fine on 2.6.8-r10 and 
>>earlier. i'm using gcc 3.4.2 , my laptop is an ibm t42
>>
>>i've attached the hsfconfig-buildlog.txt which is generated by the 
>>hsfconfig . the error in the log file is:
>>include/asm/kgdb.h:51:1: warning: this is the location of the previous 
>>definition
>>/usr/lib/hsfmodem/modules/osusb.c: In function `SubmitUrbListEntry':
>>/usr/lib/hsfmodem/modules/osusb.c:69: sorry, unimplemented: inlining 
>>failed in call to 'ChangeUrbListEntryState':
>>/usr/lib/hsfmodem/modules/osusb.c:108: sorry, unimplemented: called from 
>>here
>>/usr/lib/hsfmodem/modules/osusb.c:69: sorry, unimplemented: inlining 
>>failed in call to 'ChangeUrbListEntryState': function not considered for 
>>inlining
>>/usr/lib/hsfmodem/modules/osusb.c:126: sorry, unimplemented: called from 
>>here
>>/usr/lib/hsfmodem/modules/osusb.c:69: sorry, unimplemented: inlining 
>>failed in call to 'ChangeUrbListEntryState': function not considered for 
>>inlining
>>/usr/lib/hsfmodem/modules/osusb.c:130: sorry, unimplemented: called from 
>>here
>>make[2]: *** [/usr/lib/hsfmodem/modules/osusb.o] Error 1
>>make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
>>make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo'
>>make: *** [all] Error 2
>>
>>my modem is:
>>root ~/ #lspci -v -v -s 00:1f.6
>>0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 
>>Modem Controller (rev 01) (prog-if 00 [Generic])
>>        Subsystem: IBM: Unknown device 0559
>>        Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- 
>>ParErr- Stepping- SERR- FastB2B-
>>        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
>><TAbort- <MAbort- >SERR- <PERR-
>>        Interrupt: pin B routed to IRQ 11
>>        Region 0: I/O ports at 2400
>>        Region 1: I/O ports at 2000 [size=128]
>>        Capabilities: [50] Power Management version 2
>>                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA 
>>PME(D0+,D1-,D2-,D3hot+,D3cold+)
>>                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>>
>>can anyone help?
>>
>>thx,
>>Fadi.
>>
>>_________________________________________________________________
>>Be the best at I LOVE MESSENGER http://www.imagine-msn.com/ilm/nl-be/
>>rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd 
>>.tmp_versions  /lib/modules/2.6.9-gentoo/build/.tmp_versions/hsfosspec.mod 
>>  /lib/modules/2.6.9-gentoo/build/.tmp_versions/hsfserial.mod  
>>/lib/modules/2.6.9-gentoo/build/.tmp_versions/hsfengine.mod  
>>/lib/modules/2.6.9-gentoo/build/.tmp_versions/hsfpcibasic2.mod  
>>/lib/modules/2.6.9-gentoo/build/.tmp_versions/hsfmc97ich.mod  
>>/lib/modules/2.6.9-gentoo/build/.tmp_versions/hsfmc97via.mod  
>>/lib/modules/2.6.9-gentoo/build/.tmp_versions/hsfmc97ali.mod  
>>/lib/modules/2.6.9-gentoo/build/.tmp_versions/hsfsoar.mod
>>(cd /lib/modules/2.6.9-gentoo/build && make 
>>"CNXT_KERNELSRC=/lib/modules/2.6.9-gentoo/build" 
>>"M=/usr/lib/hsfmodem/modules" modules)
>>make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo'
>>  CC [M]  /usr/lib/hsfmodem/modules/mod_engine.o
>>  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ali.o
>>  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ich.o
>>  CC [M]  /usr/lib/hsfmodem/modules/mod_mc97via.o
>>  CC [M]  /usr/lib/hsfmodem/modules/mod_osspec.o
>>  CC [M]  /usr/lib/hsfmodem/modules/osservices.o
>>In file included from /usr/lib/hsfmodem/modules/osservices.c:14:
>>/usr/lib/hsfmodem/modules/imported/include/testdebug.h:1065:1: warning: 
>>"BREAKPOINT" redefined
>>In file included from include/linux/config.h:6,
>>                 from /usr/lib/hsfmodem/modules/GPL/oscompat.h:72,
>>                 from /usr/lib/hsfmodem/modules/osservices.c:10:
>>include/asm/kgdb.h:51:1: warning: this is the location of the previous 
>>definition
>>  CC [M]  /usr/lib/hsfmodem/modules/osstdio.o
>>In file included from /usr/lib/hsfmodem/modules/osstdio.c:19:
>>/usr/lib/hsfmodem/modules/imported/include/testdebug.h:1065:1: warning: 
>>"BREAKPOINT" redefined
>>In file included from include/linux/config.h:6,
>>                 from /usr/lib/hsfmodem/modules/GPL/oscompat.h:72,
>>                 from /usr/lib/hsfmodem/modules/osstdio.c:16:
>>include/asm/kgdb.h:51:1: warning: this is the location of the previous 
>>definition
>>  CC [M]  /usr/lib/hsfmodem/modules/osnvm.o
>>In file included from /usr/lib/hsfmodem/modules/osnvm.c:18:
>>/usr/lib/hsfmodem/modules/imported/include/testdebug.h:1065:1: warning: 
>>"BREAKPOINT" redefined
>>In file included from include/linux/config.h:6,
>>                 from /usr/lib/hsfmodem/modules/GPL/oscompat.h:72,
>>                 from /usr/lib/hsfmodem/modules/osnvm.c:10:
>>include/asm/kgdb.h:51:1: warning: this is the location of the previous 
>>definition
>>  CC [M]  /usr/lib/hsfmodem/modules/osresour.o
>>  CC [M]  /usr/lib/hsfmodem/modules/osstring.o
>>  CC [M]  /usr/lib/hsfmodem/modules/osmemory.o
>>  CC [M]  /usr/lib/hsfmodem/modules/osdiag.o
>>  CC [M]  /usr/lib/hsfmodem/modules/osusb.o
>>/usr/lib/hsfmodem/modules/osusb.c:35:1: warning: "BREAKPOINT" redefined
>>In file included from include/linux/config.h:6,
>>                 from /usr/lib/hsfmodem/modules/GPL/oscompat.h:72,
>>                 from /usr/lib/hsfmodem/modules/osusb.c:15:
>>include/asm/kgdb.h:51:1: warning: this is the location of the previous 
>>definition
>>/usr/lib/hsfmodem/modules/osusb.c: In function `SubmitUrbListEntry':
>>/usr/lib/hsfmodem/modules/osusb.c:69: sorry, unimplemented: inlining 
>>failed in call to 'ChangeUrbListEntryState':
>>/usr/lib/hsfmodem/modules/osusb.c:108: sorry, unimplemented: called from 
>>here
>>/usr/lib/hsfmodem/modules/osusb.c:69: sorry, unimplemented: inlining 
>>failed in call to 'ChangeUrbListEntryState': function not considered for 
>>inlining
>>/usr/lib/hsfmodem/modules/osusb.c:126: sorry, unimplemented: called from 
>>here
>>/usr/lib/hsfmodem/modules/osusb.c:69: sorry, unimplemented: inlining 
>>failed in call to 'ChangeUrbListEntryState': function not considered for 
>>inlining
>>/usr/lib/hsfmodem/modules/osusb.c:130: sorry, unimplemented: called from 
>>here
>>make[2]: *** [/usr/lib/hsfmodem/modules/osusb.o] Error 1
>>make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
>>make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo'
>>make: *** [all] Error 2
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>hsflinux mailing list
>>hsflinux at lists.linuxant.com
>>https://www.linuxant.com/mailman/listinfo/hsflinux

_________________________________________________________________
MSN Music: new look! http://entertainment.msn.be/muziek/musicclub



More information about the hsflinux mailing list