slmodem wont compile on arch 2.6.19.2

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

 



I have the usb modem that uses the slusb module and am trying
slmodem-2.9.11-20061021.tar.gz

Build attempt fails on 2.6.19.2 on arch linux:

golfbuf :~/downloads/slmodem-2.9.11-20061021$ make
make -C modem all
make[1]: Entering directory
`/home/golfbuf/downloads/slmodem-2.9.11-20061021/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_debu
g.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_de
bug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
make[1]: Leaving directory
`/home/golfbuf/downloads/slmodem-2.9.11-20061021/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.6.19-ARCH/build
make[1]: Entering directory
`/home/golfbuf/downloads/slmodem-2.9.11-20061021/drivers'
cc -I/lib/modules/2.6.19-ARCH/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.6.19-ARCH
make[2]: Entering directory
`/home/golfbuf/downloads/slmodem-2.9.11-20061021/drivers'
make modules -C /lib/modules/2.6.19-ARCH/build
SUBDIRS=/home/golfbuf/downloads/slmodem-2.9.11-20061021/drivers
make[3]: Entering directory `/usr/src/linux-2.6.19-ARCH'
 CC [M]  /home/golfbuf/downloads/slmodem-2.9.11-20061021/drivers/amrmo_init.o
/home/golfbuf/downloads/slmodem-2.9.11-20061021/drivers/amrmo_init.c:46:26:
error: linux/config.h: No such file or directory
/home/golfbuf/downloads/slmodem-2.9.11-20061021/drivers/amrmo_init.c:
In function 'amrmo_pci_probe':
/home/golfbuf/downloads/slmodem-2.9.11-20061021/drivers/amrmo_init.c:589:
warning: passing argument 2 of 'request_irq' from incompatible pointer
type
make[4]: *** [/home/golfbuf/downloads/slmodem-2.9.11-20061021/drivers/amrmo_init.o]
Error 1
make[3]: *** [_module_/home/golfbuf/downloads/slmodem-2.9.11-20061021/drivers]
Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.19-ARCH'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/golfbuf/downloads/slmodem-2.9.11-20061021/drivers'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/golfbuf/downloads/slmodem-2.9.11-20061021/drivers'
make: *** [drivers] Error 2

hmmm .. it looks like some files are changed??

golfbuf :~/downloads/slmodem-2.9.11-20061021$ find
/usr/src/linux-2.6.19-ARCH/ -iname '*config.h*'
/usr/src/linux-2.6.19-ARCH/scripts/mod/elfconfig.h
/usr/src/linux-2.6.19-ARCH/scripts/mod/.elfconfig.h.cmd
/usr/src/linux-2.6.19-ARCH/include/acpi/acconfig.h
/usr/src/linux-2.6.19-ARCH/include/linux/tipc_config.h
/usr/src/linux-2.6.19-ARCH/include/config/x86/find/smp/config.h
/usr/src/linux-2.6.19-ARCH/include/config/ikconfig.h
/usr/src/linux-2.6.19-ARCH/include/config/pci/mmconfig.h
/usr/src/linux-2.6.19-ARCH/include/config/i2o/config.h
/usr/src/linux-2.6.19-ARCH/include/net/ipconfig.h
/usr/src/linux-2.6.19-ARCH/kernel/Kconfig.hz

Has anyone succeeded on 2.6.19.2?

regards,

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

  Powered by Linux