Hello , everybody
thanks for your answer I have added
the
#include <linux/jiffies.h>
line compilation seems to work now,
but the drivers cannot be loaded ?
see the make.log
LD binary.a
make -C /lib/modules/2.6.22.5-31-default/build M=/tmp/ess_2.6-v0.3
make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/i386/default
LD /tmp/ess_2.6-v0.3/built-in.o
CC [M] /tmp/ess_2.6-v0.3/essserial-2.6.o
CC [M] /tmp/ess_2.6-v0.3/essserial_pci.o
/tmp/ess_2.6-v0.3/essserial_pci.c: In function ‘essserial_pci_init’:
/tmp/ess_2.6-v0.3/essserial_pci.c:516: warning: ‘pci_find_device’ is
deprecated (declared at /usr/src/linux-2.6.22.5-31/include/linux/pci.h:477)
CC [M] /tmp/ess_2.6-v0.3/essserial_hw.o
CC [M] /tmp/ess_2.6-v0.3/linmodem-2.6.o
/tmp/ess_2.6-v0.3/linmodem-2.6.c: In function ‘serial_link_irq_chain’:
/tmp/ess_2.6-v0.3/linmodem-2.6.c:605: warning: ‘deprecated_irq_flag’ is
deprecated (declared at
/usr/src/linux-2.6.22.5-31/include/linux/interrupt.h:66)
/tmp/ess_2.6-v0.3/linmodem-2.6.c: In function ‘linmodem_set_termios’:
/tmp/ess_2.6-v0.3/linmodem-2.6.c:820: warning: passing argument 2 of
‘uart_get_baud_rate’ from incompatible pointer type
/tmp/ess_2.6-v0.3/linmodem-2.6.c:820: warning: passing argument 3 of
‘uart_get_baud_rate’ from incompatible pointer type
/tmp/ess_2.6-v0.3/linmodem-2.6.c: At top level:
/tmp/ess_2.6-v0.3/linmodem-2.6.c:1120: warning: initialization from
incompatible pointer type
LD [M] /tmp/ess_2.6-v0.3/linmodem.o
LD [M] /tmp/ess_2.6-v0.3/esscom.o
LD [M] /tmp/ess_2.6-v0.3/esscom_hw.o
Building modules, stage 2.
MODPOST 3 modules
WARNING: could not find /tmp/ess_2.6-v0.3/.binary.a.cmd for
/tmp/ess_2.6-v0.3/binary.a
CC /tmp/ess_2.6-v0.3/esscom.mod.o
LD [M] /tmp/ess_2.6-v0.3/esscom.ko
CC /tmp/ess_2.6-v0.3/esscom_hw.mod.o
LD [M] /tmp/ess_2.6-v0.3/esscom_hw.ko
CC /tmp/ess_2.6-v0.3/linmodem.mod.o
LD [M] /tmp/ess_2.6-v0.3/linmodem.ko
make[1]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/i386/default'
rm -f /dev/ttyS_ESS0
echo "KERNEL==\"ttyS_ESS0\", SYMLINK=\"modem\"" >
/etc/udev/rules.d/70-ess.rules
install -D -m 644 linmodem.ko
/lib/modules/linux-2.6.22.5-31/misc/linmodem.ko
install -D -m 644 esscom.ko /lib/modules/linux-2.6.22.5-31/misc/esscom.ko
install -D -m 644 esscom_hw.ko
/lib/modules/linux-2.6.22.5-31/misc/esscom_hw.ko
/sbin/depmod -a
/sbin/insmod linmodem.ko
insmod: error inserting 'linmodem.ko': -1 File exists
make: *** [insmod] Fehler 1
Sorry I'm just a beginner in programming things so I don't understand every
failure output,
so any explanation is welcome.
Maybe I'll install the backup of my Suse 10.2 with kernel 2.6.18
and then install the 2.6.20 kernel which sould have the drivers for my
Hauppauge DVB-T
stick included ,so that I have all drivers I need.
Thanks for your help