Opened 13 years ago
Last modified 3 years ago
#32245 new defect
openal: error: redefinition of parameter 'inBuffer'
Reported by: | bernard@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | robink@…, cooljeanius (Eric Gallager) | |
Port: | openal |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The penal port fails to build with errors like the following.
/Developer/usr/bin/clang -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -Wno-trigraphs -fpascal-strings -Os -Wno-return-type -Wparentheses -Wswitch -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-shorten-64-to-32 -Wc++0x-extensions -fasm-blocks -mmacosx-version-min=10.7 -gdwarf-2 -fvisibility-inlines-hidden -Wno-sign-conversion -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/work/openal-1.3/OpenAL-MacOSX/build/OpenAL.build/Deployment/OpenAL.build/OpenAL.hmap -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/work/openal-1.3/OpenAL-MacOSX/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/work/openal-1.3/OpenAL-MacOSX/build/OpenAL.build/Deployment/OpenAL.build/DerivedSources/x86_64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/work/openal-1.3/OpenAL-MacOSX/build/OpenAL.build/Deployment/OpenAL.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/work/openal-1.3/OpenAL-MacOSX/build/Deployment -D__MACOSX__ -MMD -MT dependencies -MF /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/work/openal-1.3/OpenAL-MacOSX/build/OpenAL.build/Deployment/OpenAL.build/Objects-normal/x86_64/oalImp.d -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/work/openal-1.3/OpenAL-MacOSX/oalImp.cpp -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/work/openal-1.3/OpenAL-MacOSX/build/OpenAL.build/Deployment/OpenAL.build/Objects-normal/x86_64/oalImp.o In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/work/openal-1.3/OpenAL-MacOSX/oalImp.cpp:30: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_openal/openal/work/openal-1.3/OpenAL-MacOSX/oalSource.h:518:46: error: redefinition of parameter 'inBuffer' void SetBuffer (ALuint inBuffer, OALBuffer *inBuffer);
Attachments (4)
Change History (10)
Changed 13 years ago by bernard@…
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | clang added |
Summary: | openal port fails to build on Lion with Xcode 4.2.1 → openal: error: redefinition of parameter 'inBuffer' |
Please remember to use WikiFormatting.
I see you're using clang. Have you tried building with llvm-gcc-4.2 or gcc-4.2 instead? Let us know whether or not it works.
comment:2 Changed 13 years ago by bernard@…
Thanks for those links.
I've found that in Xcode 4.2.1 the gcc-4.2 compiler is no longer installed. Instead only llvm-gcc-4.2 and clang are installed. I've tried with both of these compilers and they both fail. See attached logs for clang and llvm-gcc-4.2 compilers
Changed 13 years ago by bernard@…
Attachment: | main.4.log added |
---|
configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Hmm, the attempt to use apple-gcc-4.2 does not appear to have been successful: although MacPorts says "Using compiler 'MacPorts Apple gcc 4.2'
" the log also shows lines like "CompileC build/OpenAL.build/Deployment/OpenAL.build/Objects-normal/x86_64/oalImp.o oalImp.cpp normal x86_64 c++ com.apple.compilers.llvmgcc42
". Perhaps the Xcode project file is specifying the compiler somewhere.
comment:5 Changed 12 years ago by jmroot (Joshua Root)
Keywords: | clang removed |
---|
comment:6 Changed 3 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
port build log file