FreeBSD 9 and IPP 7 Problem

424 views
Skip to first unread message

kia

unread,
Jul 23, 2012, 5:51:28 PM7/23/12
to asteri...@googlegroups.com
Hello,

On FreeBSD 9 I can compile the codes for Asterisk 1.4

but 1.8 and 10 are failed

./configure --enable-penryn --with-asterisk-includes=/usr/local/include/asterisk --with-asterisk18 --with-ipp=/opt/intel/ipp/include

Architecture: x86_64
  CPU -march: core2
      CFLAGS: -O3 -fomit-frame-pointer -march=core2  -msse3 -mfpmath=sse -I"/opt/intel/ipp/include/include"  -include "/opt/intel/ipp/include/tools/staticlib/ipp_y8.h" -I"/usr/local/include/asterisk"
     LDFLAGS: -L"/opt/intel/ipp/include/lib" -lippscmergedem64t -lippsrmergedem64t -lippsmergedem64t -lippcoreem64t
 Codecs impl: IPP
    IPP path: /opt/intel/ipp/include
    IPP ver.:
    IPP core: y8



The error list is outstanding,

IPP Version:  l_ipp_7.0.7.319_intel64




Same on Asterisk 10,

Are the codecs (g729 and g723) supported on FreeBSD 9 and Asterisk 1.8 and 10 ?

Anybody with luck in Compiling them?


Sincerely,

Kia

Maxim Morgunov

unread,
Jul 23, 2012, 10:13:28 PM7/23/12
to kia
Hello


Hello,

On FreeBSD 9 I can compile the codes for Asterisk 1.4

but 1.8 and 10 are failed

./configure --enable-penryn --with-asterisk-includes=/usr/local/include/asterisk --with-asterisk18 --with-ipp=/opt/intel/ipp/include

Architecture: x86_64
  CPU -march: core2
      CFLAGS: -O3 -fomit-frame-pointer -march=core2  -msse3 -mfpmath=sse -I"/opt/intel/ipp/include/include"  -include "/opt/intel/ipp/include/tools/staticlib/ipp_y8.h" -I"/usr/local/include/asterisk"
     LDFLAGS: -L"/opt/intel/ipp/include/lib" -lippscmergedem64t -lippsrmergedem64t -lippsmergedem64t -lippcoreem64t
 Codecs impl: IPP
    IPP path: /opt/intel/ipp/include
    IPP ver.:
    IPP core: y8



The error list is outstanding,

IPP Version:  l_ipp_7.0.7.319_intel64


this IPP only for astersik 10. If not, correct me Arkady.







Same on Asterisk 10,

Are the codecs (g729 and g723) supported on FreeBSD 9 and Asterisk 1.8 and 10 ?


To do this, try the codecs  FreeBSD 8.1 Asterisk 1.8.3 amd64 




Anybody with luck in Compiling them?


Sincerely,

Kia

-- 
You received this message because you are subscribed to the Google Groups "Asterisk G.729" group.
To post to this group, send email to asteri...@googlegroups.com.
To unsubscribe from this group, send email to asterisk-g72...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/asterisk-g729/-/vPtd820TgAkJ.
For more options, visit 
https://groups.google.com/groups/opt_out.
 
 


try this IPP:

http://registrationcenter-download.intel.com/akdlm/irc_nas/1911/l_ipp_i386_p_6.1.6.063.tar.gz

Please show me the output unama-a. I'll try to make the codecs for FreeBSD 9.0

If you have, of course, does not work :)

P.S. translate by google ;-)

-- 

 FireWall                          
mailto:fire...@irk.ru

kia

unread,
Jul 24, 2012, 2:29:55 AM7/24/12
to asteri...@googlegroups.com
Hello,

This IPP you suggested is for i386


The system is x86_64 bit

Also tested with Asterisk 10,  
same problem

./configure --enable-penryn --with-asterisk-includes=/usr/local/include/asterisk --with-asterisk100 --with-ipp=/opt/intel/ipp/include 


I will give it a try with IPP 6.x


Thanks

Kia
To unsubscribe from this group, send email to asterisk-g729+unsubscribe@googlegroups.com.

To view this discussion on the web visit 

Maxim Morgunov

unread,
Jul 24, 2012, 2:45:09 AM7/24/12
to kia
Hello

tried to this IPP?

I used this same IPP to build on x64 and i386

P.S. This mailing list is my recommendation for the assembly of codecs.



.
To unsubscribe from this group, send email to 
asterisk-g72...@googlegroups.com.

To view this discussion on the web visit 



try this IPP:

http://registrationcenter-download.intel.com/akdlm/irc_nas/1911/l_ipp_i386_p_6.1.6.063.tar.gz

Please show me the output unama-a. I'll try to make the codecs for FreeBSD 9.0

If you have, of course, does not work :)

P.S. translate by google ;-)

-- 

 FireWall                          
mailto:fire...@irk.ru
-- 
You received this message because you are subscribed to the Google Groups "Asterisk G.729" group.
To post to this group, send email to asteri...@googlegroups.com.
To unsubscribe from this group, send email to asterisk-g72...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/asterisk-g729/-/So1YlskbaG0J.
For more options, visit 
https://groups.google.com/groups/opt_out.
 
 


 FireWall                          mailto:fire...@irk.ru

