Menu

#5 Panini build fails with --no-add-needed

open
nobody
None
5
2014-12-06
2010-01-11
No

Fedora F13 will switch from linking with --add-needed to --no-add-needed, this breaks the Panini package:
https://fedoraproject.org/wiki/UnderstandingDSOLinkChange

g++ -Wl,-O1 -o Panini build/main.o build/pvQtPic.o build/pvQtView.o build/MainWindow.o build/GLwindow.o build/pvQt_QTVR.o build/picTypeDialog.o build/pictureTypes.o build/panosurface.o build/panosphere.o build/panocylinder.o build/TurnDialog.o build/About.o build/moc_pvQtPic.o build/moc_CubeLimit_dialog.o build/moc_pvQtView.o build/moc_MainWindow.o build/moc_GLwindow.o build/moc_picTypeDialog.o build/moc_About.o build/moc_pvQtMouseModes.o build/moc_TurnDialog.o build/qrc_PaniniIcon.o -L/usr/X11R6/lib -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lpthread
make[1]: Leaving directory `/builddir/build/BUILD/Panini-0.71.103-src'

/usr/bin/ld.bfd: build/pvQt_QTVR.o: undefined reference to symbol 'inflate'
/usr/bin/ld.bfd: note: 'inflate' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line

Related

Bugs: #5
Bugs: #7

Discussion

  • Beep6581

    Beep6581 - 2014-12-04

    Run: qmake panini.pro
    Edit: Makefile.Release
    To the end of LIBS add: -lz -lGLU
    Run: make -j8 release

     
  • Tom Sharpless

    Tom Sharpless - 2014-12-05

    Can't tell from this what is broken. Have not built Panini 0.7 myself since 2010, so a bit rusty. I would suggest you consider a more reactive policy, i.e. if it ain't broke, don't fix it. 'Cause a lot of the hypothetical failures you are hoping to prevent will never actually happen.

     
  • Beep6581

    Beep6581 - 2014-12-05

    Compilation failed for me as it did for Bruno almost 5 years ago, and I posted the solution. No idea what you're talking about in the rest of your response.

     
    • Tom Sharpless

      Tom Sharpless - 2014-12-06

      Sorry if I'm confusing an old issue with a new one. I got the impression
      there was a new failure, elicited by a new Fedora policy disallowing
      implicit linking, and was speaking against that policy. All of which may
      actually be old news -- I don't actually know what triggered this
      notification. Merry Christmas 2014.

      On Fri, Dec 5, 2014 at 6:58 PM, Beep6581 beep6581@users.sf.net wrote:

      Compilation failed for me as it did for Bruno almost 5 years ago, and I
      posted the solution. No idea what you're talking about in the rest of your
      response.


      Status: open
      Group:
      Created: Mon Jan 11, 2010 09:27 PM UTC by Bruno Postle
      Last Updated: Fri Dec 05, 2014 07:48 PM UTC
      Owner: nobody

      Fedora F13 will switch from linking with --add-needed to --no-add-needed,
      this breaks the Panini package:
      https://fedoraproject.org/wiki/UnderstandingDSOLinkChange

      g++ -Wl,-O1 -o Panini build/main.o build/pvQtPic.o build/pvQtView.o
      build/MainWindow.o build/GLwindow.o build/pvQt_QTVR.o build/picTypeDialog.o
      build/pictureTypes.o build/panosurface.o build/panosphere.o
      build/panocylinder.o build/TurnDialog.o build/About.o build/moc_pvQtPic.o
      build/moc_CubeLimit_dialog.o build/moc_pvQtView.o build/moc_MainWindow.o
      build/moc_GLwindow.o build/moc_picTypeDialog.o build/moc_About.o
      build/moc_pvQtMouseModes.o build/moc_TurnDialog.o build/qrc_PaniniIcon.o
      -L/usr/X11R6/lib -lQtOpenGL -lQtGui -lQtCore -lGLU -lGL -lpthread
      make[1]: Leaving directory `/builddir/build/BUILD/Panini-0.71.103-src'

      /usr/bin/ld.bfd: build/pvQt_QTVR.o: undefined reference to symbol 'inflate'
      /usr/bin/ld.bfd: note: 'inflate' is defined in DSO /lib/libz.so.1 so try
      adding it to the linker command line


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/pvqt/bugs/5/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #5

  • Beep6581

    Beep6581 - 2014-12-06

    While cleaning out old cache files from my disk I found a Panini cache folder, and decided to give Panini another spin - that's when I ran into the same problem Bruno reported. I'm running an up-to-date Gentoo.
    Merry Christmas! :)

     
  • Beep6581

    Beep6581 - 2014-12-06

    "It can't be very up-to-date if you're using Panini! Ho ho ho!" - Santa ;]

     

    Last edit: Beep6581 2014-12-06

Log in to post a comment.