[Asterisk-bsd] Problems compiling with zaptel-bsd-trunk

Jason Lixfeld jason+lists.asterisk-bsd at lixfeld.ca
Sat Jun 3 14:59:00 MST 2006


I tried and failed to compile the latest zaptel port (0.11).  The  
ChangeLog is dated October 12/2005.

I just downloaded the SVN snapshot from pbxpress and tried to compile  
it and got the same errors as the port above:

# make
make -C zaptel
Warning: Object directory not changed from original /usr/home/ 
jlixfeld/zaptel-bsd-trunk/zaptel
cc -O2 -fno-strict-aliasing -pipe -g -Wall -D_KERNEL -DKLD_MODULE - 
nostdinc -I-   -I. -I@ -I@/contrib/altq -I/usr/include -finline- 
limit=8000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno- 
red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft- 
float -fno-asynchronous-unwind-tables -ffreestanding -Wall - 
Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing- 
prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions - 
std=c99 -o gendigits gendigits.c -lm
/var/tmp//ccuU1t8P.o(.text+0xb4): In function `process':
/usr/home/jlixfeld/zaptel-bsd-trunk/zaptel/gendigits.c:117: undefined  
reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0xc1):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:117: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0xe8):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:119: undefined reference to `__divdf3'
/var/tmp//ccuU1t8P.o(.text+0x100):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:119: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0x10e):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:119: undefined reference to `__adddf3'
/var/tmp//ccuU1t8P.o(.text+0x126):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:119: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0x14b):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:120: undefined reference to `__divdf3'
/var/tmp//ccuU1t8P.o(.text+0x163):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:120: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0x172):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:120: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0x195):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:121: undefined reference to `__divdf3'
/var/tmp//ccuU1t8P.o(.text+0x1ad):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:121: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0x1bc):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:121: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0x1df):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:123: undefined reference to `__divdf3'
/var/tmp//ccuU1t8P.o(.text+0x1f7):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:123: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0x205):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:123: undefined reference to `__adddf3'
/var/tmp//ccuU1t8P.o(.text+0x21d):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:123: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0x240):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:124: undefined reference to `__divdf3'
/var/tmp//ccuU1t8P.o(.text+0x258):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:124: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0x267):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:124: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0x28d):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:125: undefined reference to `__divdf3'
/var/tmp//ccuU1t8P.o(.text+0x2a5):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:125: undefined reference to `__muldf3'
/var/tmp//ccuU1t8P.o(.text+0x2b4):/usr/home/jlixfeld/zaptel-bsd-trunk/ 
zaptel/gendigits.c:125: undefined reference to `__muldf3'
*** Error code 1

Stop in /usr/home/jlixfeld/zaptel-bsd-trunk/zaptel.
*** Error code 1

Stop in /usr/home/jlixfeld/zaptel-bsd-trunk.
#

As far as I can tell, it's missing an include somewhere, but I can't  
figure out what it's looking for.

I'm going to try SVN directly and see if that behaves any differently.

I'm running:
FreeBSD 6.1-RELEASE


More information about the Asterisk-BSD mailing list