[hsflinux] compile error with 2.6.12-rc1-bk4

Linuxant support (Jonathan) support at linuxant.com
Sun Apr 3 18:59:15 EDT 2005


Hi,

please take a look at our new patches page at :

http://www.linuxant.com/drivers/hsf/downloads-patches.php

For the build problem you have, it should be fixed with the 
'hsf-7.18.00.03full-slotname.patch' patch available on this page.

Regards,


Jonathan
Technical specialist / Linuxant
www.linuxant.com
support at linuxant.com


Alessandro Bono wrote:
> Hi
> 
> trying to compile hsf driver 7.18.00.03 with kernel 2.6.12-rc1-bk4 i receive 
> this error
> 
> taken from hsfconfig-buildlog.txt
> 
> (cd /lib/modules/2.6.12-rc1-bk4/build && make 
> "CNXT_KERNELSRC=/lib/modules/2.6.12-rc1-bk4/build" 
> "M=/usr/lib/hsfmodem/modules" clean)
> make[1]: Entering directory `/home/sandro/src/kernel/linux-2.6.12-rc1-bk4'
> make[1]: Leaving directory `/home/sandro/src/kernel/linux-2.6.12-rc1-bk4'
> rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd 
> GPL/.*.cmd .tmp_versions  /lib/modules/2.6.12-rc1-bk4/build/.tmp_versions/hsfosspec.mod  /lib/modules/2.6.12-rc1-bk4/build/.tmp_versions/hsfserial.mod  /lib/modules/2.6.12-rc1-bk4/build/.tmp_versions/hsfengine.mod  /lib/modules/2.6.12-rc1-bk4/build/.tmp_versions/hsfpcibasic2.mod  /lib/modules/2.6.12-rc1-bk4/build/.tmp_versions/hsfmc97ich.mod  /lib/modules/2.6.12-rc1-bk4/build/.tmp_versions/hsfmc97via.mod  /lib/modules/2.6.12-rc1-bk4/build/.tmp_versions/hsfmc97ali.mod  /lib/modules/2.6.12-rc1-bk4/build/.tmp_versions/hsfmc97ati.mod  /lib/modules/2.6.12-rc1-bk4/build/.tmp_versions/hsfmc97sis.mod  /lib/modules/2.6.12-rc1-bk4/build/.tmp_versions/hsfsoar.mod
> (cd /lib/modules/2.6.12-rc1-bk4/build && make 
> "CNXT_KERNELSRC=/lib/modules/2.6.12-rc1-bk4/build" 
> "M=/usr/lib/hsfmodem/modules" modules)
> make[1]: Entering directory `/home/sandro/src/kernel/linux-2.6.12-rc1-bk4'
>   CC [M]  /usr/lib/hsfmodem/modules/mod_engine.o
>   CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ali.o
> In file included from /usr/lib/hsfmodem/modules/mod_mc97ali.c:32:
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function `cnxthwpci_probe':
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c:38: error: structure has no 
> member named `slot_name'
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c:57: error: structure has no 
> member named `slot_name'
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c:86: warning: `pm_register' is 
> deprecated (declared at include/linux/pm.h:106)
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c:137: warning: `pm_unregister' is 
> deprecated (declared at include/linux/pm.h:111)
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function `cnxthwpci_remove':
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c:160: warning: `pm_unregister' is 
> deprecated (declared at include/linux/pm.h:111)
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function `cnxthwpci_init':
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c:195: error: structure has no 
> member named `slot_name'
> make[2]: *** [/usr/lib/hsfmodem/modules/mod_mc97ali.o] Error 1
> make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
> make[1]: Leaving directory `/home/sandro/src/kernel/linux-2.6.12-rc1-bk4'
> make: *** [all] Error 2
> 
> Kernel 2.6.11.x compile and works without problems
> 
> distribution Debian Sid
> 
> Gnu C                  3.3.5
> Gnu make               3.80
> binutils               2.15
> util-linux             2.12p
> mount                  2.12p
> module-init-tools      3.2-pre1
> e2fsprogs              1.37
> jfsutils               1.1.7
> reiserfsprogs          3.6.19
> reiser4progs           line
> xfsprogs               2.6.20
> pcmcia-cs              3.2.5
> PPP                    2.4.3
> Linux C Library        2.3.2
> Dynamic linker (ldd)   2.3.2
> Procps                 3.2.5
> Net-tools              1.60
> Console-tools          0.2.3
> Sh-utils               5.2.1
> udev                   056
> _______________________________________________
> hsflinux mailing list
> hsflinux at lists.linuxant.com
> https://www.linuxant.com/mailman/listinfo/hsflinux


More information about the hsflinux mailing list