Artur, Something is strange. I have tested compilation(not installation) and all seems to go well: [olivares@localhost Downloads]$ tar -zxvf slmodem-2.9.11-20080817.tar.gz slmodem-2.9.11-20080817/ slmodem-2.9.11-20080817/Makefile slmodem-2.9.11-20080817/patches/ slmodem-2.9.11-20080817/patches/no_slusb.patch slmodem-2.9.11-20080817/patches/slmodem-usb-2.6.16.patch slmodem-2.9.11-20080817/patches/zello.diff slmodem-2.9.11-20080817/patches/alsa-linux-2.6.0.patch slmodem-2.9.11-20080817/patches/zello.txt slmodem-2.9.11-20080817/patches/marv.txt slmodem-2.9.11-20080817/patches/marv.diff slmodem-2.9.11-20080817/patches/no_slusb.txt slmodem-2.9.11-20080817/Documentation/ slmodem-2.9.11-20080817/Documentation/x86_64.txt slmodem-2.9.11-20080817/Documentation/Smartlink.txt slmodem-2.9.11-20080817/Documentation/ALSA_support.txt slmodem-2.9.11-20080817/Documentation/compile_example.txt slmodem-2.9.11-20080817/README slmodem-2.9.11-20080817/scripts/ slmodem-2.9.11-20080817/scripts/slmodem.spec slmodem-2.9.11-20080817/scripts/debian/ slmodem-2.9.11-20080817/scripts/debian/slmodemd slmodem-2.9.11-20080817/scripts/slackware/ slmodem-2.9.11-20080817/scripts/slackware/README slmodem-2.9.11-20080817/scripts/slackware/rc.slmodemd slmodem-2.9.11-20080817/scripts/suse/ slmodem-2.9.11-20080817/scripts/suse/slmodemd.conf slmodem-2.9.11-20080817/scripts/suse/slmodemd.SUSE slmodem-2.9.11-20080817/scripts/mandrake/ slmodem-2.9.11-20080817/scripts/mandrake/slmodemd slmodem-2.9.11-20080817/scripts/slmodemd slmodem-2.9.11-20080817/scripts/slmodemd.ubuntu.italy slmodem-2.9.11-20080817/COPYING slmodem-2.9.11-20080817/drivers/ slmodem-2.9.11-20080817/drivers/Makefile slmodem-2.9.11-20080817/drivers/amrmo_init.c slmodem-2.9.11-20080817/drivers/kernel-ver.c slmodem-2.9.11-20080817/drivers/old_st7554.c slmodem-2.9.11-20080817/drivers/sysdep_amr.c slmodem-2.9.11-20080817/drivers/amrlibs.o slmodem-2.9.11-20080817/drivers/Modules.symvers slmodem-2.9.11-20080817/drivers/st7554.c slmodem-2.9.11-20080817/drivers/Module.symvers slmodem-2.9.11-20080817/drivers/modules.order slmodem-2.9.11-20080817/faxing/ slmodem-2.9.11-20080817/faxing/wvdial.conf slmodem-2.9.11-20080817/faxing/modem.sh slmodem-2.9.11-20080817/faxing/smartlink.pdf slmodem-2.9.11-20080817/faxing/xtel.diff slmodem-2.9.11-20080817/faxing/sm56_initstrings slmodem-2.9.11-20080817/faxing/1stRead.txt slmodem-2.9.11-20080817/faxing/xtel.lignes slmodem-2.9.11-20080817/faxing/modem slmodem-2.9.11-20080817/modem/ slmodem-2.9.11-20080817/modem/modem.c slmodem-2.9.11-20080817/modem/Makefile slmodem-2.9.11-20080817/modem/modem_debug.c slmodem-2.9.11-20080817/modem/modem_comp.c slmodem-2.9.11-20080817/modem/dp_sinus.c slmodem-2.9.11-20080817/modem/modem_datafile.c slmodem-2.9.11-20080817/modem/modem_ec.c slmodem-2.9.11-20080817/modem/modem_at.c slmodem-2.9.11-20080817/modem/modem_param.h slmodem-2.9.11-20080817/modem/modem_timer.c slmodem-2.9.11-20080817/modem/modem_test.c slmodem-2.9.11-20080817/modem/sysdep_common.c slmodem-2.9.11-20080817/modem/modem_pack.c slmodem-2.9.11-20080817/modem/modem_homolog.h slmodem-2.9.11-20080817/modem/modem_defs.h slmodem-2.9.11-20080817/modem/Makefile.20080401 slmodem-2.9.11-20080817/modem/modem_debug.h slmodem-2.9.11-20080817/modem/modem_main.c slmodem-2.9.11-20080817/modem/homolog_data.c slmodem-2.9.11-20080817/modem/modem_timer.h slmodem-2.9.11-20080817/modem/dsplibs.o slmodem-2.9.11-20080817/modem/dp_dummy.c slmodem-2.9.11-20080817/modem/modem_param.c slmodem-2.9.11-20080817/modem/modem_cmdline.c slmodem-2.9.11-20080817/modem/modem.h slmodem-2.9.11-20080817/modem/modem_dp.h slmodem-2.9.11-20080817/Changes [olivares@localhost Downloads]$ cd slmodem-2.9.11-20080817 [olivares@localhost slmodem-2.9.11-20080817]$ make KERNEL_VER=/lib/modules/2.6.27-3.fc10.i686/build/ make -C modem all make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem' rebuild profile... gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c modem_cmdline.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_datafile.o -c modem_datafile.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_at.o -c modem_at.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_timer.o -c modem_timer.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_pack.o -c modem_pack.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_ec.o -c modem_ec.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_comp.o -c modem_comp.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_param.o -c modem_param.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_debug.o -c modem_debug.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o homolog_data.o -c homolog_data.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_sinus.o -c dp_sinus.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_dummy.o -c dp_dummy.c gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o sysdep_common.o -c sysdep_common.c gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_test.o -c modem_test.c gcc -o modem_test modem_test.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem' make -C drivers KERNEL_DIR=/lib/modules/2.6.27-3.fc10.i686/build make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers' obj-m=slamr.o slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o make modules -C /lib/modules/2.6.27-3.fc10.i686/build SUBDIRS=/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers make[2]: Entering directory `/usr/src/kernels/2.6.27-3.fc10.i686' CC [M] /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/amrmo_init.o CC [M] /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/sysdep_amr.o LD [M] /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/slamr.o Building modules, stage 2. MODPOST 1 modules WARNING: could not find /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/.amrlibs.o.cmd for /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/amrlibs.o CC /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/slamr.mod.o LD [M] /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/slamr.ko make[2]: Leaving directory `/usr/src/kernels/2.6.27-3.fc10.i686' finished all: make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers' [olivares@localhost slmodem-2.9.11-20080817]$ make make -C modem all make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem' make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/modem' make -C drivers KERNEL_DIR=/lib/modules/2.6.27-3.fc10.i686/build make[1]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers' doing kernel-ver:: cc -I/lib/modules/2.6.27-3.fc10.i686/build/include -o kernel-ver kernel-ver.c make all KERNEL_VER=2.6.27-3.fc10.i686 make[2]: Entering directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers' obj-m=slamr.o slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o make modules -C /lib/modules/2.6.27-3.fc10.i686/build SUBDIRS=/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers make[3]: Entering directory `/usr/src/kernels/2.6.27-3.fc10.i686' Building modules, stage 2. MODPOST 1 modules WARNING: could not find /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/.amrlibs.o.cmd for /home/olivares/Downloads/slmodem-2.9.11-20080817/drivers/amrlibs.o make[3]: Leaving directory `/usr/src/kernels/2.6.27-3.fc10.i686' finished all: make[2]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers' make[1]: Leaving directory `/home/olivares/Downloads/slmodem-2.9.11-20080817/drivers' Could you please try again, and run make clean before you attempt to compile again. If you get the same error, try reverting back to the older package(s): http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20080811.tar.gz http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20080629.tar.gz Please report back, hope that you can succeed this time :) Regards, Antonio On Wed, Oct 15, 2008 at 4:47 AM, Artur Karimov <arturjuma@xxxxxxxxx> wrote: > Antonio, > Thanks for helping. ungrab-winmodem is installed easily but slmodem > from your link gives the following output: > > make[1]: Leaving directory `/home/artur/slmodem-2.9.11-20080817/modem' > make -C drivers KERNEL_DIR=/lib/modules/2.6.27/build > /bin/sh: line 0: [: 27/build: integer expression expected > make[1]: Entering directory > `/home/artur/slmodem-2.9.11-20080817/drivers' doing kernel-ver:: > cc -I/lib/modules/2.6.27/build/include -o kernel-ver kernel-ver.c > make all KERNEL_VER=2.6.27 > /bin/sh: line 0: [: 27/build: integer expression expected > make[2]: Entering directory > `/home/artur/slmodem-2.9.11-20080817/drivers' obj-m=slamr.o slusb.o > slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o > make modules -C /lib/modules/2.6.27/build > SUBDIRS=/home/artur/slmodem-2.9.11-20080817/drivers make[3]: Entering > directory `/home/artur/kernel/linux-2.6.27' /bin/sh: line 0: [: > 27/build: integer expression expected CC > [M] /home/artur/slmodem-2.9.11-20080817/drivers/amrmo_init.o CC > [M] /home/artur/slmodem-2.9.11-20080817/drivers/sysdep_amr.o CC > [M] /home/artur/slmodem-2.9.11-20080817/drivers/st7554.o LD > [M] /home/artur/slmodem-2.9.11-20080817/drivers/slamr.o LD > [M] /home/artur/slmodem-2.9.11-20080817/drivers/slusb.o Building > modules, stage 2. /bin/sh: line 0: [: 27/build: integer expression > expected MODPOST 2 modules > FATAL: modpost: GPL-incompatible module slusb.ko uses GPL-only symbol > 'usb_unlink_urb' make[4]: *** [__modpost] Error 1 > make[3]: *** [modules] Error 2 > make[3]: Leaving directory `/home/artur/kernel/linux-2.6.27' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/artur/slmodem-2.9.11-20080817/drivers' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/artur/slmodem-2.9.11-20080817/drivers' > make: *** [drivers] Error 2 > root@box:/home/artur/slmodem-2.9.11-20080817# > > > On Mon, 13 Oct 2008 19:12:40 -0700 (PDT) > Antonio Olivares <olivares14031@xxxxxxxxx> wrote: > >> Artur, >> >> You seem to have tried the driver recommended by scanModem, >> >> For 2.6.27 compiling drivers is necessary. As of October 2007 the >> current packages at >> http://linmodems.technion.ac.il/packages/smartlink/ are the >> ungrab-winmodem-20070505.tar.gz and slmodem-2.9.11-20080126.tar.gz >> >> Try to get a newer/newest slmodem-2.9.11-20080817.tar.gz package >> >> http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20080817.tar.gz >> >> and >> >> ungrab-winmodem >> >> http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem-20080126.tar.gz >> >> Should you encounter any problems with the above packages, report >> back presently. >> >> Regards, >> >> Antonio >> >> >> --- On Tue, 10/14/08, Artur Karimov <arturjuma@xxxxxxxxx> wrote: >> >> > From: Artur Karimov <arturjuma@xxxxxxxxx> >> > Subject: CPU=i686, Debian GNU/Linux 4.0 Linux version 2.6.27 >> > (root@box) (gcc version 4.1.2 20061028 (prerelease) (Debian >> > 4.1.1-19)) To: discuss@xxxxxxxxxxxxx Date: Tuesday, October 14, >> > 2008, 6:02 PM Hi, >> > I have installed Knoppix 5 to hd as Debian. Now I can't >> > compile driver for >> > my smartlink modem. Is there any solution? >> > Thanks >> > >> > here are the output while compiling: >> > >> > make all KERNEL_VER=2.6.27 >> > make[2]: Entering directory >> > `/home/artur/slmodem-2.9.11-20080126/drivers' >> > make modules -C /lib/modules/2.6.27/build >> > SUBDIRS=/home/artur/slmodem-2.9.11-20080126/drivers >> > make[3]: Entering directory >> > `/home/artur/kernel/linux-2.6.27' >> > CC [M] >> > /home/artur/slmodem-2.9.11-20080126/drivers/amrmo_init.o >> > /home/artur/slmodem-2.9.11-20080126/drivers/amrmo_init.c: >> > In function 'amrmo_pci_probe': >> > /home/artur/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: >> > error: 'SA_SHIRQ' undeclared (first use in this >> > function) >> > /home/artur/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: >> > error: (Each undeclared identifier is reported only once >> > /home/artur/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: >> > error: for each function it appears in.) >> > /home/artur/slmodem-2.9.11-20080126/drivers/amrmo_init.c: >> > In function 'amrmo_init': >> > /home/artur/slmodem-2.9.11-20080126/drivers/amrmo_init.c:752: >> > warning: 'pci_find_device' is deprecated (declared >> > at include/linux/pci.h:537) >> > make[4]: *** >> > [/home/artur/slmodem-2.9.11-20080126/drivers/amrmo_init.o] >> > Error 1 >> > make[3]: *** >> > [_module_/home/artur/slmodem-2.9.11-20080126/drivers] Error >> > 2 >> > make[3]: Leaving directory >> > `/home/artur/kernel/linux-2.6.27' >> > make[2]: *** [all] Error 2 >> > make[2]: Leaving directory >> > `/home/artur/slmodem-2.9.11-20080126/drivers' >> > make[1]: *** [all] Error 2 >> > make[1]: Leaving directory >> > `/home/artur/slmodem-2.9.11-20080126/drivers' >> > make: *** [drivers] Error 2 >> > >> > artur karimov >> >> >> >