LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2005, 03:11 AM   #1
rrrssssss
Member
 
Registered: Mar 2005
Posts: 287

Rep: Reputation: 33
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

Last edited by rrrssssss; 11-13-2005 at 03:13 AM.
 
Old 11-14-2005, 01:10 AM   #2
rrrssssss
Member
 
Registered: Mar 2005
Posts: 287

Original Poster
Rep: Reputation: 33
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 10.1 or Mandriva 2006 RC1 ronlon Mandriva 17 04-17-2006 02:24 AM
Mandriva 2006 Al_Khidr Linux - Software 1 10-20-2005 01:18 PM
Mandriva 2006 Happeren Mandriva 62 10-15-2005 12:01 PM
Where can I get the new Mandriva 2006? jacatone Linux - Software 2 09-16-2005 06:58 PM
VMWare kernel module build fails jpbarto Linux From Scratch 8 05-23-2003 04:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration