SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
I've tried to make my speedtouch 330 usb modem to work on slackware 11.The firmware loads fine but i need libatb in order to make it work.When i compile it stops at "make" step here's console output:
Code:
root@darkstar:~/soft/speedtouch/linux-atm-2.4.1# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for bison... (cached) bison -y
checking for a BSD compatible install... /usr/bin/ginstall -c
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for ld used by GCC... (cached) /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... (cached) yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
checking for perl... (cached) /usr/bin/perl
checking for asm/errno.h... (cached) yes
checking for linux/atmsap.h... (cached) yes
checking for main in -lresolv... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating m4/Makefile
creating src/Makefile
creating src/include/Makefile
creating src/lib/Makefile
creating src/test/Makefile
creating src/debug/Makefile
creating src/qgen/Makefile
creating src/saal/Makefile
creating src/sigd/Makefile
creating src/maint/Makefile
creating src/arpd/Makefile
creating src/ilmid/Makefile
creating src/ilmid/asn1/Makefile
creating src/man/Makefile
creating src/led/Makefile
creating src/lane/Makefile
creating src/mpoad/Makefile
creating src/switch/Makefile
creating src/switch/debug/Makefile
creating src/switch/tcp/Makefile
creating src/config/Makefile
creating src/config/init-redhat/Makefile
creating src/extra/Makefile
creating src/extra/linux-atm.spec
creating src/extra/ANS/Makefile
creating config.h
config.h is unchanged
root@darkstar:~/soft/speedtouch/linux-atm-2.4.1# make
make all-recursive
make[1]: Entering directory `/root/soft/speedtouch/linux-atm-2.4.1'
Making all in m4
make[2]: Entering directory `/root/soft/speedtouch/linux-atm-2.4.1/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/soft/speedtouch/linux-atm-2.4.1/m4'
Making all in src
make[2]: Entering directory `/root/soft/speedtouch/linux-atm-2.4.1/src'
Making all in include
make[3]: Entering directory `/root/soft/speedtouch/linux-atm-2.4.1/src/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/soft/speedtouch/linux-atm-2.4.1/src/include'
Making all in lib
make[3]: Entering directory `/root/soft/speedtouch/linux-atm-2.4.1/src/lib'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sapequal.c
rm -f .libs/sapequal.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sapequal.c -fPIC -DPIC -o .libs/sapequal.lo
sapequal.c: In function `match_blli':
sapequal.c:68: error: label at end of compound statement
sapequal.c:86: error: label at end of compound statement
make[3]: *** [sapequal.lo] Error 1
make[3]: Leaving directory `/root/soft/speedtouch/linux-atm-2.4.1/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/soft/speedtouch/linux-atm-2.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/soft/speedtouch/linux-atm-2.4.1'
make: *** [all-recursive-am] Error 2
What can i do to compile it, or can i use somethiong else ???
I've tried on certains forums but noboddy answere, pls help masters!!!
well i've tried steve's script but it's not working, i've installed kernells modules 2.6.17.13,
headers and source but libatb still doesn't compile.Speedtouchconf sais it's all ok , my adsl LED is bliking for 60 sec and then sais "dont seem to have connected". I've noticed that speedtouchconf uses modem_run , and modem_run is used with 2.4 kernels.
What todo?? reinstall slack with 2.4.33 or keep trying.
ps: vci vpi username and passw were corect and my modem is rev4( i've used rev4fw.zip firmaware).
hy
When i install slackware 11.0,whit old kernel work it the modem but when i reinstall slackware and upgrade the kernel (all... module,header,source) the modem doesnt work,i can install the driver but when i start the modem(speedtouch -start) i get: Starting ADSL connection...
and than exit....
like cannot identify usb port or something!?
some solution?
thanx
Last edited by cristopher5; 01-08-2007 at 04:16 AM.
Hyakutake's guide work's fine. When I installed the new kernel 2.6.17.13 I think i installed a new compiler gcc 3.4 so that's why my lib-atm didn't compile.Follow those steps and don't forget to aply the patch for new compilers: http://www.linux-usb.org/SpeedTouch/LFS/index.html
ps: you don't need to recompile the kernel with new features to suport your modem , just activate the required modules from /etc/rc.d/rc.modules-2.6.17.13
ps: you don't need to recompile the kernel with new features to suport your modem , just activate the required modules from /etc/rc.d/rc.modules-2.6.17.13
you can activate a module by editing the file "/etc/rc.d/rc.modules-2.6.17.13"
The file format is something like this
Code:
## This module provides compression for PPP (optional):
#/sbin/modprobe ppp_deflate
you must delete 2nd line's "#" character and the ppp compresion will load:
Code:
## This module provides compression for PPP (optional):
/sbin/modprobe ppp_deflate
search these modules and activate them:
Code:
## Load PPP:
# This module is for PPP support:
/sbin/modprobe ppp_generic
# This PPP plugin supports PPP over serial lines:
/sbin/modprobe ppp_async
# Use this plugin instead for HDLC (used for high-speed leased lines like T1/E1)
#/sbin/modprobe ppp_synctty
## This module provides compression for PPP (optional):
/sbin/modprobe ppp_deflate
......
# USB modem support:
/sbin/modprobe cdc-acm
HY
I make like you say but dont work.i have install speedtouch-1.3.1 but doesnt start...when tape speedtouch -start i get: Starting ADSL connection...
and than exit
any sugestion?
@binary_digit what have install?.. this driver .... or http://www.steve-parker.org/speedtouchconf/
I've tried steve parker's script, and it didn't work for me.I tried to install the modem with a "driver" but that driver required a network modem not an usb modem, so yo need a tool called br2684 to simulate a network and then run the driver.
So if you want something certain , get read of steve's script and the driver, so use NONE of them. just follow the howto from here: http://www.linux-usb.org/SpeedTouch/LFS/index.html
There you'll find what you need to download.PPP-2.4.4 is already installed by slackware so you need br2684-ctl and libatm.
So, once again , delete any driver, scripts and follow the steps from here: http://www.linux-usb.org/SpeedTouch/LFS/index.html
@binary_digit
cannot install linux-atm-2.4.1....get error.on this site i found a patch but how it run???
i search linux-atm pachage but cannot find only rpm.
You take the patch from here:http://www.linux-usb.org/SpeedTouch/....1-gcc-4.patch
If your browser opens it like a text file , click File->Save Page As , and you save under this name linux-atm-2.4.1-gcc-4.patch in your lib-atm-2.4.1 folder, then you recompile it with the commands from that howto from the yellow table. If you still have problems please read lib-atm's README file.
I didn't find either lib-atm as a tgz pakage, but if your compilation fails you can try converting an rpm pakage, that is platform independent, into an tgz pakage with "rpm2tgz".Type in console "rpm2tgz pakage.rpm", and this tool will create a new file pakage.tgz.Then you may try installing it with installpkg.No warranty.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.