kia

unread,
Jul 24, 2012, 8:04:09 AM7/24/12
to asteri...@googlegroups.com
Hello Maxim,

The only Build that I can make without error on FreeBSD 9  is  Asterisk 1.4  with both 32 bit and 64-bit builds  and IPP 7.0  and also IPP 6.1

I have tested  Asterisk 1.8  and 10 and Head  all failed with IPP 7.0 and 6.1  both 64-bit and 32bit

I So actually Asterisk 1.4 can be built with g729 on FreeBSD 9 only

Anybody really compiled this?

Best Regards,

Kia
To post to this group, send email to asterisk-g729@googlegroups.com.
To unsubscribe from this group, send email to 
asterisk-g729+unsubscribe@googlegroups.com.

To view this discussion on the web visit 



try this IPP:

http://registrationcenter-download.intel.com/akdlm/irc_nas/1911/l_ipp_i386_p_6.1.6.063.tar.gz

Please show me the output unama-a. I'll try to make the codecs for FreeBSD 9.0

If you have, of course, does not work :)

P.S. translate by google ;-)

-- 

 FireWall                          
mailto:fire...@irk.ru
-- 
You received this message because you are subscribed to the Google Groups "Asterisk G.729" group.
To post to this group, send email to asteri...@googlegroups.com.
To unsubscribe from this group, send email to asterisk-g729+unsubscribe@googlegroups.com.

To view this discussion on the web visit 
https://groups.google.com/d/msg/asterisk-g729/-/So1YlskbaG0J.
For more options, visit 
https://groups.google.com/groups/opt_out.
 
 


 FireWall                          mailto:fire...@irk.ru

kia

unread,
Jul 24, 2012, 8:29:48 AM7/24/12
to asteri...@googlegroups.com
SUCCESSFULLY COMPILE IT,

I used asterisk from Port, since it patches the code it will not compile correctly,

When I downloaded Asterisk 1.8 and 10  from the  asterisk.org  and did not patch it for FreeBSD as suggested by port builder

It compiled correctly  with IPP 7.0.7.319 intel64 bit

I can post the binaries,  to be added to your repository, if you like

Best Regards,

Kia
To post to this group, send email to asterisk-g729@googlegroups.com.
To unsubscribe from this group, send email to 
asterisk-g729+unsubscribe@googlegroups.com.

To view this discussion on the web visit 



try this IPP:

http://registrationcenter-download.intel.com/akdlm/irc_nas/1911/l_ipp_i386_p_6.1.6.063.tar.gz

Please show me the output unama-a. I'll try to make the codecs for FreeBSD 9.0

If you have, of course, does not work :)

P.S. translate by google ;-)

-- 

 FireWall                          
mailto:fire...@irk.ru
-- 
You received this message because you are subscribed to the Google Groups "Asterisk G.729" group.
To post to this group, send email to asteri...@googlegroups.com.
To unsubscribe from this group, send email to asterisk-g729+unsubscribe@googlegroups.com.

To view this discussion on the web visit 
https://groups.google.com/d/msg/asterisk-g729/-/So1YlskbaG0J.
For more options, visit 
https://groups.google.com/groups/opt_out.
 
 


 FireWall                          mailto:fire...@irk.ru

Arkadi Shishlov

unread,
Jul 25, 2012, 7:11:26 AM7/25/12
to asteri...@googlegroups.com
Most likely port include/ structure is not handled correctly by ./configure(.ac). It's hard to tell without seeing actual errors, but when *.h file is missing, the rest is a total nonsense for the compiler.
Please fork the project on Bitbucket and send pull request when ready.
Currently I have no resources to support FreeBSD build, but it's surely a must have.

kia

unread,
Jul 25, 2012, 9:53:06 AM7/25/12
to asteri...@googlegroups.com
Arkadi,

Thanks for the reply, but I made the change in FreeBSD port repository,  so right now your build can be compiled on FreeBSD 9 without modifications,

one can run 

./configure --enable-core2 --with-asterisk-includes=/usr/local/  --with-asterisk18 --with-ipp=/opt/intel/ipp


ipp can be IPP 7.0.7.319 intel64 bit  or 32 bit doesn't matter, of course corresponding to the OS bits (64 or 32)

this is important piece: (do not add asterisk at the end) - that --enable-core2 can be anything matching the CPU

--with-asterisk-includes=/usr/local


it builds successfully, however the result can be:

strip -s .libs/codec_g723.so
strip -s .libs/codec_g729.so



this works for both Asterisk 1.8 and 10 from Ports  now  (ports tree in FreeBSD modified and propagated) with all extra patches such as spandsp and etc working properly


for building g729 and 723 with Asterisk 1.4 from ports:  include directory is different (not modified)

--with-asterisk-includes=/usr/local/asterisk 

with 1.8 and 10:

--with-asterisk-includes=/usr/local

Best Regards,

Kia

kia

unread,
Jul 25, 2012, 10:11:26 AM7/25/12
to asteri...@googlegroups.com
Hello Arkadi,

Forked,  building and will submit Pull request

Best Regards,

Kia

On Wednesday, July 25, 2012 7:11:26 AM UTC-4, Arkadi Shishlov wrote:
Reply all
Reply to author
Forward
0 new messages