Opened 6 months ago

Closed 5 months ago

#70089 closed defect (fixed)

vtk @8.2.0 fails to compile: ld: duplicate symbol _exodus_unused_symbol_dummy_1

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: stromnov (Andrey Stromnov), Dave-Allured (Dave Allured)
Port: vtk

Description

Looks like a bug:

:info:build [ 20%] Building CXX object Common/Core/CMakeFiles/vtkCommonCore.dir/vtkInformationStringKey.cxx.o
:info:build cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/build/Common/Core && /opt/local/bin/mpicxx-mpich-gcc13 -DVTK_IN_VTK -DvtkCommonCore_EXPORTS -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/build/Common/DataModel -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/build/Common/Core -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/VTK-8.2.0/Common/Core -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/build/Utilities/KWIML -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/VTK-8.2.0/Utilities/KWIML -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/build/Utilities/KWSys -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/VTK-8.2.0/Utilities/KWSys -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/build/ThirdParty/utf8 -I/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/VTK-8.2.0/ThirdParty/utf8 -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0  -std=c++11 -arch ppc -mmacosx-version-min=10.6 -fPIC -fvisibility=hidden -MD -MT Common/Core/CMakeFiles/vtkCommonCore.dir/vtkInformationStringKey.cxx.o -MF CMakeFiles/vtkCommonCore.dir/vtkInformationStringKey.cxx.o.d -o CMakeFiles/vtkCommonCore.dir/vtkInformationStringKey.cxx.o -c /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/VTK-8.2.0/Common/Core/vtkInformationStringKey.cxx
:info:build ld: duplicate symbol _exodus_unused_symbol_dummy_1 in CMakeFiles/vtkexodusII.dir/src/ex_open_par.c.o and CMakeFiles/vtkexodusII.dir/src/ex_create_par.c.o
:info:build collect2: error: ld returned 1 exit status
:info:build make[2]: *** [lib/libvtkexodusII-8.2.1.dylib] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/build'
:info:build make[1]: *** [ThirdParty/exodusII/vtkexodusII/CMakeFiles/vtkexodusII.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....

Change History (9)

comment:1 Changed 6 months ago by Dave-Allured (Dave Allured)

Context please. VTK is at 9.3.0 on Macports. What are you trying to do with a down level version?

comment:2 in reply to:  1 Changed 5 months ago by barracuda156

Replying to Dave-Allured:

Context please. VTK is at 9.3.0 on Macports. What are you trying to do with a down level version?

I need to check this. Either it got updated after I copied the port to a local overlay or 9.3.0 was broken beyond what I considered reasonable to try fixing.

Will update on this today.

comment:3 Changed 5 months ago by barracuda156

I don’t remember if I even tried to build 9.3.0, since portfile declares 10.7+. But worth trying to fix that, rather than an old version. Will see if that works.

comment:4 in reply to:  1 Changed 5 months ago by barracuda156

Replying to Dave-Allured:

Just in case, does this thing really need all that stuff as bundled duplicates? It build Proj, for example, which we have in MacPorts in every thinkable version. It also build a duplicate of hdf5.

comment:5 Changed 5 months ago by barracuda156

I am still at 65%, this takes forever to build, but so far only a few trivial errors requiring minimal and used in other ports fixes.

comment:6 Changed 5 months ago by Dave-Allured (Dave Allured)

VTK has configure options to use either bundled packages, or external versions. When I got involved with this port, I chose to stay with the default bundled options as the path of least resistance. See the end of this conversation, where upstream explains why they favor bundled versions.

https://discourse.vtk.org/t/hdf5-version-support/12261

For Macports, It would be constructive to switch to external packages, but some debugging of API version changes might be needed. Please give that a try if you want to spend time on it.

comment:7 Changed 5 months ago by barracuda156

Support for 10.6 for Cocoa was dropped in https://github.com/Kitware/VTK/commit/f2e249c0a6a93f12808822cc5e5dddda35a09a35

And yes, it is broken now pretty badly. Also, restoring the older code may not suffice for PowerPC systems, since our 10.6 SDK is not exactly the same with x86, so I will not bother with it. Instead, rather switch it to X11, conditionally on the OS version. Since the Cocoa requires 10.7+, I can conveniently ignore ppc and use X11 on everything <10.7.

Soon will see if that works. Another option is SDL2. If neither works, then it is unfixable.

UPD. X11 might work, but need some fixes:

[ 95%] Linking CXX shared library ../../lib/libvtkRenderingOpenGL2-9.3.dylib
cd /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/build/Rendering/OpenGL2 && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/RenderingOpenGL2.dir/link.txt --verbose=ON
/opt/local/bin/mpicxx-mpich-gcc13 -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0  -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.6 -dynamiclib -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc  -compatibility_version 1.0.0 -current_version 9.3.0 -o ../../lib/libvtkRenderingOpenGL2-9.3.9.3.dylib -install_name @rpath/libvtkRenderingOpenGL2-9.3.1.dylib CMakeFiles/RenderingOpenGL2.dir/vtkDepthOfFieldPassFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkDepthPeelingPassFinalFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkDepthPeelingPassIntermediateFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkEDLBilateralFilterFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkEDLComposeFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkEDLShadeFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkFXAAFilterFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkFluidMapperDepthFilterBiGaussFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkFluidMapperDepthFilterNarrowRangeFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkFluidMapperSurfaceNormalFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkFluidMapperThicknessAndVolumeColorFilterFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkFluidMapperFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkFluidMapperFinalFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkFluidMapperGS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkFluidMapperVS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkGaussianBlurPassFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkGaussianBlurPassVS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkGlyph3DVS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOrderIndependentTranslucentPassFinalFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOutlineGlowBlurPassFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOutlineGlowUpscalePassFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPBRFunctions.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPointFillPassFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPointGaussianVS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPointGaussianGS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPolyData2DFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPolyData2DVS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPolyDataFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPolyDataVS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPolyDataEdgesGS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPolyDataWideLineGS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkSSAAPassFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkSimpleMotionBlurPassFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkSobelGradientMagnitudePass1FS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkSobelGradientMagnitudePass2FS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkSphereMapperGS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkStickMapperGS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkTextureObjectFS.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkTextureObjectVS.cxx.o CMakeFiles/RenderingOpenGL2.dir/BlueNoiseTexture64x64.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkRenderingOpenGL2ObjectFactory.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkCameraPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkClearRGBPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkClearZPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkCompositePolyDataMapper2.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkDataTransferHelper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkDefaultPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkDepthImageProcessingPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkDepthOfFieldPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkDepthPeelingPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkDualDepthPeelingPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkEDLShading.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkEquirectangularToCubeMapTexture.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkFramebufferPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkGaussianBlurPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkGenericOpenGLRenderWindow.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkHiddenLineRemovalPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkImageProcessingPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkLightingMapPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkLightsPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpaquePass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLActor.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLBatchedPolyDataMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLBillboardTextActor3D.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLBufferObject.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLCamera.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLCellToVTKCellMap.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLCompositePolyDataMapperDelegator.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLFXAAFilter.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLFXAAPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLFluidMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLFramebufferObject.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLGL2PSHelper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLGlyph3DHelper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLGlyph3DMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLHardwareSelector.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLHelper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLHyperTreeGridMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLImageAlgorithmHelper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLImageMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLImageSliceMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLIndexBufferObject.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLInstanceCulling.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLLabeledContourMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLLight.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLPointGaussianMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLPolyDataMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLPolyDataMapper2D.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLProperty.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLQuadHelper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLRenderPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLRenderTimer.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLRenderTimerLog.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLRenderUtilities.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLRenderWindow.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLRenderer.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLShaderCache.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLShaderProperty.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLSkybox.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLSphereMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLState.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLStickMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLTextActor.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLTextActor3D.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLTextMapper.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLTexture.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLUniforms.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLVertexArrayObject.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLVertexBufferObject.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLVertexBufferObjectCache.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOpenGLVertexBufferObjectGroup.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOrderIndependentTranslucentPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOutlineGlowPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkOverlayPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPBRIrradianceTexture.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPBRLUTTexture.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPBRPrefilterTexture.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPanoramicProjectionPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPixelBufferObject.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkPointFillPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkRenderPassCollection.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkRenderStepsPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkRenderbuffer.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkSSAAPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkSSAOPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkSequencePass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkShader.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkShaderProgram.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkShadowMapBakerPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkShadowMapPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkSimpleMotionBlurPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkSobelGradientMagnitudePass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkTextureObject.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkTextureUnitManager.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkToneMappingPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkTransformFeedback.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkTranslucentPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkValuePass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkVolumetricPass.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkDummyGPUInfoList.cxx.o CMakeFiles/RenderingOpenGL2.dir/vtkXOpenGLRenderWindow.cxx.o  -Wl,-rpath,/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_graphics_vtk/vtk/work/build/lib ../../lib/libvtkIOImage-9.3.9.3.dylib ../../lib/libvtkRenderingHyperTreeGrid-9.3.9.3.dylib ../../lib/libvtkRenderingUI-9.3.9.3.dylib ../../lib/libvtkglew-9.3.9.3.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libXcursor.dylib ../../lib/libvtkImagingCore-9.3.9.3.dylib ../../lib/libvtkRenderingCore-9.3.9.3.dylib ../../lib/libvtkFiltersGeneral-9.3.9.3.dylib ../../lib/libvtkFiltersCore-9.3.9.3.dylib ../../lib/libvtkCommonExecutionModel-9.3.9.3.dylib ../../lib/libvtkCommonDataModel-9.3.9.3.dylib ../../lib/libvtkCommonSystem-9.3.9.3.dylib ../../lib/libvtkCommonTransforms-9.3.9.3.dylib -latomic ../../lib/libvtkCommonMisc-9.3.9.3.dylib ../../lib/libvtkCommonMath-9.3.9.3.dylib ../../lib/libvtkCommonCore-9.3.9.3.dylib ../../lib/libvtkkissfft-9.3.9.3.dylib ../../lib/libvtksys-9.3.9.3.dylib /opt/local/lib/libX11.dylib -framework OpenGL /opt/local/lib/libXrender.dylib /opt/local/lib/libXfixes.dylib /opt/local/lib/libX11.dylib
ld: warning: duplicate dylib /opt/local/lib/libX11.dylib
Undefined symbols:
  "_glXGetProcAddressARB", referenced from:
      __ZN22vtkXOpenGLRenderWindow14SetSwapControlEi in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow13CreateAWindowEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXMakeCurrent", referenced from:
      __ZN22vtkXOpenGLRenderWindow11MakeCurrentEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow11MakeCurrentEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow14ReleaseCurrentEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow10PopContextEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow8IsDirectEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow16WindowInitializeEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow13DestroyWindowEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow13DestroyWindowEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindowD1Ev in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindowD1Ev in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow8FinalizeEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow8FinalizeEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow11WindowRemapEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow11WindowRemapEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow18ReportCapabilitiesEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow11PushContextEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow5FrameEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXCreateContext", referenced from:
      __ZN22vtkXOpenGLRenderWindow13CreateAWindowEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXIsDirect", referenced from:
      __ZN22vtkXOpenGLRenderWindow8IsDirectEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXGetCurrentDisplay", referenced from:
      __ZN22vtkXOpenGLRenderWindow11PushContextEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow11PushContextEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow28InitializeFromCurrentContextEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXGetVisualFromFBConfig", referenced from:
      __ZN22vtkXOpenGLRenderWindow20GetDesiredVisualInfoEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow13CreateAWindowEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXGetCurrentContext", referenced from:
      __ZN22vtkXOpenGLRenderWindow9IsCurrentEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow11MakeCurrentEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow14ReleaseCurrentEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow10PopContextEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow8IsDirectEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow16WindowInitializeEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow13DestroyWindowEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindowD1Ev in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow8FinalizeEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow11WindowRemapEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow18ReportCapabilitiesEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow11PushContextEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow11PushContextEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow5FrameEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow28InitializeFromCurrentContextEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXGetClientString", referenced from:
      __ZN22vtkXOpenGLRenderWindow18ReportCapabilitiesEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow18ReportCapabilitiesEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXChooseFBConfig", referenced from:
      __Z36vtkXOpenGLRenderWindowTryForFBConfigP9_XDisplayiiiib in vtkXOpenGLRenderWindow.cxx.o
      __Z40vtkXOpenGLRenderWindowGetDesiredFBConfigP9_XDisplayRiS1_iS1_b in vtkXOpenGLRenderWindow.cxx.o
      __Z40vtkXOpenGLRenderWindowGetDesiredFBConfigP9_XDisplayRiS1_iS1_b in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow20GetDesiredVisualInfoEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow20GetDesiredVisualInfoEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXQueryServerString", referenced from:
      __ZN22vtkXOpenGLRenderWindow18ReportCapabilitiesEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow18ReportCapabilitiesEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow18ReportCapabilitiesEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXGetCurrentDrawable", referenced from:
      __ZN22vtkXOpenGLRenderWindow11PushContextEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow11PushContextEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow28InitializeFromCurrentContextEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow28InitializeFromCurrentContextEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXGetFBConfigs", referenced from:
      __ZN22vtkXOpenGLRenderWindow13CreateAWindowEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXQueryExtensionsString", referenced from:
      __ZN22vtkXOpenGLRenderWindow18ReportCapabilitiesEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXSwapBuffers", referenced from:
      __ZN22vtkXOpenGLRenderWindow5FrameEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXDestroyContext", referenced from:
      __ZN22vtkXOpenGLRenderWindow13DestroyWindowEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindowD1Ev in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow8FinalizeEv in vtkXOpenGLRenderWindow.cxx.o
      __ZN22vtkXOpenGLRenderWindow11WindowRemapEv in vtkXOpenGLRenderWindow.cxx.o
  "_glXQueryExtension", referenced from:
      __ZN22vtkXOpenGLRenderWindow13CreateAWindowEv in vtkXOpenGLRenderWindow.cxx.o
ld: symbol(s) not found
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libvtkRenderingOpenGL2-9.3.9.3.dylib] Error 1
Last edited 5 months ago by barracuda156 (previous) (diff)

comment:8 in reply to:  6 Changed 5 months ago by barracuda156

comment:9 Changed 5 months ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In 609fb2e2f7980e2caf7ba81b04e68938b386dee5/macports-ports (master):

vtk: fix build on < 10.7

Closes: #70089

Note: See TracTickets for help on using tickets.