Date: Fri, 24 Oct 2014 16:32:22 -0400 From: Henry Hu <henry.hu.sh@gmail.com> To: Torfinn Ingolfsen <tingox@gmail.com> Cc: mva@freebsd.org, FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: audio/openal-soft fails to install on FreeBSD 8.4-stable Message-ID: <CAEJt7hZud8mo5rQegaxc5rXmTGbaod6dWs834kZNL_95QtXgEw@mail.gmail.com> In-Reply-To: <CAJ_iqtai9HQ-RG1uq4HwPrmaFyGiHCmLFaL3mn9nRS%2BOz1shkg@mail.gmail.com> References: <CAJ_iqtZJH5fY%2BavaRyisASVnR63XskJpQ%2BPStKckDV36emknSw@mail.gmail.com> <CAJ_iqtaBvqWG96%2B3A48Yt7QZGYQXzfbe1wHoqxw4Ac4QJz%2BREA@mail.gmail.com> <CAEJt7hZrbh%2Bawr0Snao%2Brbg9y0Pu83AZdBx0JErd1SNb6PpJzw@mail.gmail.com> <CAJ_iqtai9HQ-RG1uq4HwPrmaFyGiHCmLFaL3mn9nRS%2BOz1shkg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 24, 2014 at 2:51 PM, Torfinn Ingolfsen <tingox@gmail.com> wrote: > Sure. > tingo@kg-core1$ more test.c > #include <stdio.h> > > #define foo2(x,y) x##y > #define foo(x, y) foo2(x,y) > > typedef int foo(bar, __COUNTER__); > typedef float foo(bar, __COUNTER__); > > int main() { > printf("%d %d %d\n", foo(0, __COUNTER__), foo(1, __COUNTER__), foo(2, > __COUNTER__)); > } > tingo@kg-core1$ cc test.c > test.c:7: error: conflicting types for 'bar__COUNTER__' > test.c:6: error: previous declaration of 'bar__COUNTER__' was here > test.c:10:1: error: invalid suffix "__COUNTER__" on integer constant > test.c:10:1: error: invalid suffix "__COUNTER__" on integer constant > test.c:10:1: error: invalid suffix "__COUNTER__" on integer constant > tingo@kg-core1$ which cc > /usr/bin/cc > tingo@kg-core1$ gcc test.c > test.c:7: error: conflicting types for 'bar__COUNTER__' > test.c:6: error: previous declaration of 'bar__COUNTER__' was here > test.c:10:1: error: invalid suffix "__COUNTER__" on integer constant > test.c:10:1: error: invalid suffix "__COUNTER__" on integer constant > test.c:10:1: error: invalid suffix "__COUNTER__" on integer constant > tingo@kg-core1$ which gcc > /usr/bin/gcc > tingo@kg-core1$ cc -V > cc: '-V' option must have argument > tingo@kg-core1$ cc --version > cc (GCC) 4.2.1 20070831 patched [FreeBSD] > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > tingo@kg-core1$ gcc --version > gcc (GCC) 4.2.1 20070831 patched [FreeBSD] > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > as for make VERBOSE=1 you are thinking of the openal-soft port, right? > Here goes: > root@kg-core1# cd /usr/ports/audio/openal-soft > root@kg-core1# make clean > ===> Cleaning for openal-soft-1.16.0 > root@kg-core1# make VERBOSE=1 > ===> License LGPL20 accepted by the user > ===> Found saved configuration for openal-soft-1.16.0 > ===> openal-soft-1.16.0 depends on file: /usr/local/sbin/pkg - found > ===> Fetching all distfiles required by openal-soft-1.16.0 for building > ===> Extracting for openal-soft-1.16.0 > => SHA256 Checksum OK for openal-soft-1.16.0.tar.bz2. > ===> Patching for openal-soft-1.16.0 > ===> Applying FreeBSD patches for openal-soft-1.16.0 > ===> openal-soft-1.16.0 depends on file: /usr/local/bin/cmake - found > ===> Configuring for openal-soft-1.16.0 > ===> Performing in-source build > /bin/mkdir -p /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > Re-run cmake no build system arguments > -- The C compiler identification is GNU 4.2.1 > -- The CXX compiler identification is GNU 4.2.1 > -- Check for working C compiler: /usr/bin/cc > -- Check for working C compiler: /usr/bin/cc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Checking _FILE_OFFSET_BITS for large files > -- Checking _FILE_OFFSET_BITS for large files - not needed > -- Looking for sys/types.h > -- Looking for sys/types.h - found > -- Looking for stdint.h > -- Looking for stdint.h - found > -- Looking for stddef.h > -- Looking for stddef.h - found > -- Check size of long > -- Check size of long - done > -- Check size of long long > -- Check size of long long - done > -- Performing Test HAVE_STD_C99 > -- Performing Test HAVE_STD_C99 - Success > -- Performing Test INLINE_IS_C99 > -- Performing Test INLINE_IS_C99 - Success > -- Performing Test HAVE_C99_VLA > -- Performing Test HAVE_C99_VLA - Success > -- Performing Test HAVE_C99_BOOL > -- Performing Test HAVE_C99_BOOL - Success > -- Performing Test HAVE_C11_STATIC_ASSERT > -- Performing Test HAVE_C11_STATIC_ASSERT - Failed > -- Performing Test HAVE_C11_ALIGNAS > -- Performing Test HAVE_C11_ALIGNAS - Failed > -- Performing Test HAVE_C11_ATOMIC > -- Performing Test HAVE_C11_ATOMIC - Failed > -- Performing Test HAVE_W_EXTRA > -- Performing Test HAVE_W_EXTRA - Success > -- Performing Test HAVE_FPIC_SWITCH > -- Performing Test HAVE_FPIC_SWITCH - Success > -- Performing Test HAVE_GCC_DESTRUCTOR > -- Performing Test HAVE_GCC_DESTRUCTOR - Success > -- Performing Test HAVE_GCC_PROTECTED_VISIBILITY > -- Performing Test HAVE_GCC_PROTECTED_VISIBILITY - Success > -- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH > -- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH - Success > -- Performing Test HAVE_ATTRIBUTE_ALIGNED > -- Performing Test HAVE_ATTRIBUTE_ALIGNED - Success > -- Performing Test HAVE_MSSE_SWITCH > -- Performing Test HAVE_MSSE_SWITCH - Success > -- Performing Test HAVE_MSSE2_SWITCH > -- Performing Test HAVE_MSSE2_SWITCH - Success > -- Performing Test HAVE_MSSE4_1_SWITCH > -- Performing Test HAVE_MSSE4_1_SWITCH - Failed > -- Performing Test HAVE_GCC_FORMAT > -- Performing Test HAVE_GCC_FORMAT - Success > -- Looking for stdbool.h > -- Looking for stdbool.h - found > -- Looking for stdalign.h > -- Looking for stdalign.h - not found > -- Looking for malloc.h > -- Looking for malloc.h - not found > -- Looking for ftw.h > -- Looking for ftw.h - found > -- Looking for io.h > -- Looking for io.h - not found > -- Looking for strings.h > -- Looking for strings.h - found > -- Looking for cpuid.h > -- Looking for cpuid.h - not found > -- Looking for intrin.h > -- Looking for intrin.h - not found > -- Looking for sys/sysconf.h > -- Looking for sys/sysconf.h - not found > -- Looking for fenv.h > -- Looking for fenv.h - found > -- Looking for float.h > -- Looking for float.h - found > -- Looking for ieeefp.h > -- Looking for ieeefp.h - found > -- Looking for guiddef.h > -- Looking for guiddef.h - not found > -- Looking for initguid.h > -- Looking for initguid.h - not found > -- Looking for pow in m > -- Looking for pow in m - found > -- Looking for aligned_alloc > -- Looking for aligned_alloc - not found > -- Looking for posix_memalign > -- Looking for posix_memalign - found > -- Looking for _aligned_malloc > -- Looking for _aligned_malloc - not found > -- Looking for lrintf > -- Looking for lrintf - found > -- Looking for _controlfp > -- Looking for _controlfp - not found > -- Looking for __control87_2 > -- Looking for __control87_2 - not found > -- Looking for ftw > -- Looking for ftw - found > -- Looking for strtof > -- Looking for strtof - found > -- Looking for stat > -- Looking for stat - found > -- Looking for strcasecmp > -- Looking for strcasecmp - found > -- Looking for strncasecmp > -- Looking for strncasecmp - found > -- Looking for snprintf > -- Looking for snprintf - found > -- Looking for isfinite > -- Looking for isfinite - found > -- Looking for isnan > -- Looking for isnan - found > -- Looking for dlfcn.h > -- Looking for dlfcn.h - found > -- Looking for dlopen in dl > -- Looking for dlopen in dl - not found > -- Looking for windows.h > -- Looking for windows.h - not found > -- Looking for gettimeofday > -- Looking for gettimeofday - found > -- Looking for nanosleep > -- Looking for nanosleep - found > -- Looking for pthread.h > -- Looking for pthread.h - found > -- Looking for include files pthread.h, pthread_np.h > -- Looking for include files pthread.h, pthread_np.h - found > -- Performing Test HAVE_PTHREAD > -- Performing Test HAVE_PTHREAD - Success > -- Looking for pthread_create in pthread > -- Looking for pthread_create in pthread - found > -- Looking for pthread_setschedparam > -- Looking for pthread_setschedparam - found > -- Looking for pthread_setname_np > -- Looking for pthread_setname_np - not found > -- Looking for pthread_set_name_np > -- Looking for pthread_set_name_np - not found > -- Looking for pthread_mutexattr_setkind_np > -- Looking for pthread_mutexattr_setkind_np - found > -- Looking for pthread_mutex_timedlock > -- Looking for pthread_mutex_timedlock - found > -- Looking for xmmintrin.h > -- Looking for xmmintrin.h - found > -- Looking for emmintrin.h > -- Looking for emmintrin.h - found > -- Looking for smmintrin.h > -- Looking for smmintrin.h - not found > -- Looking for arm_neon.h > -- Looking for arm_neon.h - not found > -- Could NOT find FluidSynth (missing: FLUIDSYNTH_LIBRARIES > FLUIDSYNTH_INCLUDE_DIR) > -- Found ALSA: /usr/local/lib/libasound.so (found version "1.0.28") > -- Found OSS: /usr/include > -- Could NOT find AudioIO (missing: AUDIOIO_INCLUDE_DIR) > -- Could NOT find SoundIO (missing: SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR) > -- Could NOT find QSA (missing: QSA_LIBRARY QSA_INCLUDE_DIR) > -- Found PortAudio: /usr/local/lib/libportaudio.so > -- Found PulseAudio: /usr/local/lib/libpulse.so (found version "0.9.23") > -- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h > -- Looking for include files SLES/OpenSLES.h, SLES/OpenSLES_Android.h > - not found > -- > -- Building OpenAL with support for the following backends: > -- OSS, WaveFile, Null > -- > -- Building with support for CPU extensions: > -- Default, SSE, SSE2 > -- > -- Installing sample configuration > -- > -- Installing HRTF definitions > -- > -- Building utility programs > -- > -- Configuring done > -- Generating done > CMake Warning: > Manually-specified variables were not used by the project: > > ALSOFT_MIDI_FLUIDSYNTH > CMAKE_CXX_FLAGS_DEBUG > CMAKE_CXX_FLAGS_RELEASE > CMAKE_MODULE_LINKER_FLAGS > THREADS_HAVE_PTHREAD_ARG > > > -- Build files have been written to: > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > ===> Building for openal-soft-1.16.0 > /usr/local/bin/cmake > -H/usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > -B/usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > --check-build-system CMakeFiles/Makefile.cmake 0 > /usr/local/bin/cmake -E cmake_progress_start > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles > > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/progress.marks > /usr/bin/make -f CMakeFiles/Makefile2 all > /usr/bin/make -f CMakeFiles/common.dir/build.make > CMakeFiles/common.dir/depend > /usr/bin/make -f CMakeFiles/makehrtf.dir/build.make > CMakeFiles/makehrtf.dir/depend > cd /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 && > /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/common.dir/DependInfo.cmake > --color= > cd /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 && > /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/makehrtf.dir/DependInfo.cmake > --color= > Dependee > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/common.dir/DependInfo.cmake" > is newer than depender > > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/common.dir/depend.internal". > Dependee > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/CMakeDirectoryInformation.cmake" > is newer than depender > > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/common.dir/depend.internal". > Dependee > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/makehrtf.dir/DependInfo.cmake" > is newer than depender > > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/makehrtf.dir/depend.internal". > Dependee > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/CMakeDirectoryInformation.cmake" > is newer than depender > > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/makehrtf.dir/depend.internal". > Scanning dependencies of target common > Scanning dependencies of target makehrtf > /usr/bin/make -f CMakeFiles/common.dir/build.make > CMakeFiles/common.dir/build > /usr/bin/make -f CMakeFiles/makehrtf.dir/build.make > CMakeFiles/makehrtf.dir/build > /usr/local/bin/cmake -E cmake_progress_report > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles 5 > /usr/local/bin/cmake -E cmake_progress_report > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles 1 > /usr/local/bin/cmake -E cmake_progress_report > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles 2 > /usr/local/bin/cmake -E cmake_progress_report > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles 3 > [ 1%] [ 3%] [ 5%] Building C object CMakeFiles/common.dir/common/rwlock.c.o > Building C object CMakeFiles/common.dir/common/atomic.c.o > /usr/bin/cc -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES > -std=c99 -O2 -pipe -fno-strict-aliasing -O2 -fomit-frame-pointer > -DNDEBUG -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/include > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0 -Winline -Wall > -Wextra -fPIC -fvisibility=hidden -pthread -o > CMakeFiles/common.dir/common/atomic.c.o -c > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/common/atomic.c > [ 7%] Building C object CMakeFiles/makehrtf.dir/utils/makehrtf.c.o > /usr/bin/cc -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES > -std=c99 -O2 -pipe -fno-strict-aliasing -O2 -fomit-frame-pointer > -DNDEBUG -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/include > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0 -Winline -Wall > -Wextra -fPIC -fvisibility=hidden -pthread -o > CMakeFiles/makehrtf.dir/utils/makehrtf.c.o -c > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/utils/makehrtf.c > /usr/bin/cc -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES > -std=c99 -O2 -pipe -fno-strict-aliasing -O2 -fomit-frame-pointer > -DNDEBUG -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/include > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0 -Winline -Wall > -Wextra -fPIC -fvisibility=hidden -pthread -o > CMakeFiles/common.dir/common/rwlock.c.o -c > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/common/rwlock.c > /usr/local/bin/cmake -E cmake_progress_report > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles 4 > Building C object CMakeFiles/common.dir/common/threads.c.o > /usr/bin/cc -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES > -std=c99 -O2 -pipe -fno-strict-aliasing -O2 -fomit-frame-pointer > -DNDEBUG -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/include > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0 -Winline -Wall > -Wextra -fPIC -fvisibility=hidden -pthread -o > CMakeFiles/common.dir/common/threads.c.o -c > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/common/threads.c > [ 9%] Building C object CMakeFiles/common.dir/common/uintmap.c.o > /usr/bin/cc -D_GNU_SOURCE=1 -D_LARGEFILE_SOURCE -D_LARGE_FILES > -std=c99 -O2 -pipe -fno-strict-aliasing -O2 -fomit-frame-pointer > -DNDEBUG -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/include > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0 -Winline -Wall > -Wextra -fPIC -fvisibility=hidden -pthread -o > CMakeFiles/common.dir/common/uintmap.c.o -c > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/common/uintmap.c > Linking C static library libcommon.a > /usr/local/bin/cmake -P CMakeFiles/common.dir/cmake_clean_target.cmake > /usr/local/bin/cmake -E cmake_link_script > CMakeFiles/common.dir/link.txt --verbose=1 > /usr/bin/ar cr libcommon.a CMakeFiles/common.dir/common/atomic.c.o > CMakeFiles/common.dir/common/rwlock.c.o > CMakeFiles/common.dir/common/threads.c.o > CMakeFiles/common.dir/common/uintmap.c.o > /usr/bin/ranlib libcommon.a > /usr/local/bin/cmake -E cmake_progress_report > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles 1 2 3 > 4 > [ 9%] Built target common > /usr/bin/make -f CMakeFiles/openal.dir/build.make > CMakeFiles/openal.dir/depend > cd /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 && > /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/openal.dir/DependInfo.cmake > --color= > Dependee > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/openal.dir/DependInfo.cmake" > is newer than depender > > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/openal.dir/depend.internal". > Dependee > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/CMakeDirectoryInformation.cmake" > is newer than depender > > "/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles/openal.dir/depend.internal". > Scanning dependencies of target openal > /usr/bin/make -f CMakeFiles/openal.dir/build.make > CMakeFiles/openal.dir/build > /usr/local/bin/cmake -E cmake_progress_report > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles 6 > /usr/local/bin/cmake -E cmake_progress_report > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles 7 > /usr/local/bin/cmake -E cmake_progress_report > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles 8 > [ 11%] [ 14%] [ 14%] Building C object > CMakeFiles/openal.dir/OpenAL32/alBuffer.c.o > Building C object CMakeFiles/openal.dir/OpenAL32/alEffect.c.o > /usr/bin/cc -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_GNU_SOURCE=1 > -D_LARGEFILE_SOURCE -D_LARGE_FILES -Dopenal_EXPORTS -std=c99 -O2 -pipe > -fno-strict-aliasing -O2 -fomit-frame-pointer -DNDEBUG -fPIC > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/include > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/Include > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/Alc -Winline > -Wall -Wextra -fPIC -fvisibility=hidden -pthread -o > CMakeFiles/openal.dir/OpenAL32/alBuffer.c.o -c > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alBuffer.c > /usr/bin/cc -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_GNU_SOURCE=1 > -D_LARGEFILE_SOURCE -D_LARGE_FILES -Dopenal_EXPORTS -std=c99 -O2 -pipe > -fno-strict-aliasing -O2 -fomit-frame-pointer -DNDEBUG -fPIC > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/include > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/Include > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/Alc -Winline > -Wall -Wextra -fPIC -fvisibility=hidden -pthread -o > CMakeFiles/openal.dir/OpenAL32/alEffect.c.o -c > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alEffect.c > Building C object CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.o > /usr/bin/cc -DAL_ALEXT_PROTOTYPES -DAL_BUILD_LIBRARY -D_GNU_SOURCE=1 > -D_LARGEFILE_SOURCE -D_LARGE_FILES -Dopenal_EXPORTS -std=c99 -O2 -pipe > -fno-strict-aliasing -O2 -fomit-frame-pointer -DNDEBUG -fPIC > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/include > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0 > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/Include > -I/usr/ports/audio/openal-soft/work/openal-soft-1.16.0/Alc -Winline > -Wall -Wextra -fPIC -fvisibility=hidden -pthread -o > CMakeFiles/openal.dir/OpenAL32/alAuxEffectSlot.c.o -c > > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c > > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c: > In function 'AddEffectSlotArray': > > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393: > error: conflicting types for 'static_assertion___COUNTER__' > > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393: > error: previous declaration of 'static_assertion___COUNTER__' was here > > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393: > error: conflicting types for 'static_assertion___COUNTER__' > > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/OpenAL32/alAuxEffectSlot.c:393: > error: previous declaration of 'static_assertion___COUNTER__' was here > *** Error code 1 > 1 error > *** Error code 2 > Linking C executable makehrtf > /usr/local/bin/cmake -E cmake_link_script > CMakeFiles/makehrtf.dir/link.txt --verbose=1 > /usr/bin/cc -std=c99 -O2 -pipe -fno-strict-aliasing -O2 > -fomit-frame-pointer -DNDEBUG > CMakeFiles/makehrtf.dir/utils/makehrtf.c.o -o makehrtf -lm > /usr/local/bin/cmake -E cmake_progress_report > /usr/ports/audio/openal-soft/work/openal-soft-1.16.0/CMakeFiles 5 > [ 14%] Built target makehrtf > 1 error > *** Error code 2 > 1 error > ===> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to > the maintainer. > *** Error code 1 > > Stop in /usr/ports/audio/openal-soft. > *** Error code 1 > > Stop in /usr/ports/audio/openal-soft. > I just tried it on 8.4-RELEASE/amd64 and it failed with the same error. It seems like that the gcc on 8.4 is too old. One way to fix it is adding USE_GCC=yes to makefile. This will use gcc 4.8 by default and it builds successfully. But on later freebsd versions we can just use clang. Maintainer cc'ed. > HTH > -- > Regards, > Torfinn > -- Cheers, Henry
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEJt7hZud8mo5rQegaxc5rXmTGbaod6dWs834kZNL_95QtXgEw>