colorit@innervate:~/asterisk-g72x-1.3 % sudo ./configure --with-ipp=/home/colorit/ipp/l_ipp_7.1.1.117_intel64/rpms/opt/intel/composer_xe_2013.1.117/ipp --enable-core2 --with-asterisk18
checking build system type... amd64-unknown-freebsd10.1
checking host system type... amd64-unknown-freebsd10.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert amd64-unknown-freebsd10.1 file names to amd64-unknown-freebsd10.1 format... func_convert_file_noop
checking how to convert amd64-unknown-freebsd10.1 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd10.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking asterisk/asterisk.h usability... no
checking asterisk/asterisk.h presence... no
checking for asterisk/asterisk.h... no
checking whether C compiler accepts -march=native... yes
checking whether C compiler accepts -mavx... yes
checking whether C compiler accepts -march=core2... yes
checking whether C compiler accepts -march=atom... yes
checking whether C compiler accepts -march=k8-sse3... yes
checking whether C compiler accepts -march=barcelona... no
checking whether C compiler accepts -march=geode... no
checking whether C compiler accepts -flto... yes
checking version of IPP libraries... 7.1
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Architecture: amd64
CPU -march: core2
CFLAGS: -O3 -fomit-frame-pointer -march=core2 -flto -msse3 -mfpmath=sse -I"/home/colorit/ipp/l_ipp_7.1.1.117_intel64/rpms/opt/intel/composer_xe_2013.1.117/ipp/include" -include "/home/colorit/ipp/l_ipp_7.1.1.117_intel64/rpms/opt/intel/composer_xe_2013.1.117/ipp/tools/intel64/staticlib/ipp_u8.h"
LDFLAGS: -fwhole-program -L"/home/colorit/ipp/l_ipp_7.1.1.117_intel64/rpms/opt/intel/composer_xe_2013.1.117/ipp/lib/intel64" -lippsc_l -lipps_l -lippcore_l
Codecs impl: IPP
IPP path: /home/colorit/ipp/l_ipp_7.1.1.117_intel64/rpms/opt/intel/composer_xe_2013.1.117/ipp
IPP ver.: 7.1
IPP core: u8
colorit@innervate:~/asterisk-g72x-1.3 % sudo gmake gmake all-am
gmake[1]: Entering directory '/usr/home/colorit/asterisk-g72x-1.3'
/bin/sh ./libtool --tag=CC --mode=link cc -DG72X_ASTERISK=18 -I"/home/colorit/ipp/l_ipp_7.1.1.117_intel64/rpms/opt/intel/composer_xe_2013.1.117/ipp/include" -include "/home/colorit/ipp/l_ipp_7.1.1.117_intel64/rpms/opt/intel/composer_xe_2013.1.117/ipp/tools/intel64/staticlib/ipp_u8.h" -Wall -D_GNU_SOURCE -Iipp -DG72X_3 -O3 -fomit-frame-pointer -march=core2 -flto -msse3 -mfpmath=sse -L"/home/colorit/ipp/l_ipp_7.1.1.117_intel64/rpms/opt/intel/composer_xe_2013.1.117/ipp/lib/intel64" -fwhole-program -avoid-version -module -o codec_g723.la -rpath /usr/local/lib/asterisk/modules codec_g723_la-codec_g72x.lo ipp/codec_g723_la-decg723.lo ipp/codec_g723_la-encg723.lo ipp/codec_g723_la-owng723.lo ipp/codec_g723_la-vadg723.lo ipp/codec_g723_la-aux_tbls.lo -lippsc_l -lipps_l -lippcore_l
libtool: link: cc -shared -fPIC -DPIC .libs/codec_g723_la-codec_g72x.o ipp/.libs/codec_g723_la-decg723.o ipp/.libs/codec_g723_la-encg723.o ipp/.libs/codec_g723_la-owng723.o ipp/.libs/codec_g723_la-vadg723.o ipp/.libs/codec_g723_la-aux_tbls.o -L/home/colorit/ipp/l_ipp_7.1.1.117_intel64/rpms/opt/intel/composer_xe_2013.1.117/ipp/lib/intel64 -lippsc_l -lipps_l -lippcore_l -O3 -march=core2 -flto -msse3 -mfpmath=sse -Wl,-soname -Wl,codec_g723.so -o .libs/codec_g723.so
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:530: recipe for target 'codec_g723.la' failed
gmake[1]: *** [codec_g723.la] Error 1
gmake[1]: Leaving directory '/usr/home/colorit/asterisk-g72x-1.3'
Makefile:425: recipe for target 'all' failed
gmake: *** [all] Error 2
#set CC=gcc
##GCC
#.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc48)
#CC=gcc48
#CXX=g++48
#CPP=cpp48
#.endif
#WITH_OPENSSL_BASE=yes
WITH_OPENSSL_PORTS=yes
MAKE_JOBS_UNSAFE=yes
CC=gcc
I used this command:
%
./configure CC=gcc --enable-penryn --with-asterisk18
--with-ipp=/home/colorit/ipp/l_ipp_7.1.1.117_intel64/rpms/opt/intel/composer_xe_2013.1.117/ippNot workedDo not work again.Set CC=gcc