Chris, Resources for compiling are not complete linux-headers-2.6.22.13-0.1.gcc3.4.x86.i686 resources needed for compiling are not manifestly ready! Since compiling is necessary packages must be installed, providing: kernel-source-2.6.22.13-0.1.gcc3.4.x86.i686 or equivalent linux-headers-2.6.22.13-0.1.gcc3.4.x86.i686 Check with Asterisk support how to get these resources. THe compile should then look per below. MarvS ---------------- marv@marvlap:/usr/src/modules/slmodem-2.9.11-20080817$ marv@marvlap:/usr/src/modules/slmodem-2.9.11-20080817$ make clean make -C modem clean && make -C drivers clean && echo "done." make[1]: Entering directory `/usr/src/modules/slmodem-2.9.11-20080817/modem' rm -f slmodemd modem_test modem_main.o modem_cmdline.o modem_test.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 sysdep_common.o rm -f *~ *.orig *.rej make[1]: Leaving directory `/usr/src/modules/slmodem-2.9.11-20080817/modem' make[1]: Entering directory `/usr/src/modules/slmodem-2.9.11-20080817/drivers' rm -f kernel-ver slamr.o slusb.o slamr.ko slusb.ko *st7554.o amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~ rm -f -r .tmp_versions make[1]: Leaving directory `/usr/src/modules/slmodem-2.9.11-20080817/drivers' done. marv@marvlap:/usr/src/modules/slmodem-2.9.11-20080817$ marv@marvlap:/usr/src/modules/slmodem-2.9.11-20080817$ make make -C modem all make[1]: Entering directory `/usr/src/modules/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 `/usr/src/modules/slmodem-2.9.11-20080817/modem' make -C drivers KERNEL_DIR=/lib/modules/2.6.24-19-generic/build make[1]: Entering directory `/usr/src/modules/slmodem-2.9.11-20080817/drivers' doing kernel-ver:: cc -I/lib/modules/2.6.24-19-generic/build/include -o kernel-ver kernel-ver.c make all KERNEL_VER=2.6.24-19-generic make[2]: Entering directory `/usr/src/modules/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.24-19-generic/build SUBDIRS=/usr/src/modules/slmodem-2.9.11-20080817/drivers make[3]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic' CC [M] /usr/src/modules/slmodem-2.9.11-20080817/drivers/amrmo_init.o CC [M] /usr/src/modules/slmodem-2.9.11-20080817/drivers/sysdep_amr.o CC [M] /usr/src/modules/slmodem-2.9.11-20080817/drivers/st7554.o LD [M] /usr/src/modules/slmodem-2.9.11-20080817/drivers/slamr.o LD [M] /usr/src/modules/slmodem-2.9.11-20080817/drivers/slusb.o Building modules, stage 2. MODPOST 2 modules WARNING: could not find /usr/src/modules/slmodem-2.9.11-20080817/drivers/.amrlibs.o.cmd for /usr/src/modules/slmodem-2.9.11-20080817/drivers/amrlibs.o WARNING: modpost: GPL-incompatible module slusb.ko uses future GPL-only symbol 'usb_deregister' WARNING: modpost: GPL-incompatible module slusb.ko uses future GPL-only symbol 'usb_register_driver' CC /usr/src/modules/slmodem-2.9.11-20080817/drivers/slamr.mod.o LD [M] /usr/src/modules/slmodem-2.9.11-20080817/drivers/slamr.ko CC /usr/src/modules/slmodem-2.9.11-20080817/drivers/slusb.mod.o LD [M] /usr/src/modules/slmodem-2.9.11-20080817/drivers/slusb.ko make[3]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic' finished all: make[2]: Leaving directory `/usr/src/modules/slmodem-2.9.11-20080817/drivers' make[1]: Leaving directory `/usr/src/modules/slmodem-2.9.11-20080817/drivers' marv@marvlap:/usr/src/modules/slmodem-2.9.11-20080817$ marv@marvlap:/usr/src/modules/slmodem-2.9.11-20080817$ ls -l drivers/*.ko -rw-r--r-- 1 marv marv 776876 2008-10-16 22:49 drivers/slamr.ko -rw-r--r-- 1 marv marv 169582 2008-10-16 22:49 drivers/slusb.ko marv@marvlap:/usr/src/modules/slmodem-2.9.11-20080817$ On Thu, Oct 16, 2008 at 9:56 AM, Chris <chris@xxxxxxxxxxxxx> wrote: > Hi, > Please help i cant get our Smartlink modem installed no matter what i do. > We are using Asterisknow which included the base installation of a Linux > distro which i believe to be redhat based. > For your info: > There is no build folder in: > /lib/modules/2.6.22.13-0.1.gcc3.4.x86.i686 > But there is in: > /lib/modules/2.6.22.13-0.1.smp.gcc3.4.x86.i686 > Before finding that out most "make" commands resulted in tons of errors. > I try changing the makefiles to include > /lib/modules/2.6.22.13-0.1.smp.gcc3.4.x86.i686/build instead of "uname -r" > command to no avail. > I have even created a symbolic link from the default folder to the 2nd > correct folder to no avail. > I currently have slamr.ko, slusb.ko & ungrab-winmodem.ko in both "extra" > directorys of each kernel paths showing above. > If i run the make install of the slmodem package i receive a warning in > relation to a missing "amrlibs.o.cmd" from the drivers folder, indeed it > doesn't exist. > I have also tried to install a slamr package which i get told is the Invalid > module due to kernel version i believe, but i cant find a slamr download for > 2.6.22.13-0.1 the latest and the one im trying is slamr-2.6.22-14-generic, > which of course fails! > I am using the http://linmodems.blah.blah/smartlink downloads page and > choosing slmodem-2.9.11-20080126 & ungrab-winmodem-20070505 as directed to > be used in ModemData.txt. > > Please help, Im a noob so please tell:- > What tar's i need, where to get them, if i should do a bit of a clear out, > remove symbolic link?, what order to install new tars, any commands in > particular? > > Thanks in advance. > > Chris > >