Menu

#230 Unable to build faac 1.29.9.2 on Mac OS X Lion. Use of undeclared identifier 'bit_SSE2'

open
nobody
None
5
2017-11-28
2017-11-27
Anonymous
No

I am unable to build faac 1.29.9.2 on Mac OS X Lion. Use of undeclared identifier 'bit_SSE2'

sudo port -v upgrade faac
---> Fetching distfiles for faac
---> Verifying checksums for faac
---> Checksumming faac-1.29.9.2.tar.gz
---> Extracting faac
---> Extracting faac-1.29.9.2.tar.gz
Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/faac/faac-1.29.9.2.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
---> Configuring faac
Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work/faac-1.29.9.2" && ./configure --prefix=/opt/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... /usr/bin/clang
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 /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking whether /usr/bin/clang understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/clang... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether /usr/bin/clang++ accepts -g... yes
checking dependency style of /usr/bin/clang++... gcc3
checking build system type... x86_64-apple-darwin11.4.2
checking host system type... x86_64-apple-darwin11.4.2
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 /usr/bin/clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm
checking the name lister (/opt/local/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin11.4.2 file names to x86_64-apple-darwin11.4.2 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin11.4.2 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
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 /opt/local/bin/nm output from /usr/bin/clang 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... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... /usr/bin/clang -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 /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang static flag -static works... no
checking if /usr/bin/clang supports -c -o file.o... yes
checking if /usr/bin/clang supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.2 dyld
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... yes
checking how to run the C++ preprocessor... /usr/bin/clang++ -E
checking for ld used by /usr/bin/clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the /usr/bin/clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking for /usr/bin/clang++ option to produce PIC... -fno-common -DPIC
checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/clang++ static flag -static works... no
checking if /usr/bin/clang++ supports -c -o file.o... yes
checking if /usr/bin/clang++ supports -c -o file.o... (cached) yes
checking whether the /usr/bin/clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.2 dyld
checking how to hardcode library paths into programs... immediate
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking immintrin.h usability... yes
checking immintrin.h presence... yes
checking for immintrin.h... yes
checking whether strcasecmp is declared... yes
checking for getopt_long in -lgnugetopt... no
checking for windres... no
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking mathf.h usability... no
checking mathf.h presence... no
checking for mathf.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking whether strchr is declared... yes
checking whether memcpy is declared... yes
checking whether strsep is declared... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for off_t... yes
checking for in_port_t... yes
checking for socklen_t... yes
checking for fpos_t.pos... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating common/Makefile
config.status: creating libfaac/Makefile
config.status: creating frontend/Makefile
config.status: creating include/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
---> Building faac
Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work/faac-1.29.9.2" && /usr/bin/make -j4 -w all
make: Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work/faac-1.29.9.2' /usr/bin/make all-recursive make[1]: Entering directory/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work/faac-1.29.9.2'
Making all in include
make[2]: Entering directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work/faac-1.29.9.2/include' make[2]: Nothing to be done forall'.
make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work/faac-1.29.9.2/include' Making all in libfaac make[2]: Entering directory/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work/faac-1.29.9.2/libfaac'
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-bitstream.lo -MD -MP -MF .deps/libfaac_la-bitstream.Tpo -c -o libfaac_la-bitstream.lo test -f 'bitstream.c' || echo './'bitstream.c
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-fft.lo -MD -MP -MF .deps/libfaac_la-fft.Tpo -c -o libfaac_la-fft.lo test -f 'fft.c' || echo './'fft.c
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-frame.lo -MD -MP -MF .deps/libfaac_la-frame.Tpo -c -o libfaac_la-frame.lo test -f 'frame.c' || echo './'frame.c
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-blockswitch.lo -MD -MP -MF .deps/libfaac_la-blockswitch.Tpo -c -o libfaac_la-blockswitch.lo test -f 'blockswitch.c' || echo './'blockswitch.c
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-blockswitch.lo -MD -MP -MF .deps/libfaac_la-blockswitch.Tpo -c blockswitch.c -fno-common -DPIC -o .libs/libfaac_la-blockswitch.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-frame.lo -MD -MP -MF .deps/libfaac_la-frame.Tpo -c frame.c -fno-common -DPIC -o .libs/libfaac_la-frame.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-bitstream.lo -MD -MP -MF .deps/libfaac_la-bitstream.Tpo -c bitstream.c -fno-common -DPIC -o .libs/libfaac_la-bitstream.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-fft.lo -MD -MP -MF .deps/libfaac_la-fft.Tpo -c fft.c -fno-common -DPIC -o .libs/libfaac_la-fft.o
In file included from frame.c:26:
./frame.h:42:20: warning: redefinition of typedef 'int32_t' is a C11 feature [-Wtypedef-redefinition]
In file included from bitstream.c:33:
In file included from ./huff2.h:20:
In file included from ./bitstream.h:42:
./frame.h:42:20: warning: typedef signed int int32_t;
^
../include/faac.h:55:20: note: previous definition is here
typedef signed int int32_t;
^
redefinition of typedef 'int32_t' is a C11 feature [-Wtypedef-redefinition]
typedef signed int int32_t;
^
../include/faac.h:55:20: note: previous definition is here
typedef signed int int32_t;
^
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-blockswitch.lo -MD -MP -MF .deps/libfaac_la-blockswitch.Tpo -c blockswitch.c -o libfaac_la-blockswitch.o >/dev/null 2>&1
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-fft.lo -MD -MP -MF .deps/libfaac_la-fft.Tpo -c fft.c -o libfaac_la-fft.o >/dev/null 2>&1
1 warning generated.
1 warning generated.
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-frame.lo -MD -MP -MF .deps/libfaac_la-frame.Tpo -c frame.c -o libfaac_la-frame.o >/dev/null 2>&1
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-bitstream.lo -MD -MP -MF .deps/libfaac_la-bitstream.Tpo -c bitstream.c -o libfaac_la-bitstream.o >/dev/null 2>&1
mv -f .deps/libfaac_la-fft.Tpo .deps/libfaac_la-fft.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-util.lo -MD -MP -MF .deps/libfaac_la-util.Tpo -c -o libfaac_la-util.lo test -f 'util.c' || echo './'util.c
mv -f .deps/libfaac_la-blockswitch.Tpo .deps/libfaac_la-blockswitch.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-channels.lo -MD -MP -MF .deps/libfaac_la-channels.Tpo -c -o libfaac_la-channels.lo test -f 'channels.c' || echo './'channels.c
mv -f .deps/libfaac_la-frame.Tpo .deps/libfaac_la-frame.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-filtbank.lo -MD -MP -MF .deps/libfaac_la-filtbank.Tpo -c -o libfaac_la-filtbank.lo test -f 'filtbank.c' || echo './'filtbank.c
mv -f .deps/libfaac_la-bitstream.Tpo .deps/libfaac_la-bitstream.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-tns.lo -MD -MP -MF .deps/libfaac_la-tns.Tpo -c -o libfaac_la-tns.lo test -f 'tns.c' || echo './'tns.c
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-util.lo -MD -MP -MF .deps/libfaac_la-util.Tpo -c util.c -fno-common -DPIC -o .libs/libfaac_la-util.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-util.lo -MD -MP -MF .deps/libfaac_la-util.Tpo -c util.c -o libfaac_la-util.o >/dev/null 2>&1
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-channels.lo -MD -MP -MF .deps/libfaac_la-channels.Tpo -c channels.c -fno-common -DPIC -o .libs/libfaac_la-channels.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-channels.lo -MD -MP -MF .deps/libfaac_la-channels.Tpo -c channels.c -o libfaac_la-channels.o >/dev/null 2>&1
mv -f .deps/libfaac_la-util.Tpo .deps/libfaac_la-util.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-quantize.lo -MD -MP -MF .deps/libfaac_la-quantize.Tpo -c -o libfaac_la-quantize.lo test -f 'quantize.c' || echo './'quantize.c
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-filtbank.lo -MD -MP -MF .deps/libfaac_la-filtbank.Tpo -c filtbank.c -fno-common -DPIC -o .libs/libfaac_la-filtbank.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-tns.lo -MD -MP -MF .deps/libfaac_la-tns.Tpo -c tns.c -fno-common -DPIC -o .libs/libfaac_la-tns.o
mv -f .deps/libfaac_la-channels.Tpo .deps/libfaac_la-channels.Plo
/bin/sh ../libtool --tag=CC --mode=compile /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-huff2.lo -MD -MP -MF .deps/libfaac_la-huff2.Tpo -c -o libfaac_la-huff2.lo test -f 'huff2.c' || echo './'huff2.c
In file included from tns.c:31:
./frame.h:42:20: warning: redefinition of typedef 'int32_t' is a C11 feature [-Wtypedef-redefinition]
typedef signed int int32_t;
^
../include/faac.h:55:20: note: previous definition is here
typedef signed int int32_t;
^
In file included from filtbank.c:39:
In file included from ./filtbank.h:29:
./frame.h:42:20: warning: redefinition of typedef 'int32_t' is a C11 feature [-Wtypedef-redefinition]
typedef signed int int32_t;
^
../include/faac.h:55:20: note: previous definition is here
typedef signed int int32_t;
^
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-quantize.lo -MD -MP -MF .deps/libfaac_la-quantize.Tpo -c quantize.c -fno-common -DPIC -o .libs/libfaac_la-quantize.o
In file included from quantize.c:24:
In file included from ./huff2.h:20:
In file included from ./bitstream.h:42:
./frame.h:42:20: warning: redefinition of typedef 'int32_t' is a C11 feature [-Wtypedef-redefinition]
typedef signed int int32_t;
^
../include/faac.h:55:20: note: previous definition is here
typedef signed int int32_t;
^
1 warning generated.
1 warning generated.
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-tns.lo -MD -MP -MF .deps/libfaac_la-tns.Tpo -c tns.c -o libfaac_la-tns.o >/dev/null 2>&1
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-huff2.lo -MD -MP -MF .deps/libfaac_la-huff2.Tpo -c huff2.c -fno-common -DPIC -o .libs/libfaac_la-huff2.o
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-filtbank.lo -MD -MP -MF .deps/libfaac_la-filtbank.Tpo -c filtbank.c -o libfaac_la-filtbank.o >/dev/null 2>&1
quantize.c:164:5: warning: implicit declaration of function '
cpuid' is invalid in C99 [-Wimplicit-function-declaration]
__cpuid(1, cpuid[0], cpuid[1], cpuid[2], cpuid[3]);
^
quantize.c:169:20: error: use of undeclared identifier 'bit_SSE2'
if (cpuid[3] & bit_SSE2)
^
In file included from huff2.c:25:
In file included from ./huff2.h:20:
In file included from ./bitstream.h:42:
./frame.h:42:20: warning: redefinition of typedef 'int32_t' is a C11 feature [-Wtypedef-redefinition]
typedef signed int int32_t;
^
../include/faac.h:55:20: note: previous definition is here
typedef signed int int32_t;
^
2 warnings and 1 error generated.
make[2]: [libfaac_la-quantize.lo] Error 1
make[2]:
Waiting for unfinished jobs....
1 warning generated.
libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I.. -I../include -I/opt/local/include -fvisibility=hidden -msse2 -pipe -Os -arch x86_64 -MT libfaac_la-huff2.lo -MD -MP -MF .deps/libfaac_la-huff2.Tpo -c huff2.c -o libfaac_la-huff2.o >/dev/null 2>&1
mv -f .deps/libfaac_la-tns.Tpo .deps/libfaac_la-tns.Plo
mv -f .deps/libfaac_la-filtbank.Tpo .deps/libfaac_la-filtbank.Plo
mv -f .deps/libfaac_la-huff2.Tpo .deps/libfaac_la-huff2.Plo
make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work/faac-1.29.9.2/libfaac' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work/faac-1.29.9.2'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work/faac-1.29.9.2'
Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/work/faac-1.29.9.2" && /usr/bin/make -j4 -w all
Exit code: 2
Error: Failed to build faac: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_faac/faac/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Grinchs-Mac-Pro:~ grinch$

Discussion

  • Harry Smith

    Harry Smith - 2017-11-27

    I was finally able to compile faac 1.29.9.2 on Mac OS X Lion by using a different compiler -- cxx11 1.1.

    I added the following to the Macports Portfile for faac and it compiled:

    PortGroup cxx11 1.1

     
  • Harry Smith

    Harry Smith - 2017-11-28

    P.S. You may want to consider adding a c++11 test to give a better error
    message during the configuration of the faac software.

     
  • Ryan Carsten Schmidt

    To clarify, the problem is not C++11, but rather that bit_SSE2 was added to clang in version 3.4, and the latest version of clang ever shipped on Lion was based on a development version of 3.2. We are working around this in MacPorts by installing a newer clang on Lion. If possible, you might want to test for the existence of bit_SSE2 before using it.

    Also, note warning: redefinition of typedef 'int32_t' is a C11 feature in the log. You might want to not redefine typedefs.

     

Log in to post a comment.