patching file TODO
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file libpri.h
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file pri.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file pri_internal.h
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file pri_q921.h
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file pri_q931.h
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n] y
Hunk #1 succeeded at 194 with fuzz 2 (offset 3 lines).
Hunk #2 succeeded at 225 with fuzz 2 (offset 5 lines).
Hunk #3 FAILED at 252.
Hunk #4 succeeded at 270 with fuzz 2 (offset 9 lines).
Hunk #5 succeeded at 286 with fuzz 2 (offset 13 lines).
Hunk #6 FAILED at 302.
2 out of 6 hunks FAILED -- saving rejects to file pri_q931.h.rej
patching file prisched.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file pritest.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file q921.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
patching file q931.c
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 31.
Hunk #2 succeeded at 214 with fuzz 2 (offset 8 lines).
Hunk #3 FAILED at 238.
Hunk #4 FAILED at 273.
Hunk #5 FAILED at 292.
Hunk #6 FAILED at 342.
Hunk #7 FAILED at 364.
Hunk #8 FAILED at 424.
Hunk #9 FAILED at 450.
Hunk #10 succeeded at 933 with fuzz 2 (offset 475 lines).
Hunk #11 FAILED at 1344.
Hunk #12 FAILED at 1433.
Hunk #13 FAILED at 1455.
Hunk #14 FAILED at 1489.
Hunk #15 FAILED at 1509.
Hunk #16 FAILED at 1588.
Hunk #17 FAILED at 1644.
Hunk #18 succeeded at 1383 with fuzz 2 (offset 132 lines).
Hunk #19 succeeded at 1444 with fuzz 1 (offset 154 lines).
Hunk #20 FAILED at 1722.
Hunk #21 FAILED at 1804.
Hunk #22 FAILED at 1822.
Hunk #23 FAILED at 1916.
Hunk #24 FAILED at 1960.
Hunk #25 FAILED at 2011.
Hunk #26 FAILED at 2027.
Hunk #27 FAILED at 2080.
Hunk #28 FAILED at 2205.
Hunk #29 FAILED at 2243.
Hunk #30 FAILED at 2297.
Hunk #31 FAILED at 2317.
Hunk #32 FAILED at 2363.
Hunk #33 FAILED at 2465.
Hunk #34 FAILED at 2483.
Hunk #35 FAILED at 2622.
Hunk #36 FAILED at 2720.
Hunk #37 FAILED at 2759.
Hunk #38 FAILED at 2795.
Hunk #39 FAILED at 2869.
Hunk #40 succeeded at 3361 with fuzz 2 (offset 595 lines).
Hunk #41 FAILED at 3493.
Hunk #42 FAILED at 3519.
Hunk #43 FAILED at 3541.
Hunk #44 FAILED at 3569.
Hunk #45 FAILED at 3595.
Hunk #46 FAILED at 3625.
Hunk #47 FAILED at 3650.
Hunk #48 FAILED at 3700.
Hunk #49 FAILED at 3731.
Hunk #50 FAILED at 3812.
Hunk #51 FAILED at 3824.
Hunk #52 FAILED at 3861.
Hunk #53 succeeded at 3912 with fuzz 2 (offset 630 lines).
Hunk #54 FAILED at 3931.
Hunk #55 FAILED at 3968.
Hunk #56 succeeded at 4001 with fuzz 2 (offset 646 lines).
Hunk #57 FAILED at 4028.
Hunk #58 FAILED at 4066.
Hunk #59 FAILED at 4110.
Hunk #60 FAILED at 4136.
Hunk #61 FAILED at 4159.
Hunk #62 FAILED at 4209.
Hunk #63 FAILED at 4266.
56 out of 63 hunks FAILED -- saving rejects to file q931.c.rej
The next patch would create the file .version,
which already exists! Assume -R? [n] y
patching file .version
patching file apps/Makefile
patching file apps/app_dial.c
patching file apps/app_pickup.c
patching file channels/chan_zap.c
patching file include/asterisk/features.h
patching file include/asterisk/pbx.h
patching file pbx.c
patching file res/res_features.c
****************************************************
Downloading and patching finished.
****************************************************
rm -f torisatool makefw tor2fw.h
rm -f zttool
rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo
rm -f *.ko *.mod.c .*o.cmd
rm -f gendigits tones.h
rm -f libtonezone*
rm -f tor2ee
rm -f core
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
./gendigits
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/usr/src/linux/drivers/net/wan -I /usr/src/linux/include -I/usr/src/linux/include/net -DSTANDALONE_ZAPATA -c zaptel.c
In Datei, eingefügt von /usr/include/asm/smp.h:18,
von /usr/include/linux/smp.h:17,
von /usr/include/linux/sched.h:23,
von /usr/include/linux/module.h:10,
von zaptel.c:44:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: Datei oder Verzeichnis nicht gefunden
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from zaptel.c:44:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:20,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from zaptel.c:44:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In Datei, eingefügt von /usr/include/linux/smp.h:17,
von /usr/include/linux/sched.h:23,
von /usr/include/linux/module.h:10,
von zaptel.c:44:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: Datei oder Verzeichnis nicht gefunden
zaptel.c: In Funktion »zt_register«:
zaptel.c:4251: Warnung: implicit declaration of function `class_simple_device_add'
zaptel.c: In Funktion »zt_unregister«:
zaptel.c:4301: Warnung: implicit declaration of function `class_simple_device_remove'
zaptel.c: In Funktion »zt_init«:
zaptel.c:6197: Warnung: implicit declaration of function `class_simple_create'
zaptel.c:6197: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
zaptel.c: In Funktion »zt_cleanup«:
zaptel.c:6258: Warnung: implicit declaration of function `class_simple_destroy'
make: *** [zaptel.o] Fehler 1
gcc -I/usr/src/linux-2.4/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -I/usr/src/linux/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer -I/usr/src/linux/drivers/net/wan -I /usr/src/linux/include -I/usr/src/linux/include/net -DSTANDALONE_ZAPATA -c zaptel.c
In Datei, eingefügt von /usr/include/asm/smp.h:18,
von /usr/include/linux/smp.h:17,
von /usr/include/linux/sched.h:23,
von /usr/include/linux/module.h:10,
von zaptel.c:44:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: Datei oder Verzeichnis nicht gefunden
In file included from /usr/include/asm/smp.h:18,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from zaptel.c:44:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/include/asm/smp.h:20,
from /usr/include/linux/smp.h:17,
from /usr/include/linux/sched.h:23,
from /usr/include/linux/module.h:10,
from zaptel.c:44:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In Datei, eingefügt von /usr/include/linux/smp.h:17,
von /usr/include/linux/sched.h:23,
von /usr/include/linux/module.h:10,
von zaptel.c:44:
/usr/include/asm/smp.h:73:26: mach_apicdef.h: Datei oder Verzeichnis nicht gefunden
zaptel.c: In Funktion »zt_register«:
zaptel.c:4251: Warnung: implicit declaration of function `class_simple_device_add'
zaptel.c: In Funktion »zt_unregister«:
zaptel.c:4301: Warnung: implicit declaration of function `class_simple_device_remove'
zaptel.c: In Funktion »zt_init«:
zaptel.c:6197: Warnung: implicit declaration of function `class_simple_create'
zaptel.c:6197: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung
zaptel.c: In Funktion »zt_cleanup«:
zaptel.c:6258: Warnung: implicit declaration of function `class_simple_destroy'
make: *** [zaptel.o] Fehler 1
****************************************************
ZAPTEL installed.
Press <Enter> to continue, or <CTRL> + <C> to abort.
****************************************************