LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 05-30-2003, 05:43 AM   #1
falstaff69
LQ Newbie
 
Registered: May 2003
Location: Ferrara, Italy
Distribution: Debian GNU/Linux Woody & Suse Professional 8.2
Posts: 1

Rep: Reputation: 0
UsRobotics ADSl Modem 9000 - Drivers


Hello everybody; I own a 9000 ADSL Modem with Linux drivers downloaded from www.usr.com;
the drivers are in src code and usr.com doesn't support them directly;
trying to compile them i obtain the following error:

"
polaris:/usr/local/src/usr9000/ADI_LINUX# make
make[1]: Entering directory `/usr/local/src/usr9000/ADI_LINUX'
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -I./ADIUTIL -O2 -M *.c > .depend
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -I./ADIUTIL -O2 -M ./ADIUTIL/*.c >> .depend
make[1]: Leaving directory `/usr/local/src/usr9000/ADI_LINUX'
gcc -DLINUX -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -I./ADIUTIL -O2 -c -o AdiUsbAdslDriver.o AdiUsbAdslDriver.c
In file included from ADIUTIL/Adiutil.h:54,
from AdiUsbAdslDriver.c:29:
ADIUTIL/Structs.h:89: warning: unnamed struct/union that defines no instances
ADIUTIL/Structs.h:112: warning: unnamed struct/union that defines no instances
ADIUTIL/Structs.h:142: warning: unnamed struct/union that defines no instances
AdiUsbAdslDriver.c: In function `adi_irq':
AdiUsbAdslDriver.c:562: structure has no member named `SwapIntInfo'
AdiUsbAdslDriver.c:572: structure has no member named `CmvIntInfo'
make: *** [AdiUsbAdslDriver.o] Error 1
polaris:/usr/local/src/usr9000/ADI_LINUX#
"

can anybody help me? Am I missing some dependencies on my system or have i got an old or broken compiler, etc...
Thanks
 
Old 05-30-2003, 10:54 AM   #2
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
Check and make sure you have the linux kernel source code installed, that it is the same source code as the running kernel and that you have a symbolic link /usr/src/linux pointing to it. I will check my system by opening an x terminal and giving these commands:
Code:
[phil@uilleann phil]$ su -
Password:
[root@uilleann root]# uname -r
2.4.18-3
[root@uilleann root]# cd /usr/src/linux-2.4.18-3
[root@uilleann linux-2.4.18-3]# ls
abi      COPYING        drivers  init    lib          mm      REPORTING-BUGS
arch     CREDITS        fs       ipc     MAINTAINERS  net     Rules.make
configs  Documentation  include  kernel  Makefile     README  scripts
[root@uilleann linux-2.4.18-3]# cd /usr/src
[root@uilleann src]# ls
linux-2.4  linux-2.4.18-3  redhat
[root@uilleann src]# ln -s /usr/src/linux-2.4.18-3 linux
[root@uilleann src]# ls
linux  linux-2.4  linux-2.4.18-3  redhat
[root@uilleann src]#
I noticed that my Redhat 7.3 had a symbolic link called linux-2.4 pointing to the kernel, so I created the symbolic link I needed to install the module.

HTH
 
Old 08-21-2003, 11:15 AM   #3
steweb555
LQ Newbie
 
Registered: Aug 2003
Distribution: SUSE 8.0
Posts: 1

Rep: Reputation: 0
Hi,
The C++-sources use the "union"-Construct for better performance. Make sure, that your compiler understands this or comment it out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drivers modem adsl for linux Mandrake 10.0 m11p03ln Linux - Hardware 1 10-25-2004 12:55 AM
ADSL USB US Robotics 9000 Modem linuxamos Linux - Hardware 3 08-23-2004 05:17 PM
Instalation and drivers to Siemens ADSL modem xunil Linux - Hardware 0 02-10-2004 12:51 PM
USB ADSL Modem with mandrake drivers Axsyrus Linux - Newbie 4 11-07-2003 08:22 AM
USR SureConnect 9000 USB ADSL Modem Teecom Slackware 0 06-21-2003 01:54 AM


All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration