alexillsley
8th May 2007, 03:06
Hi,
Anyone know of any good ADSL pci card modems, that work well with linux??
I bought this one http://www.bewan.com/bewan/products/adsl_modems/adslpcist.php
Which had drivers for linux
http://www.bewan.com/bewan/drivers/A1012-A1006-A904-A888-A983-0.9.3.tgz
However i couldnt get that to install i just got loads of errors:(
You know of any better one?
Thanks,
Alex
How did you try to install the driver? What errros did you get?
Which distribution do you use?
alexillsley
8th May 2007, 18:29
Hi,
Im using opensuse 10.2 i had a look at the read me and found out i needed to download the kerenel sources, i found an howto opensuse kernel tutotorial on this site, so i will download the sources and try running this again,
Ill tell you what happens,
Thanks,
Alex
alexillsley
8th May 2007, 20:19
Please could you help me, i really need this to work.
I try to install it by running the make command though i get thousands of errors:(
Heres the first part of the errors theres many more, maybe if the first error is fixed it will fix all the errors:
server1:/tmp/unicorn # make
for i in adsl_status unicorntest tools ; do make -C $i all ; done
make[1]: Entering directory `/tmp/unicorn/adsl_status'
make all-recursive
make[2]: Entering directory `/tmp/unicorn/adsl_status'
Making all in intl
make[3]: Entering directory `/tmp/unicorn/adsl_status/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/unicorn/adsl_status/intl'
Making all in m4
make[3]: Entering directory `/tmp/unicorn/adsl_status/m4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/unicorn/adsl_status/m4'
Making all in intl
make[3]: Entering directory `/tmp/unicorn/adsl_status/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/unicorn/adsl_status/intl'
Making all in po
make[3]: Entering directory `/tmp/unicorn/adsl_status/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/unicorn/adsl_status/po'
Making all in src
make[3]: Entering directory `/tmp/unicorn/adsl_status/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../../amu -I../../include/ -I../intl -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall -c main.c
main.c:10:21: error: gtk/gtk.h: No such file or directory
In file included from main.c:12:
interface.h:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from main.c:13:
support.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
support.h:51: warning: type defaults to ‘int’ in declaration of ‘gchar’
support.h:51: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
support.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from main.c:14:
status.h:1: error: expected ‘)’ before ‘*’ token
status.h:2: error: expected ‘)’ before ‘*’ token
status.h:3: error: expected ‘)’ before ‘*’ token
status.h:4: error: expected ‘)’ before ‘*’ token
status.h:5: error: expected ‘)’ before ‘*’ token
status.h:6: error: expected ‘)’ before ‘*’ token
main.c: In function ‘main’:
main.c:20: error: ‘GtkWidget’ undeclared (first use in this function)
main.c:20: error: (Each undeclared identifier is reported only once
main.c:20: error: for each function it appears in.)
main.c:20: error: ‘main_window’ undeclared (first use in this function)
main.c:27: warning: implicit declaration of function ‘gtk_set_locale’
main.c:28: warning: implicit declaration of function ‘gtk_init’
main.c:31: warning: implicit declaration of function ‘add_pixmap_directory’
main.c:39: warning: implicit declaration of function ‘create_main_window’
main.c:45: warning: implicit declaration of function ‘create_RxPathLabel’
main.c:45: warning: implicit declaration of function ‘lookup_widget’
main.c:45: warning: implicit declaration of function ‘GTK_WIDGET’
main.c:46: warning: implicit declaration of function ‘create_SNRLabel’
main.c:47: warning: implicit declaration of function ‘create_EchoNoiseLabel’
main.c:49: warning: implicit declaration of function ‘status_init’
main.c:51: warning: implicit declaration of function ‘gtk_widget_show’
main.c:53: warning: implicit declaration of function ‘gtk_main’
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/tmp/unicorn/adsl_status/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/unicorn/adsl_status'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/unicorn/adsl_status'
make[1]: Entering directory `/tmp/unicorn/unicorntest'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/unicorn/unicorntest'
make[1]: Entering directory `/tmp/unicorn/tools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/unicorn/tools'
for i in libm unicorn_pci unicorn_usb ; do make -C $i modules MODDIR=/tmp/unicorn/$i ; done
make[1]: Entering directory `/tmp/unicorn/libm'
make[1]: Nothing to be done for `modules'.
make[1]: Leaving directory `/tmp/unicorn/libm'
make[1]: Entering directory `/tmp/unicorn/unicorn_pci'
Makefile:31: /usr/src/linux/.config: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux/.config'. Stop.
make[1]: Leaving directory `/tmp/unicorn/unicorn_pci'
make[1]: Entering directory `/tmp/unicorn/unicorn_usb'
make CC=gcc -C /usr/src/linux SUBDIRS=/tmp/unicorn/unicorn_usb modules
make[2]: Entering directory `/usr/src/linux-2.6.18.2'
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump /usr/src/linux-2.6.18.2/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /tmp/unicorn/unicorn_usb/unicorn_usbdrv.o
cc1: error: include/linux/autoconf.h: No such file or directory
In file included from /tmp/unicorn/unicorn_usb/unicorn_usbdrv.c:7:
include/linux/config.h:6:28: error: linux/autoconf.h: No such file or directory
/tmp/unicorn/unicorn_usb/unicorn_usbdrv.c:8:27: error: linux/version.h: No such file or directory
/tmp/unicorn/unicorn_usb/unicorn_usbdrv.c:9:72: error: missing binary operator before token "("
In file included from include/linux/kernel.h:11,
from /tmp/unicorn/unicorn_usb/unicorn_usbdrv.c:12:
include/linux/linkage.h:4:25: error: asm/linkage.h: No such file or directory
In file included from include/linux/types.h:14,
from include/linux/kernel.h:13,
from /tmp/unicorn/unicorn_usb/unicorn_usbdrv.c:12:
include/linux/posix_types.h:47:29: error: asm/posix_types.h: No such file or directory
In file included from include/linux/kernel.h:13,
from /tmp/unicorn/unicorn_usb/unicorn_usbdrv.c:12:
include/linux/types.h:15:23: error: asm/types.h: No such file or directory
In file included from include/linux/kernel.h:13,
from /tmp/unicorn/unicorn_usb/unicorn_usbdrv.c:12:
include/linux/types.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_dev_t’
include/linux/types.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’
include/linux/types.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ino_t’
include/linux/types.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mode_t’
include/linux/types.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nlink_t’
include/linux/types.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘off_t’
include/linux/types.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_t’
include/linux/types.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘daddr_t’
include/linux/types.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suseconds_t’
include/linux/types.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timer_t’
include/linux/types.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clockid_t’
include/linux/types.h:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid_t’
include/linux/types.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid_t’
include/linux/types.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid16_t’
include/linux/types.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid16_t’
Please could you help me, i really need this to work.
I try to install it by running the make command though i get thousands of errors:(
Heres the first part of the errors theres many more, maybe if the first error is fixed it will fix all the errors:
main.c:10:21: error: gtk/gtk.h: No such file or directory
That's the problem. I think this file is provided by the package gtk2-devel on Suse 10.2. Install that package and try again.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.