All pastes #2190 Raw Edit

Anonymous

public text v1 · immutable
#2190 ·published 2004-11-19 20:33 UTC
rendered paste body
rapid:/usr/src/zaptel# make clean
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
rapid:/usr/src/zaptel# make install
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -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 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:6:25: mach_mpspec.h: No such file or directory
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 file included 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/smp.h:73:26: mach_apicdef.h: No such file or directory
zaptel.c: In function `zt_register':
zaptel.c:4331: warning: implicit declaration of function `class_simple_device_add'
zaptel.c: In function `zt_unregister':
zaptel.c:4381: warning: implicit declaration of function `class_simple_device_remove'
zaptel.c: In function `zt_init':
zaptel.c:6311: warning: implicit declaration of function `class_simple_create'
zaptel.c:6311: warning: assignment makes pointer from integer without a cast
zaptel.c: In function `zt_cleanup':
zaptel.c:6372: warning: implicit declaration of function `class_simple_destroy'
make: *** [zaptel.o] Error 1
------------------------------------------------------------------------
rapid:/usr/src/zaptel# modprobe zaptel
rapid:/usr/src/zaptel# lsmod
Module                  Size  Used by    Not tainted
soundcore               3268   0  (autoclean)
af_packet              11048   1  (autoclean)
wcfxo                   7200   0  (unused)
zaptel                173696   0  [wcfxo]
hisax                 473680   0  (unused)
isa-pnp                25552   0  [hisax]
isdn                  112332   0  [hisax]
slhc                    4144   0  [isdn]
usb-uhci               19504   0  (unused)
usbcore                52268   1  [usb-uhci]
ide-scsi                8272   0
scsi_mod               86020   1  [ide-scsi]
3c59x                  23312   1
agpgart                39108   0  (unused)
ide-cd                 27040   0
cdrom                  26212   0  [ide-cd]
rtc                     5768   0  (autoclean)
ext3                   65388   1  (autoclean)
jbd                    34628   1  (autoclean) [ext3]
ide-detect               288   0  (autoclean) (unused)
ide-disk               12416   2  (autoclean)
piix                    7784   1  (autoclean)
ide-core               91800   2  (autoclean) [ide-scsi ide-cd ide-detect ide-disk piix]
unix                   12720  93  (autoclean)