You are not logged in.
Pages: 1
I have old modem which has a USB driver. I want to install that driver.
I followed instructions in the documentation.
at the instruction when document says now execute
make allit says
gcc -Wall -Wno-missing-braces -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -mcpu=i486 -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/src/linux-2.4.20-8/include -I./inc -D__KERNEL__ -DMODULE -Dlinux -DDBG=0 -c -o src/CDCEther.o src/CDCEther.c
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
src/CDCEther.c:1:0: error: CPU you selected does not support x86-64 instruction set
make: *** [src/CDCEther.o] Error 1
how do I get rid of
CPU you selected does not support x86-64 instruction set
help needed please.
Thanks
David
Last edited by davidg (2012-08-11 22:33:58)
Offline
I guess you're using x86_64 and the build process wants to use the -mcpu=i486 flag, which fails. You may want to remove that from the Makefile.
/edit: you may want to post a link to the source
Last edited by bangkok_manouel (2012-08-11 16:51:01)
Offline
davidg,
Welcome to Arch. You did not mention the make or model of your device.
Best practice on Arch dictates that one should use the Arch Build System (ABS, makepkg whenever possible. Have you looked in AUR (Arch User Repository) to see if someone has already packaged the driver for you? It might make your life much easier.
You can also place a request for someone to package it in these forums under PKGBUILD requests.
Installing files by hand into the file system is likely to complicate you Arch system maintenance.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Is it PPPoE based? I'm asking because you may not need to use its "specific" driver and the solution could be much simpler, like running pppoe-setup (part of the rp-pppoe package, which is included on the install media): https://bbs.archlinux.org/viewtopic.php … 9#p1132019
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
First thank you for help.
To give more information it is huawei mt882 router. The source I have is on CD which came with router. Huawei does not support this device anymore. So I have old cd.
I did not try rp-pppoe package. I will try to install this package and will post result.
Last edited by davidg (2012-08-11 18:26:42)
Offline
I said that the rp-pppoe package is included on the install media. It's installed already, you don't have to install it.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
David,
I'm sorry not to be able to post anything beyond this, but would you please edit your initial post to include a better title. "Compiling USB Driver fails" may be a good start.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
It seems the MT882 has an ethernet interface - why aren't you using that, instead of torturing yourself with usb?
Offline
Ok changed title.
Yes it has ethernet interface. But ethernet connection will be used for other computer. So I have get this USB driver compiled.
Offline
I see... in that case, get a cheap switch. ![]()
Re the driver, I see it's called CDCEther. The current kernel has a driver called cdc-ether for USB CDC Ethernet devices, did you try that?
Offline
Getting a network switch certainly will be good solution but I still want to know how can I use usb connection. I think I do not have to compile driver because I installed network manager applet(which I have uninstalled now) and when I connected router using usb cable it detected it correctly. But I do not know how to configure it using usb connection. Is it same as usb modem for 3g https://wiki.archlinux.org/index.php/US … rk_Manager?
Last edited by davidg (2012-08-27 19:49:34)
Offline
I've never used usb networking (lucky me
), so I'd guess that the driver creates some kind of network interface when it's loaded - dmesg and/or ip link should have some details.
Offline
Pages: 1