Opened 12 years ago

Last modified 3 years ago

#32245 new defect

openal: error: redefinition of parameter 'inBuffer' — at Version 1

Reported by: bernard@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
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);

Change History (4)

Changed 12 years ago by bernard@…

Attachment: main.log added

port build log file

comment:1 Changed 12 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.1openal: 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.

Changed 12 years ago by bernard@…

Attachment: main.2.log added

configure.compiler=llvm-gcc-4.2

Changed 12 years ago by bernard@…

Attachment: main.3.log added

configure.compiler=clang

Note: See TracTickets for help on using tickets.