Re: Debian Etch and Hamlet Silver Surfer 56K-V92 USB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rodolfo Medina wrote:

>>>> Last year I managed to properly configure Debian Sarge for my modem: see
>>>> the
>>>> complete procedure reported at:
>>>>
>>>>  http://forums.debian.net/viewtopic.php?t=8252
>>>>
>>>> .  I'm trying now with Debian Etch.



"Marvin Stodolsky" <marvin.stodolsky@xxxxxxxxx> writes:

> Rodolfo,
> Use the file
> http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20070813.tar.gz 
>
> In the directory Modem where you found ModemData.txt, there are instructions
> for compiling.
> Your ModemData shows that some other lower level files must be installed.



Jacques, Marvin:

these are the steps I did:

# apt-get install linux-source-2.6.18
# apt-get install libc6-dev
# cd /usr/src
# tar xjvf linux-source-2.6.18.tar.bz2
# cd linux-source-2.6.18
# apt-get install gcc
# make mrproper
# cp -vi /boot/config-2.6.18-4-686 .config
# make oldconfig

.  Then in Makefile I changed the line

 EXTRAVERSION =

into:

 EXTRAVERSION = -2-686

.  Then I did:

# make dep

$ cd tmp
$ gzip -dc slmodem-2.9.11-20070813.tar.gz | tar xf -


.  Then in slmodem-2.9.11-20070813/Makefile I changed the line

 KERNEL_DIR:=/lib/modules/$(shell uname -r)/build

into:

 KERNEL_DIR:=/usr/src/linux-source-2.6.18

.  Then I did:

$ cd slmodem-2.9.11-20070813/
$ make clean
$ make

, but got error:

make -C modem all
make[1]: Entering directory `/home/rodolfo/tmp/slmodem-2.9.11-20070813/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.cgcc -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
modem_pack.c: In function ¡Æmodem_async_get_bits¡Ç:
modem_pack.c:100: warning: pointer targets in passing argument 2 of ¡Æm->get_chars¡Ç differ in signedness
modem_pack.c: In function ¡Æmodem_async_put_bits¡Ç:
modem_pack.c:148: warning: pointer targets in passing argument 2 of ¡Æm->put_chars¡Ç differ in signedness
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_ec.o -c modem_ec.c
modem_ec.c: In function ¡Ætx_info¡Ç:
modem_ec.c:723: warning: pointer targets in passing argument 2 of ¡Æl->modem->get_chars¡Ç differ in signedness
modem_ec.c: In function ¡Æpush_rest_data¡Ç:
modem_ec.c:811: warning: pointer targets in passing argument 2 of ¡Æl->modem->put_chars¡Ç differ in signedness
modem_ec.c: In function ¡Ærx_info¡Ç:
modem_ec.c:860: warning: pointer targets in passing argument 2 of ¡Æl->modem->put_chars¡Ç differ in signedness
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.cgcc  -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/rodolfo/tmp/slmodem-2.9.11-20070813/modem'
make -C drivers KERNEL_DIR=/usr/src/linux-source-2.6.18
make[1]: Entering directory `/home/rodolfo/tmp/slmodem-2.9.11-20070813/drivers'
cc -I/usr/src/linux-source-2.6.18/include -o kernel-ver kernel-ver.c
kernel-ver.c:9:30: error: linux/utsrelease.h: No such file or directory
make[1]: *** [kernel-ver] Error 1
make[1]: Leaving directory `/home/rodolfo/tmp/slmodem-2.9.11-20070813/drivers'
make: *** [drivers] Error 2


.  Now I don't know what to do.  Do you have any hints?

Thanks indeed
Rodolfo


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux