7.18.00.02full - Errors loading modules with kernels >2.6.10

Keith Alan Landry <[email protected]>
Newsgroups gmane.linux.drivers.modem.hsf
Message-ID <[email protected]>
This is probably fixed in a future version, but running 7.18.00.02full 
on 2.6.11-rc1 (and some other expermintal kernels) I got messages like 
the following under dmesg after compiling/loading with hsfconfig:

8<-------------------------------------------------------------------------
hsfusbcd2: Unknown symbol cnxthsf_OsCriticalSectionAcquire
hsfusbcd2: Unknown symbol cnxthsf_OsPciWriteConfigb
hsfusbcd2: Unknown symbol cnxthsf_OsSleep
hsfusbcd2: Unknown symbol cnxthsf_OsEventCreate
hsfusbcd2: Unknown symbol cnxthsf_OsCriticalSectionDestroy
hsfusbcd2: Unknown symbol cnxthsf_cnxt_serial_add
hsfusbcd2: Unknown symbol cnxthsf_OsThreadDestroy
hsfusbcd2: Unknown symbol cnxthsf_OsUsbMakeDataReceiveRequest
hsfusbcd2: Unknown symbol cnxthsf_cnxt_serial_remove
8<-------------------------------------------------------------------------

This is just a small snippet.

EXPORT_SYMBOL_NOVERS is being deprecated: 
http://marc.theaimsgroup.com/?l=linux-kernel&m=110168217914327&w=2

 Running the following under /usr/lib/hsfmodem/modules and 
/usr/lib/hsfmodem/modules/GPL allowed for successfull 
compiling/loading/running.

# perl -pi.bak -e 's/EXPORT_SYMBOL_NOVERS/EXPORT_SYMBOL/g' *

Tested on 2.6.10 and 2.6.9 (gentoo) as well.

YMMV

Keith
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.