[MacPorts] #32245: openal: error: redefinition of parameter 'inBuffer' (was: openal port fails to build on Lion with Xcode 4.2.1)
MacPorts
noreply at macports.org
Thu Nov 24 17:17:38 PST 2011
#32245: openal: error: redefinition of parameter 'inBuffer'
-------------------------------------+--------------------------------------
Reporter: bernard@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: clang | Port: openal
-------------------------------------+--------------------------------------
Changes (by ryandesign@…):
* keywords: => clang
Old description:
> 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);
New description:
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);
}}}
--
Comment:
Please remember to use WikiFormatting.
I see you're using clang. Have you tried [wiki:ProblemHotlist#compiler
building with llvm-gcc-4.2 or gcc-4.2 instead]? Let us know whether or not
it works.
--
Ticket URL: <https://trac.macports.org/ticket/32245#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list