Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] Building Qt 5.4 on FreeBSD 10.1:failed to build qlalr
Qt 6.11 is out! See what's new in the release blog

[SOLVED] Building Qt 5.4 on FreeBSD 10.1:failed to build qlalr

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stephane78
    wrote on last edited by
    #1

    Hello, I try to build Qt 5.4 on FreeBSD 10.1 in release mode with the qmake.conf that I created for Qt 5.2.1.I have built libqt5core with a few corrections but I have a problem when building qlalr:undefined reference to backtrace symbols and undefined reference to backtrace. I have looked a the makefile of qlalr but I don't see why I have this error because I'm building in release mode.has someone an idea ?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stephane78
      wrote on last edited by
      #2

      I think I will remove the qlalr project of the src.pro of qtbase and configure and build qt again because qlalr is not used by qtbase....and I need only to build the module qtbase...

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stephane78
        wrote on last edited by
        #3

        I have the same problem for the tools qtdbusxml2cpp and qtdbuscpp2xml and so I have built qplatformsupport without accessibility (but it's not a problem because I don't use these library in my application) but I have the same linking problem with uic (undefined reference to backtrace symbols and undefined reference to backtrace) and I couldn't build libqt5widgets and I must find a solution (I have built libqt5core,libqt5network,libqt5dbus,libqt5gui, but not libqt5widgets)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi and welcome to devnet,

          What symbols are missing ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            stephane78
            wrote on last edited by
            #5

            Hi, backtrace symbols are missing but I think that my QT libraries are not well build because when I try to link them with the tools I have this error. I try to build Qt in shared release mode.the compiler on FreeBSD 10.1 is clang 3.4

            1 Reply Last reply
            0
            • S Offline
              S Offline
              stephane78
              wrote on last edited by
              #6

              The problem is solved,I have added -L/usr/lib -lexecinfo to the makefiles of the tools of Qt and I could compile the module Qtbase,the tools of Qtbase and other Qt librairies.but I added this too the makefile of my projects.so I think I should have add QMAKE_LIBS= -lexecinfo to the qmake.conf of my mkspecs(didn't try this last thing) to avoid adding this to each makefile.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved