Hi, I know that this is a deutsch mailing list but it was the only I found about SuSE+laptops....sorry about.. I just have one question: I am trying to configure my notebook ( Toshiba Tecra 8200 / PIII750 SSt ) and my problem is with modem.....I found ( here http://newsletter.toshiba-tro.de/main/index.html ) that this notebook can use slmdm-2.7.9 driver and I just need to compile it but...that´s the problem: when I follow the steps to compile it I saw these: jds-system:/tools/modem_drivers # rpm -ta slmdm-2.7.9.tar.gz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.75478 + umask 022 + cd /usr/src/packages/BUILD + cd /usr/src/packages/BUILD + rm -rf slmdm-2.7.9 + /bin/gzip -dc /tools/modem_drivers/slmdm-2.7.9.tar.gz + tar -xvvf - drwxrwxr-x builder/builder 0 2003-01-26 12:53:48 slmdm-2.7.9/ -rw-rw-r-- builder/builder 1281008 2003-01-26 12:53:48 slmdm-2.7.9/mdm.o -rw-rw-r-- builder/builder 159216 2003-01-26 12:53:48 slmdm-2.7.9/fax.o -rw-rw-r-- builder/builder 263968 2003-01-26 12:53:48 slmdm-2.7.9/amrmo.o -rw-rw-r-- builder/builder 6252 2003-01-26 12:53:48 slmdm-2.7.9/usb.o -rw-r--r-- builder/builder 30352 2003-01-26 12:53:48 slmdm-2.7.9/country.dat -rwxrwxr-x builder/builder 40334 2003-01-26 12:53:48 slmdm-2.7.9/slver -rw-rw-r-- builder/builder 4425 2003-01-26 12:53:48 slmdm-2.7.9/modem_driver.h -rw-rw-r-- builder/builder 2437 2003-01-26 12:53:48 slmdm-2.7.9/slmdm.spec -rw-rw-r-- builder/builder 3496 2003-01-26 12:53:48 slmdm-2.7.9/mdm_init.c -rw-rw-r-- builder/builder 21699 2003-01-26 12:53:48 slmdm-2.7.9/mdm_sltty.c -rw-rw-r-- builder/builder 7405 2003-01-26 12:53:48 slmdm-2.7.9/mdm_params.c -rw-rw-r-- builder/builder 2417 2003-01-26 12:53:48 slmdm-2.7.9/fax_init.c -rw-rw-r-- builder/builder 11791 2003-01-26 12:53:48 slmdm-2.7.9/amrmo_init.c -rw-rw-r-- builder/builder 38453 2003-01-26 12:53:48 slmdm-2.7.9/usb_st7554.c -rw-rw-r-- builder/builder 3804 2003-01-26 12:53:48 slmdm-2.7.9/linux_compat.h -rw-rw-r-- builder/builder 4472 2003-01-26 12:53:48 slmdm-2.7.9/sysdep.c -rw-rw-r-- builder/builder 4125 2003-01-26 12:53:48 slmdm-2.7.9/sysdep_linux.c -rw-rw-r-- builder/builder 4094 2003-01-26 12:53:48 slmdm-2.7.9/sysdep_pci.c -rw-rw-r-- builder/builder 2073 2003-01-26 12:53:48 slmdm-2.7.9/kernel-ver.c -rw-rw-r-- builder/builder 2604 2003-01-26 12:53:48 slmdm-2.7.9/editme.c -rw-rw-r-- builder/builder 4937 2003-01-26 12:53:48 slmdm-2.7.9/README -rw-rw-r-- builder/builder 1681 2003-01-26 12:53:48 slmdm-2.7.9/COPYRIGHT -rw-rw-r-- builder/builder 2155 2003-01-26 12:53:48 slmdm-2.7.9/FAQ -rw-rw-r-- builder/builder 2045 2003-01-26 12:53:48 slmdm-2.7.9/Changes -rw-rw-r-- builder/builder 4534 2003-01-26 12:53:48 slmdm-2.7.9/Makefile -rw-rw-r-- builder/builder 91 2003-01-26 12:53:48 slmdm-2.7.9/slmdm.modules-dist -rw-rw-r-- builder/builder 48 2003-01-26 12:53:48 slmdm-2.7.9/slamr.modules-dist -rw-rw-r-- builder/builder 46 2003-01-26 12:53:48 slmdm-2.7.9/slusb.modules-dist + STATUS=0 + '[' 0 -ne 0 ']' + cd slmdm-2.7.9 ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.98833 + umask 022 + cd /usr/src/packages/BUILD + cd slmdm-2.7.9 + EXT_CFLAGS=-O2 -march=i486 -mcpu=i686 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.98833 + umask 022 + cd /usr/src/packages/BUILD + cd slmdm-2.7.9 + make prefix_dir=/var/tmp/build-slmdm-2.7.9-root install spec-file-lists gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h -o kernel-ver.o -c kernel-ver.c gcc kernel-ver.o -o kernel-ver gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h -o amrmo_init.o -c amrmo_init.c gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h -o sysdep_pci.o -c sysdep_pci.c ld -r -o slamrmo.o amrmo.o amrmo_init.o sysdep_pci.o gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h -o usb_st7554.o -c usb_st7554.c usb_st7554.c: In function `mo_complete': usb_st7554.c:537: `iso_packet_descriptor_t' undeclared (first use in this function) usb_st7554.c:537: (Each undeclared identifier is reported only once usb_st7554.c:537: for each function it appears in.) usb_st7554.c:537: `p' undeclared (first use in this function) usb_st7554.c: In function `mi_complete': usb_st7554.c:622: `iso_packet_descriptor_t' undeclared (first use in this function) usb_st7554.c:622: `p' undeclared (first use in this function) usb_st7554.c: In function `mi_setup_complete': usb_st7554.c:663: `iso_packet_descriptor_t' undeclared (first use in this function) usb_st7554.c:663: `p' undeclared (first use in this function) make: *** [usb_st7554.o] Error 1 Bad exit status from /var/tmp/rpm-tmp.98833 (%install) and I cannot install it.......I am not a expert even with programs or compilers so I don´t know what´s the problem... Could you please help me?! thanks in advance! Valter Ide
Hi Valter, I am not really sure about the problem but it looks like that there is some header file missing with the necessary declarations. To figure that out it will be a mess hence this is something within the files and not a missing packet or devel packet. I found some link which might refer also to your problem at http://www.chip.de/forum/thread.html?bwthreadid=520908 (unfortunatly in german) They say basically, the developers of the linux-kernel changed the usb-code. So it isn't compatible to the older versions now. You might try replacing all appearing "urb_t " in file usb_st7554.c by "struct urb". The other solution, they suggested, is that you should use Suse's own smartlink driver which should be found in Yast. Hope this helped. Cheers Stephanus Valter Ide wrote:
Hi,
I know that this is a deutsch mailing list but it was the only I found about SuSE+laptops....sorry about..
I just have one question: I am trying to configure my notebook ( Toshiba Tecra 8200 / PIII750 SSt ) and my problem is with modem.....I found ( here http://newsletter.toshiba-tro.de/main/index.html ) that this notebook can use slmdm-2.7.9 driver and I just need to compile it but...that´s the problem: when I follow the steps to compile it I saw these:
jds-system:/tools/modem_drivers # rpm -ta slmdm-2.7.9.tar.gz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.75478 + umask 022 + cd /usr/src/packages/BUILD + cd /usr/src/packages/BUILD + rm -rf slmdm-2.7.9 + /bin/gzip -dc /tools/modem_drivers/slmdm-2.7.9.tar.gz + tar -xvvf - drwxrwxr-x builder/builder 0 2003-01-26 12:53:48 slmdm-2.7.9/ -rw-rw-r-- builder/builder 1281008 2003-01-26 12:53:48 slmdm-2.7.9/mdm.o -rw-rw-r-- builder/builder 159216 2003-01-26 12:53:48 slmdm-2.7.9/fax.o -rw-rw-r-- builder/builder 263968 2003-01-26 12:53:48 slmdm-2.7.9/amrmo.o -rw-rw-r-- builder/builder 6252 2003-01-26 12:53:48 slmdm-2.7.9/usb.o -rw-r--r-- builder/builder 30352 2003-01-26 12:53:48 slmdm-2.7.9/country.dat -rwxrwxr-x builder/builder 40334 2003-01-26 12:53:48 slmdm-2.7.9/slver -rw-rw-r-- builder/builder 4425 2003-01-26 12:53:48 slmdm-2.7.9/modem_driver.h -rw-rw-r-- builder/builder 2437 2003-01-26 12:53:48 slmdm-2.7.9/slmdm.spec -rw-rw-r-- builder/builder 3496 2003-01-26 12:53:48 slmdm-2.7.9/mdm_init.c -rw-rw-r-- builder/builder 21699 2003-01-26 12:53:48 slmdm-2.7.9/mdm_sltty.c -rw-rw-r-- builder/builder 7405 2003-01-26 12:53:48 slmdm-2.7.9/mdm_params.c -rw-rw-r-- builder/builder 2417 2003-01-26 12:53:48 slmdm-2.7.9/fax_init.c -rw-rw-r-- builder/builder 11791 2003-01-26 12:53:48 slmdm-2.7.9/amrmo_init.c -rw-rw-r-- builder/builder 38453 2003-01-26 12:53:48 slmdm-2.7.9/usb_st7554.c -rw-rw-r-- builder/builder 3804 2003-01-26 12:53:48 slmdm-2.7.9/linux_compat.h -rw-rw-r-- builder/builder 4472 2003-01-26 12:53:48 slmdm-2.7.9/sysdep.c -rw-rw-r-- builder/builder 4125 2003-01-26 12:53:48 slmdm-2.7.9/sysdep_linux.c -rw-rw-r-- builder/builder 4094 2003-01-26 12:53:48 slmdm-2.7.9/sysdep_pci.c -rw-rw-r-- builder/builder 2073 2003-01-26 12:53:48 slmdm-2.7.9/kernel-ver.c -rw-rw-r-- builder/builder 2604 2003-01-26 12:53:48 slmdm-2.7.9/editme.c -rw-rw-r-- builder/builder 4937 2003-01-26 12:53:48 slmdm-2.7.9/README -rw-rw-r-- builder/builder 1681 2003-01-26 12:53:48 slmdm-2.7.9/COPYRIGHT -rw-rw-r-- builder/builder 2155 2003-01-26 12:53:48 slmdm-2.7.9/FAQ -rw-rw-r-- builder/builder 2045 2003-01-26 12:53:48 slmdm-2.7.9/Changes -rw-rw-r-- builder/builder 4534 2003-01-26 12:53:48 slmdm-2.7.9/Makefile -rw-rw-r-- builder/builder 91 2003-01-26 12:53:48 slmdm-2.7.9/slmdm.modules-dist -rw-rw-r-- builder/builder 48 2003-01-26 12:53:48 slmdm-2.7.9/slamr.modules-dist -rw-rw-r-- builder/builder 46 2003-01-26 12:53:48 slmdm-2.7.9/slusb.modules-dist + STATUS=0 + '[' 0 -ne 0 ']' + cd slmdm-2.7.9 ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chown -Rhf root . ++ /usr/bin/id -u + '[' 0 = 0 ']' + /bin/chgrp -Rhf root . + /bin/chmod -Rf a+rX,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.98833 + umask 022 + cd /usr/src/packages/BUILD + cd slmdm-2.7.9 + EXT_CFLAGS=-O2 -march=i486 -mcpu=i686 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.98833 + umask 022 + cd /usr/src/packages/BUILD + cd slmdm-2.7.9 + make prefix_dir=/var/tmp/build-slmdm-2.7.9-root install spec-file-lists gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h -o kernel-ver.o -c kernel-ver.c gcc kernel-ver.o -o kernel-ver gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h -o amrmo_init.o -c amrmo_init.c gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h -o sysdep_pci.o -c sysdep_pci.c ld -r -o slamrmo.o amrmo.o amrmo_init.o sysdep_pci.o gcc -Wall -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -I. -I/usr/src/linux/include -DMODVERSIONS --include /usr/src/linux/include/linux/modversions.h -o usb_st7554.o -c usb_st7554.c usb_st7554.c: In function `mo_complete': usb_st7554.c:537: `iso_packet_descriptor_t' undeclared (first use in this function) usb_st7554.c:537: (Each undeclared identifier is reported only once usb_st7554.c:537: for each function it appears in.) usb_st7554.c:537: `p' undeclared (first use in this function) usb_st7554.c: In function `mi_complete': usb_st7554.c:622: `iso_packet_descriptor_t' undeclared (first use in this function) usb_st7554.c:622: `p' undeclared (first use in this function) usb_st7554.c: In function `mi_setup_complete': usb_st7554.c:663: `iso_packet_descriptor_t' undeclared (first use in this function) usb_st7554.c:663: `p' undeclared (first use in this function) make: *** [usb_st7554.o] Error 1 Bad exit status from /var/tmp/rpm-tmp.98833 (%install)
and I cannot install it.......I am not a expert even with programs or compilers so I don´t know what´s the problem...
Could you please help me?!
thanks in advance!
Valter Ide
Am Mittwoch, 18. Februar 2004 00:35 schrieb Stephanus Fengler:
Hi Valter, I am not really sure about the problem but it looks like that there is some header file missing with the necessary declarations. To figure that out it will be a mess hence this is something within the files and not a missing packet or devel packet.
I found some link which might refer also to your problem at http://www.chip.de/forum/thread.html?bwthreadid=520908 (unfortunatly in german) They say basically, the developers of the linux-kernel changed the usb-code. So it isn't compatible to the older versions now. You might try replacing all appearing "urb_t " in file usb_st7554.c by "struct urb".
The other solution, they suggested, is that you should use Suse's own smartlink driver which should be found in Yast. Hope this helped.
If you have SuSE 8.2 or 9.0 the modules are already included in the kernel image. But autodetection seems not to work with smartlink modems. First install the smartlink-softmodem package which is on DVD for the professional or on the suse-ftpserver under i386/supplementary/personal. Then run smartlink-softmodem-config. After you can configure the modem with YAST->not detected. The modem devicefile should be /dev/ttySL0 or so. I you really have to compile yourself you must prepare the suse kernel sources, theres somewhere a HOWTO on the net for this. Greetings, Gerd
participants (3)
-
Gerd Fleischer
-
Stephanus Fengler
-
Valter Ide