[Asterisk-Users] trouble compiling zaptel-0.9.1 on YellowDog (PowerMac)

Artur Jasowicz artur_asterisk at hoytpub.com
Fri Jun 18 09:06:57 MST 2004


I am running asterisk on an old PowerComputing Mac clone running  
YellowDog 3.0 (Red Hat clone for PowerMacs) I've decided to try adding  
a generic winmodem card and compile zaptel-0.9.1 for it.

First I tried to just unpack zaptel archive and do make clean; make  
install. Compiled fine, but during insallation I got the "unresolved  
symbols" error messages from depmod -a

I did some research and followed instructions at
http://www.voip-info.org/tiki-index.php? 
page=Asterisk%20Zaptel%20Installation

I copied my config file. BTW: instructions above direct to:
cp /boot/config-2.4.28 /usr/src/.config
Shouldn't that be:
cp /boot/config-`uname -r` /usr/src/linux-`uname -r`/.config
/usr/src does not seem like the right location to put .config into.

I did menuconfig and make dep steps, then removed old untarred zaptel  
dir, untarred fresh copy, make clean; make > log.make 2>&1. Now my  
log.make file contains a looong list of complaints about problems in:
/usr/src/linux-2.4/include/linux/kernel.h
/usr/src/linux-2.4/include/asm/processor.h
/usr/src/linux-2.4/include/asm/cache.h
/usr/src/linux-2.4/include/asm/atomic.h
/usr/src/linux-2.4/include/linux/module.h
/usr/src/linux-2.4/include/linux/dcache.h
/usr/src/linux-2.4/include/asm/pci.h
while trying to compile tor2.c. Finally, it ends with:
/usr/src/linux-2.4/include/asm/pci.h:98: warning: implicit declaration  
of functi
on `printk_Rdd132261'
tor2.c: In function `init_spans':
tor2.c:274: warning: implicit declaration of function  
`sprintf_R1d26aa98'
make: *** [tor2.o] Error 1

Compiling asterisk as well as other software on this machine went well.  
What should I check to resolve this? I can do some basic compile  
troubleshooting, but this one seems like too much for me to handle on  
my own. Anyone care to see the entire log.make I generated? It is 140  
lines long.

Artur



More information about the asterisk-users mailing list