Results 1 to 4 of 4

Thread: can't compile driver module

Hybrid View

  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
  •  


Vintage 1981 Compute's First Book Of Atari RARE Spiral Bound picture

Vintage 1981 Compute's First Book Of Atari RARE Spiral Bound

$14.95



Vintage Mitsumi CRMC-FX400 Internal 5.25in IDE CD-ROM Disc Drive Tested Works picture

Vintage Mitsumi CRMC-FX400 Internal 5.25in IDE CD-ROM Disc Drive Tested Works

$35.99



Vintage  Wang  Tie Clip Desk Top  Calculator NEW  3294 picture

Vintage Wang Tie Clip Desk Top Calculator NEW 3294

$12.99



Vintage HP Hewlett Packard Keyboard RT2856TW Wired Adjustable Legs picture

Vintage HP Hewlett Packard Keyboard RT2856TW Wired Adjustable Legs

$19.99



21 Tandy 5 1/2” Sleeves Vintage Rare picture

21 Tandy 5 1/2” Sleeves Vintage Rare

$30.00



LOT Vintage Computer Ribbon Cable Rainbow Apple PC IBM Make-Your-Own Vector P187 picture

LOT Vintage Computer Ribbon Cable Rainbow Apple PC IBM Make-Your-Own Vector P187

$95.00



Vintage Orig Pkg. Unopened Netscape 6 CD - 2000 picture

Vintage Orig Pkg. Unopened Netscape 6 CD - 2000

$10.00



Vintage IBM PC 5160 Personal Computer Works V20 CPU 640K RAM 10MB Hard Drive VGA picture

Vintage IBM PC 5160 Personal Computer Works V20 CPU 640K RAM 10MB Hard Drive VGA

$329.00



Vintage Mouse 3-Button Serial/PS/2 SEALED NOS BEIGE-Digital Research DRMOUSEW picture

Vintage Mouse 3-Button Serial/PS/2 SEALED NOS BEIGE-Digital Research DRMOUSEW

$35.55



2 Vintage computer C&K on off  blue paddle switches 7132 picture

2 Vintage computer C&K on off blue paddle switches 7132

$17.75