Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I've got a bit of a problem with my modem. I got my sagem 800 F@st modem free when I got my tiscali ADSL acount and I went to the Sagem site and discovered that it is compatible with linux (Yipee) and that there are drivers for it. I downloaded them and followed the instructions that came with them. I got to the bit where it askes you to su to root and type
./INSTALL_ALL linux 2.4.18-14
I did this and it went wrong. On closer inspection I realised that this was cos I didn't have the kernel source on my system so I fixed that and it all started doing it's compily thing. It then displayed error things at the end of it and stoped. Out put is thus (or at least the end part of it as it is too long to put in a thread)
AdiUsbAdslDriver.c:326: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:327: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:328: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:330: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:331: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:332: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:341: warning: implicit declaration of function `usb_set_interface'
AdiUsbAdslDriver.c:347: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:352: warning: implicit declaration of function `init_waitqueue_head'
AdiUsbAdslDriver.c:352: request for member `wq' in something not a structure or
union
AdiUsbAdslDriver.c:353: request for member `wq2' in something not a structure or union
AdiUsbAdslDriver.c:354: request for member `wq4' in something not a structure or union
AdiUsbAdslDriver.c:355: request for member `AdiApiRWPending' in something not a
structure or union
AdiUsbAdslDriver.c:356: request for member `APICmvError' in something not a structure or union
AdiUsbAdslDriver.c:357: warning: implicit declaration of function `sema_init'
AdiUsbAdslDriver.c:357: request for member `sem' in something not a structure or union
AdiUsbAdslDriver.c:358: request for member `ApiLock' in something not a structure or union
AdiUsbAdslDriver.c:358: `SPIN_LOCK_UNLOCKED' undeclared (first use in this function)
AdiUsbAdslDriver.c:359: warning: implicit declaration of function `spin_lock_init'
AdiUsbAdslDriver.c:359: request for member `ApiLock' in something not a structure or union
AdiUsbAdslDriver.c:360: request for member `ApiTestReq' in something not a structure or union
AdiUsbAdslDriver.c:361: request for member `GPRegister' in something not a structure or union
AdiUsbAdslDriver.c:362: request for member `InitTime' in something not a structure or union
AdiUsbAdslDriver.c:362: `jiffies' undeclared (first use in this function)
AdiUsbAdslDriver.c:364: request for member `BootTimer' in something not a structure or union
AdiUsbAdslDriver.c:365: request for member `BootTimer' in something not a structure or union
AdiUsbAdslDriver.c:366: request for member `BootTimer' in something not a structure or union
AdiUsbAdslDriver.c:367: request for member `booter_thread_pid' in something not
a structure or union
AdiUsbAdslDriver.c:375: warning: implicit declaration of function `FILL_INT_URB'AdiUsbAdslDriver.c:375: request for member `urbInt' in something not a structure or union
AdiUsbAdslDriver.c:375: request for member `pipeIntIn' in something not a structure or union
AdiUsbAdslDriver.c:375: request for member `pInterruptData' in something not a structure or union
AdiUsbAdslDriver.c:376: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:377: warning: implicit declaration of function `usb_submit_urb'
AdiUsbAdslDriver.c:377: request for member `urbInt' in something not a structure or union
AdiUsbAdslDriver.c:381: warning: implicit declaration of function `init_etherdev'
AdiUsbAdslDriver.c:381: warning: assignment makes pointer from integer without a cast
AdiUsbAdslDriver.c:392: request for member `pLinuxNet' in something not a structure or union
AdiUsbAdslDriver.c:395: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:403: warning: implicit declaration of function `strcpy'
AdiUsbAdslDriver.c:403: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:404: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:405: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:406: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:407: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:408: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:409: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:410: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:411: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:418: warning: implicit declaration of function `memcpy'
AdiUsbAdslDriver.c:418: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:418: request for member `MAC' in something not a structure or union
AdiUsbAdslDriver.c: In function `adi_disconnect':
AdiUsbAdslDriver.c:450: `pHw' undeclared (first use in this function)
AdiUsbAdslDriver.c:450: parse error before ')' token
AdiUsbAdslDriver.c:465: warning: implicit declaration of function `wait_ms'
AdiUsbAdslDriver.c:466: warning: implicit declaration of function `kill_proc'
AdiUsbAdslDriver.c:466: `SIGKILL' undeclared (first use in this function)
AdiUsbAdslDriver.c:468: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:488: warning: implicit declaration of function `unregister_netdev'
AdiUsbAdslDriver.c:493: warning: implicit declaration of function `usb_unlink_urb'
AdiUsbAdslDriver.c:496: warning: implicit declaration of function `kfree'
AdiUsbAdslDriver.c:498: warning: implicit declaration of function `vfree'
AdiUsbAdslDriver.c:504: warning: implicit declaration of function `usb_free_urb'AdiUsbAdslDriver.c:523: warning: implicit declaration of function `usb_driver_release_interface'
AdiUsbAdslDriver.c:523: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:524: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:525: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c: At top level:
AdiUsbAdslDriver.c:539: warning: `struct urb' declared inside parameter list
AdiUsbAdslDriver.c:540: conflicting types for `adi_irq'
AdiUsbAdslDriver.c:40: previous declaration of `adi_irq'
AdiUsbAdslDriver.c: In function `adi_irq':
AdiUsbAdslDriver.c:541: `pHw' undeclared (first use in this function)
AdiUsbAdslDriver.c:546: parse error before ')' token
AdiUsbAdslDriver.c:549: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:554: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:554: `EILSEQ' undeclared (first use in this function)
AdiUsbAdslDriver.c:555: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:555: `ETIMEDOUT' undeclared (first use in this function)
AdiUsbAdslDriver.c: In function `adi_open':
AdiUsbAdslDriver.c:604: `pHw' undeclared (first use in this function)
AdiUsbAdslDriver.c:604: parse error before ')' token
AdiUsbAdslDriver.c:606: warning: implicit declaration of function `atomic_inc'
AdiUsbAdslDriver.c:606: union has no member named `usecount'
AdiUsbAdslDriver.c:617: warning: implicit declaration of function `netif_start_queue'
AdiUsbAdslDriver.c: In function `adi_close':
AdiUsbAdslDriver.c:631: `pHw' undeclared (first use in this function)
AdiUsbAdslDriver.c:631: parse error before ')' token
AdiUsbAdslDriver.c:639: warning: implicit declaration of function `netif_stop_queue'
AdiUsbAdslDriver.c:648: warning: implicit declaration of function `atomic_dec'
AdiUsbAdslDriver.c:648: union has no member named `usecount'
AdiUsbAdslDriver.c: In function `adi_ioctl':
AdiUsbAdslDriver.c:662: `EOPNOTSUPP' undeclared (first use in this function)
AdiUsbAdslDriver.c: In function `adi_stats':
AdiUsbAdslDriver.c:670: `pHw' undeclared (first use in this function)
AdiUsbAdslDriver.c:670: parse error before ')' token
AdiUsbAdslDriver.c: At top level:
AdiUsbAdslDriver.c:681: warning: `struct sk_buff' declared inside parameter listAdiUsbAdslDriver.c:682: conflicting types for `adi_start_xmit'
AdiUsbAdslDriver.c:45: previous declaration of `adi_start_xmit'
AdiUsbAdslDriver.c: In function `adi_start_xmit':
AdiUsbAdslDriver.c:683: `pHw' undeclared (first use in this function)
AdiUsbAdslDriver.c:683: parse error before ')' token
AdiUsbAdslDriver.c:684: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:715: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:715: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:724: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:724: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:738: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:739: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:740: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:740: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:746: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:746: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:750: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:750: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:773: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:775: dereferencing pointer to incomplete type
AdiUsbAdslDriver.c:775: `jiffies' undeclared (first use in this function)
AdiUsbAdslDriver.c:791: warning: implicit declaration of function `dev_kfree_skb'
AdiUsbAdslDriver.c: In function `adi_tx_timeout':
AdiUsbAdslDriver.c:821: `pHw' undeclared (first use in this function)
AdiUsbAdslDriver.c:821: parse error before ')' token
AdiUsbAdslDriver.c:826: `USB_ASYNC_UNLINK' undeclared (first use in this function)
AdiUsbAdslDriver.c: In function `adi_read_proc':
AdiUsbAdslDriver.c:841: `pHw' undeclared (first use in this function)
AdiUsbAdslDriver.c:841: parse error before ')' token
AdiUsbAdslDriver.c:846: warning: implicit declaration of function `sprintf'
AdiUsbAdslDriver.c: In function `adi_user':
AdiUsbAdslDriver.c:950: `pHw' undeclared (first use in this function)
AdiUsbAdslDriver.c:964: warning: implicit declaration of function `_IOW'
AdiUsbAdslDriver.c:964: parse error before "struct"
AdiUsbAdslDriver.c:969: `EFAULT' undeclared (first use in this function)
AdiUsbAdslDriver.c:973: warning: implicit declaration of function `__copy_from_user'
AdiUsbAdslDriver.c:984: warning: implicit declaration of function `vmalloc'
AdiUsbAdslDriver.c:984: warning: assignment makes pointer from integer without a cast
AdiUsbAdslDriver.c:953: warning: unused variable `Param'
AdiUsbAdslDriver.c:957: warning: unused variable `DspRWInfo'
AdiUsbAdslDriver.c:958: warning: unused variable `State'
AdiUsbAdslDriver.c:970: label `err_out' used but not defined
AdiUsbAdslDriver.c:970: warning: unreachable code at beginning of switch statement
AdiUsbAdslDriver.c: At top level:
AdiUsbAdslDriver.c:1013: parse error before "break"
AdiUsbAdslDriver.c:1025: warning: type defaults to `int' in declaration of `retval'
AdiUsbAdslDriver.c:1025: `EFAULT' undeclared here (not in a function)
AdiUsbAdslDriver.c:1025: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1026: parse error before "goto"
AdiUsbAdslDriver.c:1032: warning: type defaults to `int' in declaration of `retval'
AdiUsbAdslDriver.c:1032: redefinition of `retval'
AdiUsbAdslDriver.c:1025: `retval' previously defined here
AdiUsbAdslDriver.c:1032: `EFAULT' undeclared here (not in a function)
AdiUsbAdslDriver.c:1032: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1033: parse error before "goto"
AdiUsbAdslDriver.c:1039: warning: type defaults to `int' in declaration of `retval'
AdiUsbAdslDriver.c:1039: redefinition of `retval'
AdiUsbAdslDriver.c:1032: `retval' previously defined here
AdiUsbAdslDriver.c:1039: `EFAULT' undeclared here (not in a function)
AdiUsbAdslDriver.c:1039: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1040: parse error before "goto"
AdiUsbAdslDriver.c:1054: warning: type defaults to `int' in declaration of `retval'
AdiUsbAdslDriver.c:1054: redefinition of `retval'
AdiUsbAdslDriver.c:1039: `retval' previously defined here
AdiUsbAdslDriver.c:1054: `EFAULT' undeclared here (not in a function)
AdiUsbAdslDriver.c:1054: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1055: parse error before "goto"
AdiUsbAdslDriver.c:1061: warning: type defaults to `int' in declaration of `retval'
AdiUsbAdslDriver.c:1061: redefinition of `retval'
AdiUsbAdslDriver.c:1054: `retval' previously defined here
AdiUsbAdslDriver.c:1061: `EFAULT' undeclared here (not in a function)
AdiUsbAdslDriver.c:1061: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1062: parse error before "goto"
AdiUsbAdslDriver.c:1068: warning: type defaults to `int' in declaration of `retval'
AdiUsbAdslDriver.c:1068: redefinition of `retval'
AdiUsbAdslDriver.c:1061: `retval' previously defined here
AdiUsbAdslDriver.c:1068: `EFAULT' undeclared here (not in a function)
AdiUsbAdslDriver.c:1068: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1069: parse error before "goto"
AdiUsbAdslDriver.c:1074: parse error before '&' token
AdiUsbAdslDriver.c:1074: warning: type defaults to `int' in declaration of `MsgInitialize'
AdiUsbAdslDriver.c:1074: warning: function declaration isn't a prototype
AdiUsbAdslDriver.c:1074: conflicting types for `MsgInitialize'
ADIUTIL/Protos.h:69: previous declaration of `MsgInitialize'
AdiUsbAdslDriver.c:1074: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1075: parse error before '&' token
AdiUsbAdslDriver.c:1075: warning: type defaults to `int' in declaration of `MpoaInitialize'
AdiUsbAdslDriver.c:1075: warning: function declaration isn't a prototype
AdiUsbAdslDriver.c:1075: conflicting types for `MpoaInitialize'
ADIUTIL/Protos.h:94: previous declaration of `MpoaInitialize'
AdiUsbAdslDriver.c:1075: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1095: parse error before '(' token
AdiUsbAdslDriver.c:1095: warning: type defaults to `int' in declaration of `buf'AdiUsbAdslDriver.c:1095: parse error before "char"
AdiUsbAdslDriver.c:1105: parse error before numeric constant
AdiUsbAdslDriver.c:1120: parse error before '.' token
AdiUsbAdslDriver.c:1120: warning: type defaults to `int' in declaration of `ReadDspMem'
AdiUsbAdslDriver.c:1120: warning: function declaration isn't a prototype
AdiUsbAdslDriver.c:1120: conflicting types for `ReadDspMem'
ADIUTIL/Protos.h:61: previous declaration of `ReadDspMem'
AdiUsbAdslDriver.c:1120: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1121: parse error before '.' token
AdiUsbAdslDriver.c:1122: parse error before '(' token
AdiUsbAdslDriver.c:1122: warning: type defaults to `int' in declaration of `buf'AdiUsbAdslDriver.c:1122: parse error before "char"
AdiUsbAdslDriver.c:1131: parse error before '.' token
AdiUsbAdslDriver.c:1131: warning: type defaults to `int' in declaration of `WriteDspMem'
AdiUsbAdslDriver.c:1131: warning: function declaration isn't a prototype
AdiUsbAdslDriver.c:1131: conflicting types for `WriteDspMem'
ADIUTIL/Protos.h:62: previous declaration of `WriteDspMem'
AdiUsbAdslDriver.c:1131: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1132: parse error before '.' token
AdiUsbAdslDriver.c:1133: parse error before '(' token
AdiUsbAdslDriver.c:1133: warning: type defaults to `int' in declaration of `buf'AdiUsbAdslDriver.c:1133: parse error before "char"
AdiUsbAdslDriver.c:1147: parse error before '&' token
AdiUsbAdslDriver.c:1147: warning: type defaults to `int' in declaration of `BootTheModem'
AdiUsbAdslDriver.c:1147: warning: function declaration isn't a prototype
AdiUsbAdslDriver.c:1147: conflicting types for `BootTheModem'
ADIUTIL/Protos.h:36: previous declaration of `BootTheModem'
AdiUsbAdslDriver.c:1147: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1154: parse error before '(' token
AdiUsbAdslDriver.c:1154: warning: type defaults to `int' in declaration of `buf'AdiUsbAdslDriver.c:1154: parse error before "char"
AdiUsbAdslDriver.c:1163: parse error before numeric constant
AdiUsbAdslDriver.c:1187: parse error before '(' token
AdiUsbAdslDriver.c:1187: warning: type defaults to `int' in declaration of `buf'AdiUsbAdslDriver.c:1187: parse error before "char"
AdiUsbAdslDriver.c:1196: parse error before '&' token
AdiUsbAdslDriver.c:1196: warning: type defaults to `int' in declaration of `down_interruptible'
AdiUsbAdslDriver.c:1196: warning: function declaration isn't a prototype
AdiUsbAdslDriver.c:1196: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1219: parse error before '(' token
AdiUsbAdslDriver.c:1223: parse error before '&' token
AdiUsbAdslDriver.c:1223: warning: type defaults to `int' in declaration of `interruptible_sleep_on_timeout'
AdiUsbAdslDriver.c:1223: warning: function declaration isn't a prototype
AdiUsbAdslDriver.c:1223: parse error before numeric constant
AdiUsbAdslDriver.c:1233: parse error before '(' token
AdiUsbAdslDriver.c:1240: parse error before '(' token
AdiUsbAdslDriver.c:1240: warning: type defaults to `int' in declaration of `buf'AdiUsbAdslDriver.c:1240: parse error before "char"
AdiUsbAdslDriver.c:1246: parse error before '&' token
AdiUsbAdslDriver.c:1246: warning: type defaults to `int' in declaration of `up'
AdiUsbAdslDriver.c:1246: warning: function declaration isn't a prototype
AdiUsbAdslDriver.c:1246: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1251: parse error before numeric constant
AdiUsbAdslDriver.c:1251: warning: type defaults to `int' in declaration of `wait_ms'
AdiUsbAdslDriver.c:1251: warning: function declaration isn't a prototype
AdiUsbAdslDriver.c:1251: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1265: warning: type defaults to `int' in declaration of `retval'
AdiUsbAdslDriver.c:1265: redefinition of `retval'
AdiUsbAdslDriver.c:1068: `retval' previously defined here
AdiUsbAdslDriver.c:1265: warning: data definition has no type or storage class
AdiUsbAdslDriver.c:1267: parse error before ':' token
ADIUTIL/Hardware.h:97: storage size of `CtrlUrbQueueTimer' isn't known
ADIUTIL/Hardware.h:149: storage size of `sem' isn't known
ADIUTIL/Hardware.h:189: storage size of `BootTimer' isn't known
ADIUTIL/Hardware.h:202: storage size of `OAMTimer' isn't known
AdiUsbAdslDriver.c:71: storage size of `adi_driver' isn't known
{standard input}: Assembler messages:
{standard input}:190: Error: symbol `retval' is already defined
{standard input}:197: Error: symbol `retval' is already defined
{standard input}:204: Error: symbol `retval' is already defined
{standard input}:211: Error: symbol `retval' is already defined
{standard input}:218: Error: symbol `retval' is already defined
{standard input}:225: Error: symbol `retval' is already defined
make: *** [AdiUsbAdslDriver.o] Error 1
Sorry, I know that is a lot of waffle but can anyone help? I would love to get on the internet in redhat, thanks in anticipation
I had the same problem and posted in a numberof groups. Many kind people answered, some whom had been successful in getting the modem to run.
Unfortunately no matter how much I tried I never did.
The best advice I ever received was to pop long to Argos (if you are in the UK) and purchase a Binatone adsl 2000 ethernet modem/router, it costs about £45 and has runwithout a flaw since I first installed it. It also has a USB oonnection so you could run a seond computer with another OS on it if you wanted.
I'm sure there are other such devices that work as well but for me I would never go back to the Sagem now.
I hope someone can give you a way to get the Sagem to run. As I say, I never did and wasted hours trying. Now I'm just enjoying using the computert!
Ok, I'll give getting some new hardware a go. I t seems everyone is talking about this "ethernet" thing and "NIC" also. Only problem is I don't know what it is about. What do I ask for in the shop? Is it one peice of harware or two (modem/router)? you know the kind of questions. And if anyone can suggest anything to get my existing hardware working I would appreciate it, I have a bottle of wine ready to celebrate my first post here from a linux system
Its one piece of hardware that connects to the ethernet port of your computer. The port will be onboard the motherboard or as a seperate card. The cable to connect comes with the hardware (at least it did with the Binatone I bought) The modem/router is setup via software and is really easy to do. If I can do it anyone can! Just keep learning, its worth it.
If you do not have an ethernet port as part of the motherboard you will need to buy a network interface card (NIC) They are not expensive but get one with a LED indicator showing its in use when lit up or flickering when passing data. They cost about £12 - £15 ?
I know more expense again..... If your computer is relatively new,make sure there is no ethernet port, it looks just like a modem connection, but slightly a different size, a lot of modern boards have them... if you still ahve the documentation for the computer check that.... may only save you 12 quid but its money better in your pocket!
they should all work. avoid cheapo ones. if in doubt search the internet for the linux hardware database and see if there are ones to avoid. i've never had a problem
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.