Results 1 to 4 of 4

Thread: can't compile driver module

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    9

    can't compile driver module

    People, I have installed Knopix 3.7 on a hard drive, found a driver for a winmodem: ltmodem-8.31a10.tar.gz. Unpacked it and executed build_module. At the beginning everything is OK. It runs, it checks for system parameters, it starts compiling lt_modem.o. But then:

    Using KCFLAGS for gcc version 2.x
    gcc -D__KERNEL__ -I/lib/modules/2.4.27/build/include -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DLT_VERSION=8.31a10 -DLINUX -DNO_EEPROM -DLT_SERIAL_MODULE=lt_serial -DFORCEMODVERSIONS -DASMLINKAGE=asmlinkage -c -o ltmodem.a ltmodem.c

    Checking for driver products:

    Compilation of lt_modem.o failed,
    Do assess whether your utilities are up to date as listed within 1ST-READ!
    Read Compile_properly.txt from DOCs/.


    ...

    Then I tried with: l ltmodem-2.4.27-1-686_8.31a8_i386.deb - no way. Says that there is a problem with kernel. Building from a source anounces that kernel-headers are somehow different from kernel version. How could this be?? I've just used knoppix-installer to place knoppix on hd and put lilo into mbr. I have two hard disks: one with XP and one with knoppix. Just decided to migrate, but I guess that I will fail without internet

    Any ideas?!

  2. #2
    Senior Member registered user
    Join Date
    Oct 2004
    Posts
    260
    You could try downloading your kernel sources. I don't know if that will work.

    Try this link: http://www.linmodems.org/ They have alot of ideas for winmodems and that's
    what you have i.e. a modem made to work with the windows OS. If linmodems.org doesn't
    help then you can still buy an external modem on ebay for $10-15 and that, if you choose a
    recent or known linux compatible should do the trick. There are also pci controller type internal modems
    like u.s robotics about $40 that will work too, and some distros (suse, redhat) have better
    drivers for winmodems. Good luck.

  3. #3
    Junior Member
    Join Date
    Feb 2005
    Posts
    9
    Well 10x... the greatest pitty is that my modem is in a fact supported by linmodem drivers. According to scanmodem utility:

    Class 0780: 11c1:0442 Communication controller: Lucent Microelectronics 56k WinModem (rev 01)
    ...
    The modem has a supported Lucent/Agere DSP (digital signal processing) chipset
    with primary PCI_ID: 11c1:0442


  4. #4
    Junior Member
    Join Date
    Feb 2005
    Posts
    9
    I viewed 'version.h' file - kernel-headers and kernel are of the same version. However ./ltinst2 says that there is a flavor mismatch or something... but thats the official Knoppix 3.7 version, how could that happen?

Similar Threads

  1. Compile and add nozomi driver
    By SlavoniaJavaTeam in forum Customising & Remastering
    Replies: 0
    Last Post: 04-12-2007, 09:39 AM
  2. Replies: 0
    Last Post: 12-21-2006, 10:46 PM
  3. Error compile sundance driver in kernel 2.6.x
    By quinielas in forum Hardware & Booting
    Replies: 0
    Last Post: 10-18-2005, 01:20 PM
  4. How to insmod a driver module?
    By arkaine23 in forum Networking
    Replies: 1
    Last Post: 01-17-2004, 02:41 PM
  5. how can i compile a driver into kernel
    By msnxsw in forum Hardware & Booting
    Replies: 2
    Last Post: 11-27-2003, 07:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


ASUS H170M-PLUS Motherboard M-ATX Intel H170 LGA1151 DDR4 SATA3 HDMI DVI-D VGA picture

ASUS H170M-PLUS Motherboard M-ATX Intel H170 LGA1151 DDR4 SATA3 HDMI DVI-D VGA

$47.99



Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$24.99



ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture

ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard

$84.99



Asus H110M-C LGA 1151 DDR4 SDRAM Desktop Motherboard w/ I/O shield picture

Asus H110M-C LGA 1151 DDR4 SDRAM Desktop Motherboard w/ I/O shield

$39.95



Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk picture

Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk

$41.07



ASUS P8B75-M/CSM Desktop Motherboard Intel Socket LGA1155 DDR3 w/ IO picture

ASUS P8B75-M/CSM Desktop Motherboard Intel Socket LGA1155 DDR3 w/ IO

$29.99



ASUS PRIME H310M-C R2.0 Motherboard M-ATX Intel H310 LGA1151 DDR4 SATA3 DVI VGA picture

ASUS PRIME H310M-C R2.0 Motherboard M-ATX Intel H310 LGA1151 DDR4 SATA3 DVI VGA

$39.95



GIGABYTE GA-X99-UD4P MOTHERBOARD, M.2 SATA3, LGA2011-3, DDR4, & I/O Shield picture

GIGABYTE GA-X99-UD4P MOTHERBOARD, M.2 SATA3, LGA2011-3, DDR4, & I/O Shield

$69.99



MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard picture

MSI PRO B650-P WiFi AMD AM5 DDR5 WiFi 6E ProSeries Motherboard

$96.01



Asus Prime X299- A Intel LGA 2066 ATX Motherboard & Intel Core I7-7800X picture

Asus Prime X299- A Intel LGA 2066 ATX Motherboard & Intel Core I7-7800X

$168.99