Re: HSF driver on Linux slackware 10.1

"Linuxant support (Jonathan)" <[email protected]>
Newsgroups gmane.linux.drivers.modem.hsf
Message-ID <[email protected]>
Hi,

the source of the problem is the following error message:

---
/bin/sh: scripts/mod/modpost: No such file or directory
---

It is quite possible that the source of the problem is that the kernel 
source code or headers was not correctly prepared to build kernel 
modules. It is possible that using the following commands in a root 
shell will solve this issue:

---
cd /usr/src/linux-2.6.12.2
make scripts/mod/modpost
hsfconfig
---

Regards,


Jonathan
Technical specialist / Linuxant
www.linuxant.com
[email protected]



Jason Benedict wrote:
> Hello all,
> 
> i'm getting some error on the HSF driver to install in my custmised
> slackware 10.1
> 
> Here's my detail:-
> 1. kernerl version "linux-2.6.12.2"
> 2. kernerl source installed "/usr/src/linux-2.6.12.2"
> 3. linked /lib/modules/2.6.12.2/build -> /usr/src/linux-2.6.12.2
> 
> I'm using cnxtinstall.run to install the driver. Here's the log:-
> 
> ==================================
> Makefile:20: *** WARNING: Trying to compile kernel modules on a unknown
> system while the installed hsf driver package is for i386, this is
> likely to fail... ***
> 
> (cd /lib/modules/2.6.12.2/build && make
> "CNXT_KERNELSRC=/lib/modules/2.6.12.2/build"
> "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean)
> 
> make[1]: Entering directory `/usr/src/linux-2.6.12.2'
> 
> /usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile
> kernel modules on a unknown system while the installed hsf driver
> package is for i386, this is likely to fail... ***
> 
> make[1]: Leaving directory `/usr/src/linux-2.6.12.2'
> 
> rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd
> ..tmp_versions .tmp_versions
> /lib/modules/2.6.12.2/build/.tmp_versions/hsfosspec.mod
> /lib/modules/2.6.12.2/build/.tmp_versions/hsfserial.mod
> /lib/modules/2.6.12.2/build/.tmp_versions/hsfengine.mod
> /lib/modules/2.6.12.2/build/.tmp_versions/hsfpcibasic2.mod
> /lib/modules/2.6.12.2/build/.tmp_versions/hsfmc97ich.mod
> /lib/modules/2.6.12.2/build/.tmp_versions/hsfmc97via.mod
> /lib/modules/2.6.12.2/build/.tmp_versions/hsfmc97ali.mod
> /lib/modules/2.6.12.2/build/.tmp_versions/hsfmc97ati.mod
> /lib/modules/2.6.12.2/build/.tmp_versions/hsfmc97sis.mod
> /lib/modules/2.6.12.2/build/.tmp_versions/hsfsoar.mod
> 
> (cd /lib/modules/2.6.12.2/build && make
> "CNXT_KERNELSRC=/lib/modules/2.6.12.2/build"
> "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules)
> 
> make[1]: Entering directory `/usr/src/linux-2.6.12.2'
> 
> WARNING: Symbol version dump /usr/src/linux-2.6.12.2/Module.symvers
> 
>       is missing; modules will have no dependencies and modversions.
> 
> /usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile
> kernel modules on a unknown system while the installed hsf driver
> package is for i386, this is likely to fail... ***
> 
> 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: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)
> 
> In file included from /usr/lib/hsfmodem/modules/mod_mc97ali.c:32:
> 
> /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)
> 
> CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ati.o
> 
> In file included from /usr/lib/hsfmodem/modules/mod_mc97ati.c:26:
> 
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function
> `cnxthwpci_probe':
> 
> /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)
> 
> In file included from /usr/lib/hsfmodem/modules/mod_mc97ati.c:26:
> 
> /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)
> 
> CC [M]  /usr/lib/hsfmodem/modules/mod_mc97ich.o
> 
> In file included from /usr/lib/hsfmodem/modules/mod_mc97ich.c:37:
> 
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function
> `cnxthwpci_probe':
> 
> /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)
> 
> In file included from /usr/lib/hsfmodem/modules/mod_mc97ich.c:37:
> 
> /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)
> 
> CC [M]  /usr/lib/hsfmodem/modules/mod_mc97sis.o
> 
> In file included from /usr/lib/hsfmodem/modules/mod_mc97sis.c:25:
> 
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function
> `cnxthwpci_probe':
> 
> /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)
> 
> In file included from /usr/lib/hsfmodem/modules/mod_mc97sis.c:25:
> 
> /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)
> 
> CC [M]  /usr/lib/hsfmodem/modules/mod_mc97via.o
> 
> In file included from /usr/lib/hsfmodem/modules/mod_mc97via.c:25:
> 
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function
> `cnxthwpci_probe':
> 
> /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)
> 
> In file included from /usr/lib/hsfmodem/modules/mod_mc97via.c:25:
> 
> /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)
> 
> CC [M]  /usr/lib/hsfmodem/modules/mod_osspec.o
> 
> CC [M]  /usr/lib/hsfmodem/modules/osservices.o
> 
> CC [M]  /usr/lib/hsfmodem/modules/osstdio.o
> 
> CC [M]  /usr/lib/hsfmodem/modules/osnvm.o
> 
> 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
> 
> CC [M]  /usr/lib/hsfmodem/modules/osfloat.o
> 
> CC [M]  /usr/lib/hsfmodem/modules/osdcp.o
> 
> CC [M]  /usr/lib/hsfmodem/modules/mod_pcibasic2.o
> 
> In file included from /usr/lib/hsfmodem/modules/mod_pcibasic2.c:140:
> 
> /usr/lib/hsfmodem/modules/cnxthwpci_common.c: In function
> `cnxthwpci_probe':
> 
> /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)
> 
> In file included from /usr/lib/hsfmodem/modules/mod_pcibasic2.c:140:
> 
> /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)
> 
> CC [M]  /usr/lib/hsfmodem/modules/GPL/serial_cnxt.o
> 
> CC [M]  /usr/lib/hsfmodem/modules/mod_soar.o
> 
> CC [M]  /usr/lib/hsfmodem/modules/mod_usbcd2.o
> 
> In file included from /usr/lib/hsfmodem/modules/mod_usbcd2.c:32:
> 
> /usr/lib/hsfmodem/modules/cnxthwusb_common.c: In function
> `cnxthwusb_probe':
> 
> /usr/lib/hsfmodem/modules/cnxthwusb_common.c:241: warning: `pm_register'
> is deprecated (declared at include/linux/pm.h:106)
> 
> /usr/lib/hsfmodem/modules/cnxthwusb_common.c:294: warning:
> `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
> 
> In file included from /usr/lib/hsfmodem/modules/mod_usbcd2.c:32:
> 
> /usr/lib/hsfmodem/modules/cnxthwusb_common.c: In function
> `cnxthwusb_disconnect':
> 
> /usr/lib/hsfmodem/modules/cnxthwusb_common.c:359: warning:
> `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
> 
> LD [M]  /usr/lib/hsfmodem/modules/hsfosspec.o
> 
> LD [M]  /usr/lib/hsfmodem/modules/hsfserial.o
> 
> LD [M]  /usr/lib/hsfmodem/modules/hsfengine.o
> 
> LD [M]  /usr/lib/hsfmodem/modules/hsfpcibasic2.o
> 
> LD [M]  /usr/lib/hsfmodem/modules/hsfusbcd2.o
> 
> LD [M]  /usr/lib/hsfmodem/modules/hsfmc97ich.o
> 
> LD [M]  /usr/lib/hsfmodem/modules/hsfmc97via.o
> 
> LD [M]  /usr/lib/hsfmodem/modules/hsfmc97ali.o
> 
> LD [M]  /usr/lib/hsfmodem/modules/hsfmc97ati.o
> 
> LD [M]  /usr/lib/hsfmodem/modules/hsfmc97sis.o
> 
> LD [M]  /usr/lib/hsfmodem/modules/hsfsoar.o
> 
> Building modules, stage 2.
> 
> MODPOST
> 
> /bin/sh: scripts/mod/modpost: No such file or directory
> 
> make[2]: *** [__modpost] Error 127
> 
> make[1]: *** [modules] Error 2
> 
> make[1]: Leaving directory `/usr/src/linux-2.6.12.2'
> 
> make: *** [all] Error 2
> ===========================
> 
> Thanks for any help and advise in advance.
> 
> rgds,
> J.Benedict
> 
> _________________________________________________________________
> Find just what you are after with the more precise, more powerful new 
> MSN Search. http://search.msn.com.sg/ Try it now.
> 
> _______________________________________________
> hsflinux mailing list
> [email protected]
> https://www.linuxant.com/mailman/listinfo/hsflinux
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.