[hsflinux] Module making Problem (smp_lock.h)

Antonis Vlachos a.vlachos at radiokiss.gr
Thu May 31 10:36:11 EDT 2012


Hi guys

    I have a problem trying to make my modem work. I am trying to setup
    the modem for fax use.

    I use the last version of UBUNTU 12.04 with all updates till now
    (31-5-2012).

    The problem is that no modules are created and hsfconfig returns
    error. The following is the log. I can understand tha smp_lock.h is
    missing but i can't understan where from (what's that alias called
    "linux" ? ).

    So can anyone tell me what can i do to resolve that, and make the
    modem work?

    Please send me a reply to a.vlachos at radiokiss.gr

    Regards,

    Antonis Vlachos

    (log)

    driver version 7.80.02.06full
    (cd /lib/modules/3.2.0-25-generic/build && make
    "CNXT_KERNELSRC=/lib/modules/3.2.0-25-generic/build"
    "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean)
    make[1]: Entering directory `/usr/src/linux-headers-3.2.0-25-generic'
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-25-generic'
    (cd /lib/modules/3.2.0-25-generic/build && make
    "CNXT_KERNELSRC=/lib/modules/3.2.0-25-generic/build"
    "M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc"
    "HDA_CFLAGS=-DFOUND_KZALLOC  -DFOUND_TLV   -DFOUND_IRQ_HANDLER_T
    -DFOUND_DELAYED_WORK  -DFOUND_NO_CTL_ELEM_RW" clean)
    make[1]: Entering directory `/usr/src/linux-headers-3.2.0-25-generic'
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-25-generic'
    rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd
    GPL/.*.cmd .tmp_versions .tmp_versions 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfosspec.mod 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfserial.mod 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfengine.mod 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfpcibasic2.mod 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfpcibasic3.mod 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfhda.mod 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfmc97ich.mod 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfmc97via.mod 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfmc97ali.mod 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfmc97ati.mod 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfmc97sis.mod 
    /lib/modules/3.2.0-25-generic/build/.tmp_versions/hsfsoar.mod
    Modules.symvers GPL/hda/Modules.symvers Module.symvers
    GPL/hda/Module.symvers modules.order GPL/hda/modules.order
    Module.markers GPL/hda/Module.markers
    (cd /lib/modules/3.2.0-25-generic/build && make
    "CNXT_KERNELSRC=/lib/modules/3.2.0-25-generic/build"
    "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules)
    make[1]: Entering directory `/usr/src/linux-headers-3.2.0-25-generic'
       CC [M]  /usr/lib/hsfmodem/modules/mod_engine.o
       CC [M]  /usr/lib/hsfmodem/modules/mod_hda.o
       CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ali.o
       CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ati.o
       CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ich.o
       CC [M]  /usr/lib/hsfmodem/modules/mod_mc97sis.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:20:0:
    /usr/lib/hsfmodem/modules/GPL/oscompat.h:201:57: error:
    ‘SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
    /usr/lib/hsfmodem/modules/osservices.c:51:28: fatal error:
    linux/smp_lock.h: No such file or directory
    compilation terminated.
    make[2]: *** [/usr/lib/hsfmodem/modules/osservices.o] Error 1
    make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-25-generic'
    make: *** [all] Error 2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxant.com/pipermail/hsflinux/attachments/20120531/7d4220f2/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texture.png
Type: image/png
Size: 190 bytes
Desc: not available
Url : http://www.linuxant.com/pipermail/hsflinux/attachments/20120531/7d4220f2/attachment.png 


More information about the hsflinux mailing list