LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Module Build Fails Mandriva 2006 (https://www.linuxquestions.org/questions/linux-software-2/module-build-fails-mandriva-2006-a-382630/)

rrrssssss 11-13-2005 03:11 AM

Module Build Fails (Mandriva 2006)
 
Hello forum,

I am having trouble installing a modem driver (Conexant HCF controllerless PCI modem driver, version 1.05full) in Mandriva Linux 2006.

When executed, Mandriva says it can't find any pre-built modules so it tries to build them. But the build fails with the following message from the buildlog.txt:




(cd /lib/modules/2.6.12-12mdksmp/build && make "CNXT_KERNELSRC=/lib/modules/2.6.12-12mdksmp/build" "M=/usr/lib/hcfpcimodem/modules" clean)
make[1]: Entering directory `/usr/src/linux-2.6.12-12mdk'
make[1]: Leaving directory `/usr/src/linux-2.6.12-12mdk'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions /lib/modules/2.6.12-12mdksmp/build/.tmp_versions/hcfpciosspec.mod /lib/modules/2.6.12-12mdksmp/build/.tmp_versions/hcfpciserial.mod /lib/modules/2.6.12-12mdksmp/build/.tmp_versions/hcfpciengine.mod /lib/modules/2.6.12-12mdksmp/build/.tmp_versions/hcfpcihw.mod
(cd /lib/modules/2.6.12-12mdksmp/build && make "CNXT_KERNELSRC=/lib/modules/2.6.12-12mdksmp/build" "M=/usr/lib/hcfpcimodem/modules" modules)
make[1]: Entering directory `/usr/src/linux-2.6.12-12mdk'

WARNING: Symbol version dump /usr/src/linux-2.6.12-12mdk/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /usr/lib/hcfpcimodem/modules/mod_engine.o
CC [M] /usr/lib/hcfpcimodem/modules/mod_hcfpci.o
In file included from /usr/lib/hcfpcimodem/modules/mod_hcfpci.c:131:
/usr/lib/hcfpcimodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_probe':
/usr/lib/hcfpcimodem/modules/cnxthwpci_common.c:38: error: 'struct pci_dev' has no member named 'slot_name'
/usr/lib/hcfpcimodem/modules/cnxthwpci_common.c:57: error: 'struct pci_dev' has no member named 'slot_name'
/usr/lib/hcfpcimodem/modules/cnxthwpci_common.c:86: warning: 'pm_register' is deprecated (declared at include/linux/pm.h:106)
/usr/lib/hcfpcimodem/modules/cnxthwpci_common.c:137: warning: 'pm_unregister' is deprecated (declared at include/linux/pm.h:111)
/usr/lib/hcfpcimodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_remove':
/usr/lib/hcfpcimodem/modules/cnxthwpci_common.c:160: warning: 'pm_unregister' is deprecated (declared at include/linux/pm.h:111)
/usr/lib/hcfpcimodem/modules/cnxthwpci_common.c: In function 'cnxthwpci_init':
/usr/lib/hcfpcimodem/modules/cnxthwpci_common.c:195: error: 'struct pci_dev' has no member named 'slot_name'
make[2]: *** [/usr/lib/hcfpcimodem/modules/mod_hcfpci.o] Error 1
make[1]: *** [_module_/usr/lib/hcfpcimodem/modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12-12mdk'
make: *** [all] Error 2


Is this enough information to tell me what is wrong? Do I have to install something else first for the build to be successful?

This very same modem driver installed successfully with Mandriva 10.1 and it worked great. But I can't get it to work yet with Mandriva 2006.

Your help would be most appreciated,

Roy S. Smith

rrrssssss 11-14-2005 01:10 AM

Problem Solved
 
Hello again forum,

I fixed my problem. I downloaded the latest generic rpm for my modem from the Linuxant web site and it compiled perfectly. I was even able to use my same license key and registration that I was using for the older version rpm. Now I am able to get online with Mandriva Linux 2006.

Roy


All times are GMT -5. The time now is 10:40 PM.