[Asterisk-Users] Trouble somewhere with lib compilation

Jason Lixfeld jason+lists.asterisk at lixfeld.ca
Sat Jun 17 05:00:20 MST 2006


Let me preface this by saying that, I realize I should be asking this  
in *-bsd, but I posted there last week and heard nothing so I thought  
I would post here to see if anyone had any thoughts:

I just compiled all these from source:

asterisk-1.2.9.1
zaptel-bsd (from svn downloaded on jun 8)
libpri-1.2.3

spandsp-0.0.2.p20_1 (from FreeBSD ports)

The system is AMD64 so I had to modify the zaptel-bsd/trunk/ztcfg/ 
Makefile and add -fPIC to CFLAGS to prevent a problem compiling  
asterisk source against tonezone.a.  asterisk wouldn't compile  
cleanly unless I made that change and I couldn't find any other  
workaround so I had to kinda hack around and guess about how to fix  
it (which I think I did because at least it compiles now with the - 
fPIC).

Anyway, I have it all compiled and installed, but I'm getting this  
when I start * -d:

Jun 14 17:31:16 WARNING[67491]: loader.c:325 __load_resource: /usr/ 
local/lib/asterisk/modules/codec_gsm.so: Undefined symbol  
"Short_term_analysis_filteringx"
Jun 14 17:31:16 WARNING[67491]: loader.c:554 load_modules: Loading  
module codec_gsm.so failed!

any search I've done for "Short_term_analysis_filteringx" seems to  
have many references for AMDk6 source...  This is a Xeon 3.0Ghz EM64T  
chip which is compiled as amd64, but amd64 != k6, does it?  dmesg  
says k8:

CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz K8-class CPU)
   Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
    
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE 
,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
   AMD Features=0x20100800<SYSCALL,NX,LM>
   Logical CPUs per core: 2

Anyone have any ideas?

The system is AMD64 FreeBSD 6.1-RELEASE-p1.







More information about the asterisk-users mailing list