Re: amrmo_init.c:612: error: 'SA_SHIRQ' undeclared part 2 with slax

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gustavo,
   Much thanks with> replace SA_SHIRQ to IRQF_SHARED  on kernel 2.6.24the compile works on Ubuntu 2.6.22-14-generic .
Could you please instruct me on how to make the change conditional inamrmo_init.cfor kernelversion greater  than or equal to  2.6.24I'm not erudite in C code.
MarvS
On Tue, Feb 26, 2008 at 9:19 AM, Gustavo Fernando Padovan<gfpadovan@xxxxxxxxx> wrote:>>>> On Tue, Feb 26, 2008 at 10:57 AM, Antonio Olivares <olivares14031@xxxxxxxxx>> wrote:> > amrmo_init.c:612: error: 'SA_SHIRQ' undeclared>> You need to replace SA_SHIRQ to IRQF_SHARED  on kernel 2.6.24>>> >> > root@slax:~# tar -zxvf slmodem-2.9.11-20080126.tar.gz> > slmodem-2.9.11-20080126/> > slmodem-2.9.11-20080126/Makefile> > slmodem-2.9.11-20080126/updates.txt> > slmodem-2.9.11-20080126/patches/> > slmodem-2.9.11-20080126/patches/slmodem-usb-2.6.16.patch> > slmodem-2.9.11-20080126/patches/alsa-linux-2.6.0.patch> > slmodem-2.9.11-20080126/slamr_compile.txt> > slmodem-2.9.11-20080126/Smartlink.txt> > slmodem-2.9.11-20080126/README> > slmodem-2.9.11-20080126/scripts/> > slmodem-2.9.11-20080126/scripts/slmodem.spec> > slmodem-2.9.11-20080126/scripts/debian/> > slmodem-2.9.11-20080126/scripts/debian/slmodemd> > slmodem-2.9.11-20080126/scripts/slackware/> > slmodem-2.9.11-20080126/scripts/slackware/README> > slmodem-2.9.11-20080126/scripts/slackware/rc.slmodemd> > slmodem-2.9.11-20080126/scripts/suse/> > slmodem-2.9.11-20080126/scripts/suse/slmodemd.conf> > slmodem-2.9.11-20080126/scripts/suse/slmodemd.SUSE> > slmodem-2.9.11-20080126/scripts/mandrake/> > slmodem-2.9.11-20080126/scripts/mandrake/slmodemd> > slmodem-2.9.11-20080126/scripts/slmodemd> > slmodem-2.9.11-20080126/scripts/slmodemd.ubuntu.italy> > slmodem-2.9.11-20080126/COPYING> > slmodem-2.9.11-20080126/drivers/> > slmodem-2.9.11-20080126/drivers/Makefile> > slmodem-2.9.11-20080126/drivers/amrmo_init.c> > slmodem-2.9.11-20080126/drivers/kernel-ver.c> > slmodem-2.9.11-20080126/drivers/old_st7554.c> > slmodem-2.9.11-20080126/drivers/sysdep_amr.c> > slmodem-2.9.11-20080126/drivers/amrlibs.o> > slmodem-2.9.11-20080126/drivers/Modules.symvers> > slmodem-2.9.11-20080126/drivers/st7554.c> > slmodem-2.9.11-20080126/drivers/Module.symvers> > slmodem-2.9.11-20080126/modem/> > slmodem-2.9.11-20080126/modem/modem.c> > slmodem-2.9.11-20080126/modem/Makefile> > slmodem-2.9.11-20080126/modem/modem_debug.c> > slmodem-2.9.11-20080126/modem/modem_comp.c> > slmodem-2.9.11-20080126/modem/dp_sinus.c> > slmodem-2.9.11-20080126/modem/modem_datafile.c> > slmodem-2.9.11-20080126/modem/modem_ec.c> > slmodem-2.9.11-20080126/modem/modem_at.c> > slmodem-2.9.11-20080126/modem/modem_param.h> > slmodem-2.9.11-20080126/modem/modem_timer.c> > slmodem-2.9.11-20080126/modem/modem_test.c> > slmodem-2.9.11-20080126/modem/sysdep_common.c> > slmodem-2.9.11-20080126/modem/modem_pack.c> > slmodem-2.9.11-20080126/modem/modem_homolog.h> > slmodem-2.9.11-20080126/modem/modem_defs.h> > slmodem-2.9.11-20080126/modem/modem_debug.h> > slmodem-2.9.11-20080126/modem/modem_main.c> > slmodem-2.9.11-20080126/modem/homolog_data.c> > slmodem-2.9.11-20080126/modem/modem_timer.h> > slmodem-2.9.11-20080126/modem/dsplibs.o> > slmodem-2.9.11-20080126/modem/dp_dummy.c> > slmodem-2.9.11-20080126/modem/.#modem_main.c> > slmodem-2.9.11-20080126/modem/modem_param.c> > slmodem-2.9.11-20080126/modem/modem_cmdline.c> > slmodem-2.9.11-20080126/modem/modem.h> > slmodem-2.9.11-20080126/modem/modem_dp.h> > slmodem-2.9.11-20080126/Changes> > root@slax:~# tar -zxvf slusb64bit-2.9.11-20070813.tar.gz> > slusb64bit-2.9.11-20070813/> > slusb64bit-2.9.11-20070813/Changes> > slusb64bit-2.9.11-20070813/Smartlink.txt> > slusb64bit-2.9.11-20070813/modem/> > slusb64bit-2.9.11-20070813/modem/dp_sinus.c> > slusb64bit-2.9.11-20070813/modem/dsplibs.o> > slusb64bit-2.9.11-20070813/modem/modem_debug.h> > slusb64bit-2.9.11-20070813/modem/modem_test.c> > slusb64bit-2.9.11-20070813/modem/sysdep_common.c> > slusb64bit-2.9.11-20070813/modem/modem_param.c> > slusb64bit-2.9.11-20070813/modem/modem_debug.c> > slusb64bit-2.9.11-20070813/modem/modem_timer.h> > slusb64bit-2.9.11-20070813/modem/Makefile> > slusb64bit-2.9.11-20070813/modem/modem.c> > slusb64bit-2.9.11-20070813/modem/modem_defs.h> > slusb64bit-2.9.11-20070813/modem/dp_dummy.c> > slusb64bit-2.9.11-20070813/modem/modem_pack.c> > slusb64bit-2.9.11-20070813/modem/modem_param.h> > slusb64bit-2.9.11-20070813/modem/modem.h> > slusb64bit-2.9.11-20070813/modem/modem_cmdline.c> > slusb64bit-2.9.11-20070813/modem/modem_dp.h> > slusb64bit-2.9.11-20070813/modem/modem_at.c> > slusb64bit-2.9.11-20070813/modem/modem_comp.c> > slusb64bit-2.9.11-20070813/modem/modem_ec.c> > slusb64bit-2.9.11-20070813/modem/modem_main.c> > slusb64bit-2.9.11-20070813/modem/modem_datafile.c> > slusb64bit-2.9.11-20070813/modem/modem_homolog.h> > slusb64bit-2.9.11-20070813/modem/homolog_data.c> > slusb64bit-2.9.11-20070813/modem/modem_timer.c> > slusb64bit-2.9.11-20070813/slusb64bit.txt> > slusb64bit-2.9.11-20070813/scripts/> > slusb64bit-2.9.11-20070813/scripts/slackware/> > slusb64bit-2.9.11-20070813/scripts/slackware/rc.slmodemd> > slusb64bit-2.9.11-20070813/scripts/slackware/README> > slusb64bit-2.9.11-20070813/scripts/debian/> > slusb64bit-2.9.11-20070813/scripts/debian/slmodemd> > slusb64bit-2.9.11-20070813/scripts/suse/> > slusb64bit-2.9.11-20070813/scripts/suse/slmodemd.SUSE> > slusb64bit-2.9.11-20070813/scripts/suse/slmodemd.conf> > slusb64bit-2.9.11-20070813/scripts/slmodemd.ubuntu.italy> > slusb64bit-2.9.11-20070813/scripts/slmodem.spec> > slusb64bit-2.9.11-20070813/scripts/mandrake/> > slusb64bit-2.9.11-20070813/scripts/mandrake/slmodemd> > slusb64bit-2.9.11-20070813/scripts/slmodemd> > slusb64bit-2.9.11-20070813/Makefile> > slusb64bit-2.9.11-20070813/patches/> > slusb64bit-2.9.11-20070813/patches/alsa-linux-2.6.0.patch> > slusb64bit-2.9.11-20070813/patches/slmodem-usb-2.6.16.patch> > slusb64bit-2.9.11-20070813/slamr_compile.txt> > slusb64bit-2.9.11-20070813/COPYING> > slusb64bit-2.9.11-20070813/drivers/> > slusb64bit-2.9.11-20070813/drivers/sysdep_amr.c> > slusb64bit-2.9.11-20070813/drivers/old_st7554.c> > slusb64bit-2.9.11-20070813/drivers/Modules.symvers> > slusb64bit-2.9.11-20070813/drivers/Makefile> > slusb64bit-2.9.11-20070813/drivers/amrmo_init.c> > slusb64bit-2.9.11-20070813/drivers/st7554.c> > slusb64bit-2.9.11-20070813/drivers/Module.symvers> > slusb64bit-2.9.11-20070813/drivers/amrlibs.o> > slusb64bit-2.9.11-20070813/drivers/kernel-ver.c> > slusb64bit-2.9.11-20070813/wvtest> > slusb64bit-2.9.11-20070813/README> > root@slax:~# tar -zxvf ungrab-winmodem-20080126.tar.gz> > ungrab-winmodem-20080126/> > ungrab-winmodem-20080126/Makefile> > ungrab-winmodem-20080126/Module.symvers> > ungrab-winmodem-20080126/updates.txt> > ungrab-winmodem-20080126/Readme.txt> > ungrab-winmodem-20080126/ungrab-winmodem.c> > ungrab-winmodem-20080126/Modules.symvers> > root@slax:~# cd slm> > slmodem-2.9.11-20080126/        slmodem-2.9.11-20080126.tar.gz> > root@slax:~# cd slmodem-2.9.11-20080126> > root@slax:~/slmodem-2.9.11-20080126# make> KERNEL_DIR=/lib/modules/2.6.24/build> > make -C modem all> > make[1]: Entering directory `/root/slmodem-2.9.11-20080126/modem'> > rebuild profile...> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_cmdline.o -c> modem_cmdline.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o -c modem.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_datafile.o -c> > modem_datafile.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_at.o -c modem_at.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_timer.o -c> modem_timer.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_pack.o -c modem_pack.c> > modem_pack.c: In function 'modem_async_get_bits':> > modem_pack.c:100: warning: pointer targets in passing argument 2 of> > 'm->get_chars' differ in signedness> > modem_pack.c: In function 'modem_async_put_bits':> > modem_pack.c:148: warning: pointer targets in passing argument 2 of> > 'm->put_chars' differ in signedness> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_ec.o -c modem_ec.c> > modem_ec.c: In function 'tx_info':> > modem_ec.c:723: warning: pointer targets in passing argument 2 of> > 'l->modem->get_chars' differ in signedness> > modem_ec.c: In function 'push_rest_data':> > modem_ec.c:811: warning: pointer targets in passing argument 2 of> > 'l->modem->put_chars' differ in signedness> > modem_ec.c: In function 'rx_info':> > modem_ec.c:860: warning: pointer targets in passing argument 2 of> > 'l->modem->put_chars' differ in signedness> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_comp.o -c modem_comp.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_param.o -c> modem_param.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_debug.o -c> modem_debug.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o homolog_data.o -c> homolog_data.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_sinus.o -c dp_sinus.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_dummy.o -c dp_dummy.c> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o sysdep_common.o -c> sysdep_common.c> > gcc  -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o> > modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o> > modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o> > dsplibs.o sysdep_common.o> > gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_test.o -c modem_test.c> > gcc  -o modem_test modem_test.o modem_cmdline.o modem.o> > modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o> > modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o> > dp_dummy.o dsplibs.o sysdep_common.o> > make[1]: Leaving directory `/root/slmodem-2.9.11-20080126/modem'> > make -C drivers KERNEL_DIR=/lib/modules/2.6.24/build> > make[1]: Entering directory `/root/slmodem-2.9.11-20080126/drivers'> > cc -I/lib/modules/2.6.24/build/include -o kernel-ver kernel-ver.c> > make all KERNEL_VER=2.6.24> > make[2]: Entering directory `/root/slmodem-2.9.11-20080126/drivers'> > make modules -C /lib/modules/2.6.24/build> > SUBDIRS=/root/slmodem-2.9.11-20080126/drivers> > make[3]: Entering directory `/usr/src/linux-2.6.24'> >> >  WARNING: Symbol version dump /usr/src/linux-2.6.24/Module.symvers> >           is missing; modules will have no dependencies and modversions.> >> >  CC [M]  /root/slmodem-2.9.11-20080126/drivers/amrmo_init.o> > /root/slmodem-2.9.11-20080126/drivers/amrmo_init.c: In function> > 'amrmo_pci_probe':> > /root/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: error:> > 'SA_SHIRQ' undeclared (first use in this function)> > /root/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: error: (Each> > undeclared identifier is reported only once> > /root/slmodem-2.9.11-20080126/drivers/amrmo_init.c:612: error: for> > each function it appears in.)> > /root/slmodem-2.9.11-20080126/drivers/amrmo_init.c: In function> 'amrmo_init':> > /root/slmodem-2.9.11-20080126/drivers/amrmo_init.c:752: warning:> > 'pci_find_device' is deprecated (declared at include/linux/pci.h:492)> > make[4]: *** [/root/slmodem-2.9.11-20080126/drivers/amrmo_init.o] Error 1> > make[3]: *** [_module_/root/slmodem-2.9.11-20080126/drivers] Error 2> > make[3]: Leaving directory `/usr/src/linux-2.6.24'> > make[2]: *** [all] Error 2> > make[2]: Leaving directory `/root/slmodem-2.9.11-20080126/drivers'> > make[1]: *** [all] Error 2> > make[1]: Leaving directory `/root/slmodem-2.9.11-20080126/drivers'> > make: *** [drivers] Error 2> > root@slax:~/slmodem-2.9.11-20080126# cd ..> > root@slax:~# cd slu> > slusb64bit-2.9.11-20070813/        slusb64bit-2.9.11-20070813.tar.gz> > root@slax:~# cd slusb64bit-2.9.11-20070813> > root@slax:~/slusb64bit-2.9.11-20070813# make> > KERNEL_DIR=/lib/modules/2.6.24/build> > make -C modem all> > make[1]: Entering directory `/root/slusb64bit-2.9.11-20070813/modem'> > rebuild profile...> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c> modem_main.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_cmdline.o -c> > modem_cmdline.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem.o -c modem.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_datafile.o -c> > modem_datafile.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_at.o -c> modem_at.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_timer.o -c> > modem_timer.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_pack.o -c> modem_pack.c> > modem_pack.c: In function 'modem_async_get_bits':> > modem_pack.c:100: warning: pointer targets in passing argument 2 of> > 'm->get_chars' differ in signedness> > modem_pack.c: In function 'modem_async_put_bits':> > modem_pack.c:148: warning: pointer targets in passing argument 2 of> > 'm->put_chars' differ in signedness> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_ec.o -c> modem_ec.c> > modem_ec.c: In function 'tx_info':> > modem_ec.c:723: warning: pointer targets in passing argument 2 of> > 'l->modem->get_chars' differ in signedness> > modem_ec.c: In function 'push_rest_data':> > modem_ec.c:811: warning: pointer targets in passing argument 2 of> > 'l->modem->put_chars' differ in signedness> > modem_ec.c: In function 'rx_info':> > modem_ec.c:860: warning: pointer targets in passing argument 2 of> > 'l->modem->put_chars' differ in signedness> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_comp.o -c> modem_comp.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_param.o -c> > modem_param.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_debug.o -c> > modem_debug.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o homolog_data.o -c> > homolog_data.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_sinus.o -c> dp_sinus.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o dp_dummy.o -c> dp_dummy.c> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o sysdep_common.o -c> > sysdep_common.c> > gcc -m32  -o slmodemd modem_main.o modem_cmdline.o modem.o> > modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o> > modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o> > dp_dummy.o dsplibs.o sysdep_common.o> > gcc -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_test.o -c> modem_test.c> > gcc -m32  -o modem_test modem_test.o modem_cmdline.o modem.o> > modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o> > modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o> > dp_dummy.o dsplibs.o sysdep_common.o> > make[1]: Leaving directory `/root/slusb64bit-2.9.11-20070813/modem'> > make -C drivers KERNEL_DIR=/lib/modules/2.6.24/build> > make[1]: Entering directory `/root/slusb64bit-2.9.11-20070813/drivers'> > cc -I/lib/modules/2.6.24/build/include -o kernel-ver kernel-ver.c> > make all KERNEL_VER=2.6.24> > make[2]: Entering directory `/root/slusb64bit-2.9.11-20070813/drivers'> > make modules -C /lib/modules/2.6.24/build> > SUBDIRS=/root/slusb64bit-2.9.11-20070813/drivers> > make[3]: Entering directory `/usr/src/linux-2.6.24'> >> >  WARNING: Symbol version dump /usr/src/linux-2.6.24/Module.symvers> >           is missing; modules will have no dependencies and modversions.> >> >  CC [M]  /root/slusb64bit-2.9.11-20070813/drivers/st7554.o> >  LD [M]  /root/slusb64bit-2.9.11-20070813/drivers/slusb.o> >  Building modules, stage 2.> >  MODPOST 1 modules> >  CC      /root/slusb64bit-2.9.11-20070813/drivers/slusb.mod.o> >  LD [M]  /root/slusb64bit-2.9.11-20070813/drivers/slusb.ko> > make[3]: Leaving directory `/usr/src/linux-2.6.24'> > make[2]: Leaving directory `/root/slusb64bit-2.9.11-20070813/drivers'> > make[1]: Leaving directory `/root/slusb64bit-2.9.11-20070813/drivers'> > root@slax:~/slusb64bit-2.9.11-20070813# make> > make -C modem all> > make[1]: Entering directory `/root/slusb64bit-2.9.11-20070813/modem'> > make[1]: Leaving directory `/root/slusb64bit-2.9.11-20070813/modem'> > make -C drivers KERNEL_DIR=/lib/modules/2.6.24/build> > make[1]: Entering directory `/root/slusb64bit-2.9.11-20070813/drivers'> > cc -I/lib/modules/2.6.24/build/include -o kernel-ver kernel-ver.c> > make all KERNEL_VER=2.6.24> > make[2]: Entering directory `/root/slusb64bit-2.9.11-20070813/drivers'> > make modules -C /lib/modules/2.6.24/build> > SUBDIRS=/root/slusb64bit-2.9.11-20070813/drivers> > make[3]: Entering directory `/usr/src/linux-2.6.24'> >> >  WARNING: Symbol version dump /usr/src/linux-2.6.24/Module.symvers> >           is missing; modules will have no dependencies and modversions.> >> >  Building modules, stage 2.> >  MODPOST 1 modules> > make[3]: Leaving directory `/usr/src/linux-2.6.24'> > make[2]: Leaving directory `/root/slusb64bit-2.9.11-20070813/drivers'> > make[1]: Leaving directory `/root/slusb64bit-2.9.11-20070813/drivers'> > root@slax:~/slusb64bit-2.9.11-20070813# make install> > make -C modem all> > make[1]: Entering directory `/root/slusb64bit-2.9.11-20070813/modem'> > make[1]: Leaving directory `/root/slusb64bit-2.9.11-20070813/modem'> > make -C drivers KERNEL_DIR=/lib/modules/2.6.24/build> > make[1]: Entering directory `/root/slusb64bit-2.9.11-20070813/drivers'> > cc -I/lib/modules/2.6.24/build/include -o kernel-ver kernel-ver.c> > make all KERNEL_VER=2.6.24> > make[2]: Entering directory `/root/slusb64bit-2.9.11-20070813/drivers'> > make modules -C /lib/modules/2.6.24/build> > SUBDIRS=/root/slusb64bit-2.9.11-20070813/drivers> > make[3]: Entering directory `/usr/src/linux-2.6.24'> >> >  WARNING: Symbol version dump /usr/src/linux-2.6.24/Module.symvers> >           is missing; modules will have no dependencies and modversions.> >> >  Building modules, stage 2.> >  MODPOST 1 modules> > make[3]: Leaving directory `/usr/src/linux-2.6.24'> > make[2]: Leaving directory `/root/slusb64bit-2.9.11-20070813/drivers'> > make[1]: Leaving directory `/root/slusb64bit-2.9.11-20070813/drivers'> > make install -C drivers KERNEL_DIR=/lib/modules/2.6.24/build> > make[1]: Entering directory `/root/slusb64bit-2.9.11-20070813/drivers'> > cc -I/lib/modules/2.6.24/build/include -o kernel-ver kernel-ver.c> > mkdir -p /dev> > mknod -m 600 /dev/slamr0 c 242 0 ;   mknod -m 600 /dev/slamr1 c 242 1> > ;   mknod -m 600 /dev/slamr2 c 242 2 ;   mknod -m 600 /dev/slamr3 c> > 242 3 ;  echo -n> > mknod -m 600 /dev/slusb0 c 243 0 ;   mknod -m 600 /dev/slusb1 c 243 1> > ;   mknod -m 600 /dev/slusb2 c 243 2 ;   mknod -m 600 /dev/slusb3 c> > 243 3 ;  echo -n> > make install KERNEL_VER=2.6.24> > make[2]: Entering directory `/root/slusb64bit-2.9.11-20070813/drivers'> > install -D -m 644 slusb.ko /lib/modules/2.6.24/extra/slusb.ko> > /sbin/depmod -a> > make[2]: Leaving directory `/root/slusb64bit-2.9.11-20070813/drivers'> > make[1]: Leaving directory `/root/slusb64bit-2.9.11-20070813/drivers'> > install -D -m 755 modem/slmodemd /usr/sbin/slmodemd> > rm -f -rf /var/lib/slmodem> > install -d -D -m 755 /var/lib/slmodem> > root@slax:~/slusb64bit-2.9.11-20070813# cd ..> > root@slax:~# cd un> > ungrab-winmodem-20080126/        ungrab-winmodem-20080126.tar.gz> > root@slax:~# cd ungrab-winmodem-20080126> > root@slax:~/ungrab-winmodem-20080126# make> > make modules -C /lib/modules/2.6.24/build> SUBDIRS=/root/ungrab-winmodem-20080126> > make[1]: Entering directory `/usr/src/linux-2.6.24'> >> >  WARNING: Symbol version dump /usr/src/linux-2.6.24/Module.symvers> >           is missing; modules will have no dependencies and modversions.> >> >  CC [M]  /root/ungrab-winmodem-20080126/ungrab-winmodem.o> > /root/ungrab-winmodem-20080126/ungrab-winmodem.c: In function> > 'softmodem_release_init':> > /root/ungrab-winmodem-20080126/ungrab-winmodem.c:79: warning:> > 'pci_find_device' is deprecated (declared at include/linux/pci.h:492)> >  Building modules, stage 2.> >  MODPOST 1 modules> >  CC      /root/ungrab-winmodem-20080126/ungrab-winmodem.mod.o> >  LD [M]  /root/ungrab-winmodem-20080126/ungrab-winmodem.ko> > make[1]: Leaving directory `/usr/src/linux-2.6.24'> > root@slax:~/ungrab-winmodem-20080126# make install> > make modules -C /lib/modules/2.6.24/build> SUBDIRS=/root/ungrab-winmodem-20080126> > make[1]: Entering directory `/usr/src/linux-2.6.24'> >> >  WARNING: Symbol version dump /usr/src/linux-2.6.24/Module.symvers> >           is missing; modules will have no dependencies and modversions.> >> >  Building modules, stage 2.> >  MODPOST 1 modules> > make[1]: Leaving directory `/usr/src/linux-2.6.24'> > install -D -m 644 ungrab-winmodem.ko> > /lib/modules/2.6.24/extra/ungrab-winmodem.ko> > /sbin/depmod -a> > root@slax:~/ungrab-winmodem-20080126# lspci> > 00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP]> > Host Bridge (rev 80)> > 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge> > 00:08.0 Modem: Smart Link Ltd. SmartLink SmartPCI562 56K Modem (rev 04)> > 00:09.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host> > Controller (rev 46)> > 00:0b.0 Multimedia controller: Philips Semiconductors SAA7130 Video> > Broadcast Decoder (rev 01)> > 00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA> > RAID Controller (rev 80)> > 00:0f.1 IDE interface: VIA Technologies, Inc.> > VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)> > 00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1> > Controller (rev 81)> > 00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1> > Controller (rev 81)> > 00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1> > Controller (rev 81)> > 00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1> > Controller (rev 81)> > 00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)> > 00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge> > [KT600/K8T800/K8T890 South]> > 00:11.5 Multimedia audio controller: VIA Technologies, Inc.> > VT8233/A/8235/8237 AC97 Audio Controller (rev 60)> > 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev> 78)> > 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100> > QY [Radeon 7000/VE]> > root@slax:~/ungrab-winmodem-20080126# modprobe ungrab-winmodem> > root@slax:~/ungrab-winmodem-20080126# modprobe slamr> > FATAL: Module slamr not found.> > root@slax:~/ungrab-winmodem-20080126# modprobe slusb> > root@slax:~/ungrab-winmodem-20080126# slmodemd -c USA /dev/slusb0> > error: mdm setup: cannot open dev `/dev/slusb0': No such device> > error: cannot setup device `/dev/slusb0'> > root@slax:~/ungrab-winmodem-20080126# slmodemd -c USA /dev/slusb> > error: mdm setup: cannot stat `/dev/slusb': No such file or directory> > error: cannot setup device `/dev/slusb'> >> >> > Thanks,> >> > Antonio> >>>>> --> ----------------------------------------------> Gustavo Fernando Padovan> Engenharia de Computação 2006> LAS - Laboratório de Administração e Segurança de Sistemas>  Instituto de Computação - UNICAMP>> gfpadovan@xxxxxxxxx> ra061316@xxxxxxxxxxxxxxxxxxxxxx> pao@xxxxxxxxxx>  ------------------------------------------->> Seja Livre, use Software Livre

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux