Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Asus AAM6000UG  (gelezen 1550 keer)

Offline Nero

  • Lid
  • Steunpunt: Ja
Asus AAM6000UG
« Gepost op: 2007/02/11, 17:14:41 »
Ik probeer een Asus AAM6000UG ADSL modem aan te sluiten. Van http://sourceforge.net/projects/aam6000ug heb ik amedyn-2004-08-04-src.tgz gedownload. De install instructions geven aan:
tar xzvf amedyn-200x-xx-xx-src.tgz

cd /usr/amedyn

make
Het eerste lukt, de make instructie geeft enkel -su: make: command not found.

wat moet een Linux beginner daar nu mee?

Offline Kiwinote

  • Lid
    • Launchpad
  • Steunpunt: Nee
Asus AAM6000UG
« Reactie #1 Gepost op: 2007/02/11, 17:16:15 »
sudo apt-get install build-essentialDit installeert de benodigde compilers.

Offline Nero

  • Lid
  • Steunpunt: Ja
Asus AAM6000UG
« Reactie #2 Gepost op: 2007/02/11, 17:37:42 »
Thankx, dat is gelukt. De make instructie eindig echter met een error:
amload.c:916: warning: implicit declaration of function ‘load_firmware’
amload.c:919: warning: implicit declaration of function ‘usb_release_interface’
amload.c:921: warning: implicit declaration of function ‘usb_close’
make[1]: *** [amload] Error 1
make[1]: Leaving directory `/usr/amedyn/init'
make: *** [AME_INIT] Error 2
Het bestand usb.h ontbreekt blijkbaar nog. Eerst daarna op zoek...

Offline Nero

  • Lid
  • Steunpunt: Ja
Asus AAM6000UG
« Reactie #3 Gepost op: 2007/02/11, 19:10:49 »
Ik blijf fouten krijgen bij de make

gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -Wsign-compare -I../include -lusb  amload.c -o amload
In file included from ../include/usb.h:4,
                 from amload.c:65:
../include/linux/mod_devicetable.h:18: error: expected specifier-qualifier-list before ‘__u32’
../include/linux/mod_devicetable.h:31: error: expected specifier-qualifier-list before ‘__u32’
../include/linux/mod_devicetable.h:100: error: expected specifier-qualifier-list before ‘__u16’
../include/linux/mod_devicetable.h:136: error: expected specifier-qualifier-list before ‘__u16’
../include/linux/mod_devicetable.h:153: error: expected specifier-qualifier-list before ‘__u16’
../include/linux/mod_devicetable.h:167: error: expected specifier-qualifier-list before ‘__u8’
../include/linux/mod_devicetable.h:172: error: expected specifier-qualifier-list before ‘__u8’
../include/linux/mod_devicetable.h:183: error: expected specifier-qualifier-list before ‘__u8’
../include/linux/mod_devicetable.h:200: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
../include/linux/mod_devicetable.h:213: error: expected specifier-qualifier-list before ‘__u16’
../include/linux/mod_devicetable.h:260: error: expected specifier-qualifier-list before ‘__u16’
../include/linux/mod_devicetable.h:291: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
../include/linux/mod_devicetable.h:318: error: expected specifier-qualifier-list before ‘kernel_ulong_t’
In file included from amload.c:66:
../include/usbi.h:49: error: expected ‘)’ before ‘*’ token
../include/usbi.h:54: error: expected ‘)’ before ‘*’ token
../include/usbi.h:55: error: expected ‘)’ before ‘*’ token
amload.c:223: error: expected ‘)’ before ‘*’ token
amload.c:262: error: expected ‘)’ before ‘*’ token
amload.c:301: error: expected ‘)’ before ‘*’ token
amload.c:361: error: expected ‘)’ before ‘*’ token
amload.c:373: error: expected ‘)’ before ‘*’ token
amload.c:389: error: expected ‘)’ before ‘*’ token
amload.c:411: error: expected ‘)’ before ‘*’ token
amload.c:451: error: expected ‘)’ before ‘*’ token
amload.c: In function ‘init_modem’:
amload.c:739: error: dereferencing pointer to incomplete type
amload.c:740: error: dereferencing pointer to incomplete type
amload.c: In function ‘main’:
amload.c:783: error: ‘usb_dev_handle’ undeclared (first use in this function)
amload.c:783: error: (Each undeclared identifier is reported only once
amload.c:783: error: for each function it appears in.)
amload.c:783: error: ‘adsl_handle’ undeclared (first use in this function)
amload.c:834: warning: implicit declaration of function ‘usb_init’
amload.c:835: warning: implicit declaration of function ‘usb_find_busses’
amload.c:840: warning: implicit declaration of function ‘usb_find_devices’
amload.c:847: error: ‘usb_busses’ undeclared (first use in this function)
amload.c:851: error: dereferencing pointer to incomplete type
amload.c:854: error: dereferencing pointer to incomplete type
amload.c:854: error: dereferencing pointer to incomplete type
amload.c:861: error: dereferencing pointer to incomplete type
amload.c:864: error: dereferencing pointer to incomplete type
amload.c:871: error: dereferencing pointer to incomplete type
amload.c:871: error: dereferencing pointer to incomplete type
amload.c:885: warning: implicit declaration of function ‘usb_open’
amload.c:892: warning: implicit declaration of function ‘usb_set_configuration’
amload.c:894: warning: implicit declaration of function ‘usb_strerror’
amload.c:894: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
amload.c:898: warning: implicit declaration of function ‘usb_claim_interface’
amload.c:900: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
amload.c:905: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
amload.c:910: warning: format ‘%s’ expects type ‘char *’, but argument 2 has type ‘int’
amload.c:916: warning: implicit declaration of function ‘load_firmware’
amload.c:919: warning: implicit declaration of function ‘usb_release_interface’
amload.c:921: warning: implicit declaration of function ‘usb_close’
make[1]: *** [amload] Error 1
make[1]: Leaving directory `/usr/amedyn/init'
make: *** [AME_INIT] Error 2
waar kan ik nu nog zoeken?

Offline Kiwinote

  • Lid
    • Launchpad
  • Steunpunt: Nee
Asus AAM6000UG
« Reactie #4 Gepost op: 2007/02/11, 20:02:14 »
Je kan het beste niet verder gaan met die driver, maar een andere proberen. Misschien eens http://wiki.ubuntu-fr.org/materiel/modem_asus_aam6000ug proberen te volgen. (Er is ook documentatie in andere talen, maar naar mijn mening niet echt duidelijk of overzichtelijk)

Offline Nero

  • Lid
  • Steunpunt: Ja
Asus AAM6000UG
« Reactie #5 Gepost op: 2007/02/11, 20:17:28 »
Tnkx, ga ik even uitproberen. Wordt vervolgd...