LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-24-2004, 04:47 PM   #1
javaa neko
LQ Newbie
 
Registered: Dec 2004
Distribution: debian
Posts: 11

Rep: Reputation: 0
amendyl


have mandrake 10.1 and cant install the amendyl package for my zyxel modem prestige 630-13......when compiling, i get two error messages: amload and aminit doesn't work......I read that woth mandrake, you must make some changes....but I'm a newbie and don't understand that much...please help
 
Old 12-24-2004, 06:08 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Could you please paste the exact error messages you get?
 
Old 12-25-2004, 04:54 AM   #3
javaa neko
LQ Newbie
 
Registered: Dec 2004
Distribution: debian
Posts: 11

Original Poster
Rep: Reputation: 0
here's is the exact message:

claudi@localhost claudi]$ su
[root@localhost claudi]# tar xvzf /home/claudi/Desktop/amedyn-2004-08-04-src.tgz
amedyn/
amedyn/COPIANDO
amedyn/COPYING
amedyn/firmware/
amedyn/firmware/Makefile
amedyn/firmware/fw-usb.bin
amedyn/firmware/Fw-usb_A.bin
amedyn/init/
amedyn/init/Makefile
amedyn/init/amioctl.c
amedyn/init/amload.c
amedyn/init/simulate.sh
amedyn/include/
amedyn/include/usbi.h
amedyn/include/amedyn.h
amedyn/include/amedyn.h~
amedyn/Makefile
amedyn/INSTALL
amedyn/bridged/
amedyn/bridged/Makefile
amedyn/bridged/br2684ctl.c
amedyn/module/
amedyn/module/info/
amedyn/module/info/kernel26.txt
amedyn/module/info/build.txt
amedyn/module/info/kernel26-redhat9.txt
amedyn/module/info/load.txt
amedyn/module/info/build2.txt
amedyn/module/.tmp_versions/
amedyn/module/.tmp_versions/amedyn.mod
amedyn/module/.tmp_versions/amedyndbg.mod
amedyn/module/xdslusb_2.4.c
amedyn/module/xdslusb_2.6.c
amedyn/module/Makefile
amedyn/module/configure
amedyn/module/speedcrc.c
amedyn/module/speedcrc.h
amedyn/scripts/
amedyn/scripts/Makefile
amedyn/scripts/service/
amedyn/scripts/service/amedyn
amedyn/scripts/config/
amedyn/scripts/config/amedyn
amedyn/scripts/amnet3up.sh
amedyn/scripts/amnetdown.sh
amedyn/scripts/amnet2up.sh
amedyn/scripts/amstop.sh
amedyn/scripts/amnetup.sh
amedyn/scripts/amunload.sh
amedyn/scripts/amstart.sh
amedyn/scripts/amnet3down.sh
amedyn/scripts/amnet4up.sh
amedyn/scripts/amnet4down.sh
amedyn/scripts/amload.sh
amedyn/scripts/amnet2down.sh
amedyn/scripts/amunload.sh~
amedyn/amedyn.spec
amedyn/debian/
amedyn/debian/create-pkg.sh
amedyn/amcontrol/
amedyn/amcontrol/amcontrol.c
amedyn/amcontrol/Makefile
amedyn/amcontrol/WARNING
amedyn/amcontrol/WARNING~
amedyn/doc/
amedyn/doc/img/
amedyn/doc/img/asus.jpg
amedyn/doc/img/hurricane_8000.jpg
amedyn/doc/img/modem_digicom_michelangelo.png
amedyn/doc/img/modem_topcom_webracer851.png
amedyn/doc/img/modem_zyxel_prestige.png
amedyn/doc/index.html
amedyn/doc/en_install.html
[root@localhost claudi]# cd amedyn
[root@localhost amedyn]# make
cd init && make clean
make[1]: Entering directory `/home/claudi/amedyn/init'
rm -f amload amioctl amloaddbg amloaddbgt
make[1]: Leaving directory `/home/claudi/amedyn/init'
cd module && make clean
make[1]: Entering directory `/home/claudi/amedyn/module'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/home/claudi/amedyn/module'
cd bridged && make clean
make[1]: Entering directory `/home/claudi/amedyn/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/home/claudi/amedyn/bridged'
cd amcontrol && make clean
make[1]: Entering directory `/home/claudi/amedyn/amcontrol'
rm -f amcontrol amcontroldbg amcontroldbgt
make[1]: Leaving directory `/home/claudi/amedyn/amcontrol'
cd init && make && make install
make[1]: Entering directory `/home/claudi/amedyn/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -Wsign-compare -I../include -lusb amload.c -o amload
/root/tmp/ccV9NZgT.o(.text+0x17c): In function `transfer_ctrl_msg':
: undefined reference to `usb_control_msg'
/root/tmp/ccV9NZgT.o(.text+0x187): In function `transfer_ctrl_msg':
: undefined reference to `usb_strerror'
/root/tmp/ccV9NZgT.o(.text+0x1ee): In function `transfer_ctrl_msg':
: undefined reference to `usb_clear_halt'
/root/tmp/ccV9NZgT.o(.text+0x203): In function `transfer_ctrl_msg':
: undefined reference to `usb_clear_halt'
/root/tmp/ccV9NZgT.o(.text+0x284): In function `read_bulk':
: undefined reference to `usb_bulk_read'
/root/tmp/ccV9NZgT.o(.text+0x28f): In function `read_bulk':
: undefined reference to `usb_strerror'
/root/tmp/ccV9NZgT.o(.text+0x2f4): In function `read_bulk':
: undefined reference to `usb_clear_halt'
/root/tmp/ccV9NZgT.o(.text+0x394): In function `send_bulk':
: undefined reference to `usb_bulk_write'
/root/tmp/ccV9NZgT.o(.text+0x39f): In function `send_bulk':
: undefined reference to `usb_strerror'
/root/tmp/ccV9NZgT.o(.text+0x425): In function `send_bulk':
: undefined reference to `usb_clear_halt'
/root/tmp/ccV9NZgT.o(.text+0x4fc): In function `clear_endpoints':
: undefined reference to `usb_resetep'
/root/tmp/ccV9NZgT.o(.text+0x523): In function `clear_endpoints':
: undefined reference to `usb_resetep'
/root/tmp/ccV9NZgT.o(.text+0xc0a): In function `load_firmware':
: undefined reference to `usb_resetep'
/root/tmp/ccV9NZgT.o(.text+0xe44): In function `load_firmware':
: undefined reference to `usb_bulk_read'
/root/tmp/ccV9NZgT.o(.text+0x115a): In function `main':
: undefined reference to `usb_init'
/root/tmp/ccV9NZgT.o(.text+0x115f): In function `main':
: undefined reference to `usb_find_busses'
/root/tmp/ccV9NZgT.o(.text+0x116c): In function `main':
: undefined reference to `usb_find_devices'
/root/tmp/ccV9NZgT.o(.text+0x117a): In function `main':
: undefined reference to `usb_busses'
/root/tmp/ccV9NZgT.o(.text+0x1251): In function `main':
: undefined reference to `usb_open'
/root/tmp/ccV9NZgT.o(.text+0x126c): In function `main':
: undefined reference to `usb_set_configuration'
/root/tmp/ccV9NZgT.o(.text+0x1282): In function `main':
: undefined reference to `usb_claim_interface'
/root/tmp/ccV9NZgT.o(.text+0x129b): In function `main':
: undefined reference to `usb_claim_interface'
/root/tmp/ccV9NZgT.o(.text+0x12b4): In function `main':
: undefined reference to `usb_claim_interface'
/root/tmp/ccV9NZgT.o(.text+0x12f6): In function `main':
: undefined reference to `usb_release_interface'
/root/tmp/ccV9NZgT.o(.text+0x12fe): In function `main':
: undefined reference to `usb_close'
/root/tmp/ccV9NZgT.o(.text+0x135f): In function `main':
: undefined reference to `usb_strerror'
/root/tmp/ccV9NZgT.o(.text+0x1376): In function `main':
: undefined reference to `usb_strerror'
/root/tmp/ccV9NZgT.o(.text+0x138d): In function `main':
: undefined reference to `usb_strerror'
/root/tmp/ccV9NZgT.o(.text+0x13a4): In function `main':
: undefined reference to `usb_strerror'
/root/tmp/ccV9NZgT.o(.text+0x512): In function `clear_endpoints':
: undefined reference to `usb_resetep'
/root/tmp/ccV9NZgT.o(.text+0x539): In function `clear_endpoints':
: undefined reference to `usb_resetep'
collect2: ld returned 1 exit status
make[1]: *** [amload] Fehler 1
make[1]: Leaving directory `/home/claudi/amedyn/init'
make: *** [AME_INIT] Fehler 2


Hope, it says anything to you....
 
Old 12-26-2004, 06:47 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Install libusb and its development package. It looks it's missing. In Mandrake open a terminal, type su, then root password, then use
urpmi libusb
and
urpmi libusb-devel
 
Old 12-27-2004, 04:14 PM   #5
javaa neko
LQ Newbie
 
Registered: Dec 2004
Distribution: debian
Posts: 11

Original Poster
Rep: Reputation: 0
ok, thanks....I did this and I could compile the thing....the problem is....now when I start amstart.sh, it comes till 'waiting ADSL line is up'....and then it waits forever.....anyone with the same problem or a solution?

when I run amnet4up.sh.....
error in ioctl call stats=-1

Last edited by javaa neko; 12-27-2004 at 04:57 PM.
 
  


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
amendyl javaa neko Linux - Networking 2 12-25-2004 04:55 AM


All times are GMT -5. The time now is 08:40 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration