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]

 



Thanks Gustavo,
it now compiles, but something is not working
root@slax:~/slmodem-2.9.11-20080126# rmmod slusb
root@slax:~/slmodem-2.9.11-20080126# lsmod
Module Size Used by
slamr 433064 0
ungrab_winmodem 5760 0
radeon 125344 2
drm 74132 3 radeon
snd_seq_dummy 6660 0
snd_seq_oss 32896 0
snd_seq_midi_event 10112 1 snd_seq_oss
snd_seq 50640 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 40736 0
snd_mixer_oss 17920 2 snd_pcm_oss
pcmcia 36268 0
pcmcia_core 36500 1 pcmcia
fuse 45588 2
lp 13604 0
saa7134 124752 0
compat_ioctl32 5120 1 saa7134
snd_via82xx 26136 1
snd_ac97_codec 99620 1 snd_via82xx
videobuf_dma_sg 14852 1 saa7134
videobuf_core 18564 2 saa7134,videobuf_dma_sg
ir_kbd_i2c 11408 1 saa7134
ac97_bus 5760 1 snd_ac97_codec
ir_common 34308 2 saa7134,ir_kbd_i2c
via_agp 11904 1
agpgart 30920 2 drm,via_agp
i2c_viapro 11156 0
snd_mpu401 10216 0
videodev 29312 1 saa7134
snd_pcm 71812 3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer 22532 2 snd_seq,snd_pcm
snd_page_alloc 11528 2 snd_via82xx,snd_pcm
via_rhine 24968 0
v4l2_common 19200 2 saa7134,videodev
snd_mpu401_uart 10624 2 snd_via82xx,snd_mpu401
v4l1_compat 17412 2 saa7134,videodev
snd_rawmidi 22560 1 snd_mpu401_uart
snd_seq_device 10380 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
shpchp 33172 0
mii 8448 1 via_rhine
ns558 7680 0
psmouse 40720 0
snd 47204 12 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_mpu401,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
gameport 14472 3 snd_via82xx,ns558
serio_raw 9092 0
evdev 12672 4
soundcore 9696 2 snd
pcspkr 6272 0
parport_pc 28068 1
parport 34632 2 lp,parport_pc
aufs 130948 1
squashfs 47112 6
sqlzma 6916 1 squashfs
unlzma 8448 1 sqlzma
root@slax:~/slmodem-2.9.11-20080126# /usr/sbin/slmodemd -c USA /dev/slamr0
error: mdm setup: cannot open dev `/dev/slamr0': No such device
error: cannot setup device `/dev/slamr0'

dmesg returns :


slusb: module license 'Smart Link Ltd.' taints kernel.
Symbol usb_register_driver is being used by a non-GPL module, which
will not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the
kernel source tree for more details.
Symbol usb_deregister is being used by a non-GPL module, which will
not be allowed in the future
Please see the file Documentation/feature-removal-schedule.txt in the
kernel source tree for more details.
ST7554 USB Modem.
usbcore: registered new interface driver ST7554 USB Modem
eth0: Too much work at interrupt, status=0x00ffffff.
eth0: Too much work at interrupt, status=0x00ffffff.
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status ffff, PHY status bfff, resetting...
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0xBFFF
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status ffff, PHY status bfff, resetting...
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0xBFFF
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status ffff, PHY status bfff, resetting...
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0xBFFF
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status ffff, PHY status bfff, resetting...
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0xBFFF
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status ffff, PHY status bfff, resetting...
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0xBFFF
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status ffff, PHY status bfff, resetting...
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0xBFFF
slamr: SmartLink AMRMO modem.
slamr: probe 163c:3052 SL2800 card...
ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 20 (level, low) -> IRQ 16
slamr: cannot init card.
ACPI: PCI interrupt for device 0000:00:08.0 disabled
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status ffff, PHY status bfff, resetting...
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0xBFFF
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status 0000, PHY status 786d, resetting...
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status ffff, PHY status bfff, resetting...
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0xBFFF
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status ffff, PHY status bfff, resetting...
via-rhine: Reset not complete yet. Trying harder.
eth0: link up, 100Mbps, full-duplex, lpa 0xBFFF
NETDEV WATCHDOG: eth0: transmit timed out
eth0: Transmit timed out, status 0000, PHY status 786d, resetting...
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

Will try this at home and report back.  Thanks for your suggestion.

Regards,
Antonio


On Tue, Feb 26, 2008 at 8: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