[Asterisk-Users] Asterisk compiling problems...
George A. Michalopoulos
gmich at sae.gr
Mon Apr 3 13:14:04 MST 2006
Hello all,
I just got the latest cvs snapshot and I'm trying to compile asterisk..
When I run nefeli:/usr/src/asterisk/zaptel# make clean; make linux26
Compile stops with errors...
/usr/src/asterisk/zaptel/zaptel.c:6509: warning: passing argument 2 of
'class_device_create' makes pointer from integer without a cast
/usr/src/asterisk/zaptel/zaptel.c:6509: warning: passing argument 3 of
'class_device_create' makes integer from pointer without a cast
/usr/src/asterisk/zaptel/zaptel.c:6509: warning: passing argument 4 of
'class_device_create' from incompatible pointer type
/usr/src/asterisk/zaptel/zaptel.c:6509: error: too few arguments to
function 'class_device_create'
/usr/src/asterisk/zaptel/zaptel.c:6510: warning: passing argument 2 of
'class_device_create' makes pointer from integer without a cast
/usr/src/asterisk/zaptel/zaptel.c:6510: warning: passing argument 3 of
'class_device_create' makes integer from pointer without a cast
/usr/src/asterisk/zaptel/zaptel.c:6510: warning: passing argument 4 of
'class_device_create' from incompatible pointer type
/usr/src/asterisk/zaptel/zaptel.c:6510: error: too few arguments to
function 'class_device_create'
make[2]: *** [/usr/src/asterisk/zaptel/zaptel.o] Error 1
make[1]: *** [_module_/usr/src/asterisk/zaptel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.15.6'
make: *** [linux26] Error 2
Please advise....
George
Here is some usefull info about my installation (debian):
nefeli:~# uname -a
Linux nefeli 2.6.15.6 #1 PREEMPT Tue Mar 14 03:44:36 EET 2006 i686
GNU/Linux
nefeli:~# lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:00.1 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:00.2 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:00.3 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:00.4 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:00.7 Host bridge: VIA Technologies, Inc. K8M800 Host Bridge
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge
[K8T800/K8T890 South]
0000:00:08.0 Network controller: AVM Audiovisuelles MKTG & Computer
System GmbH Fritz!PCI v2.0 ISDN (rev 01)
0000:00:09.0 Communication controller: Tiger Jet Network Inc. Tiger3XX
Modem/ISDN interface
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA
RAID Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc.
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge
[KT600/K8T800/K8T890 South]
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102
[Rhine-II] (rev 78)
0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map
0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller
0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control
0000:01:00.0 VGA compatible controller: VIA Technologies, Inc. S3
Unichrome Pro VGA Adapter (rev 01)
nefeli:~# lsmod
Module Size Used by
capability 4872 0
commoncap 6912 1 capability
af_packet 21384 2
ipv6 233344 27
ext3 120200 1
jbd 53524 1 ext3
via_velocity 30752 0
r8169 25736 0
capi 17216 0
capifs 5768 2 capi
capidrv 28340 0
kernelcapi 45472 2 capi,capidrv
ide_disk 16256 0
psmouse 33028 0
joydev 9152 0
snd_via82xx 26648 0
gameport 15112 1 snd_via82xx
evdev 9088 0
snd_ac97_codec 83104 1 snd_via82xx
snd_ac97_bus 2304 1 snd_ac97_codec
mousedev 11168 0
snd_pcm 81416 2 snd_via82xx,snd_ac97_codec
snd_timer 23300 1 snd_pcm
snd_page_alloc 10120 2 snd_via82xx,snd_pcm
snd_mpu401_uart 7424 1 snd_via82xx
hisax_fcpcipnp 11648 0
hisax_isac 8212 1 hisax_fcpcipnp
snd_rawmidi 24224 1 snd_mpu401_uart
snd_seq_device 8204 1 snd_rawmidi
hisax 459728 2 hisax_fcpcipnp,hisax_isac
i2c_viapro 8212 0
crc_ccitt 2176 2 via_velocity,hisax
snd 51556 7
snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi
,snd_seq_device
parport_pc 33092 0
parport 33352 1 parport_pc
isdn 123712 2 capidrv,hisax
i2c_core 20496 1 i2c_viapro
floppy 56132 0
pcspkr 2308 0
slhc 6784 1 isdn
rtc 13108 0
soundcore 10080 1 snd
amd64_agp 11460 1
agpgart 32072 1 amd64_agp
shpchp 40640 0
pci_hotplug 26932 1 shpchp
xfs 503000 1
exportfs 6144 1 xfs
ide_cd 37380 0
cdrom 34208 1 ide_cd
ide_generic 1408 0 [permanent]
sd_mod 17936 4
via82cxxx 8452 0 [permanent]
ehci_hcd 30600 0
via_rhine 22148 0
mii 5376 1 via_rhine
uhci_hcd 29712 0
usbcore 116228 3 ehci_hcd,uhci_hcd
generic 4484 0 [permanent]
ide_core 114208 5
ide_disk,ide_cd,ide_generic,via82cxxx,generic
sata_via 8452 3
libata 52236 1 sata_via
scsi_mod 128488 2 sd_mod,libata
thermal 13704 0
processor 23744 1 thermal
fan 4868 0
unix 26544 24
More information about the asterisk-users
mailing list