Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. qt5.5 cross-compilation gstreamer error

qt5.5 cross-compilation gstreamer error

Scheduled Pinned Locked Moved Solved Mobile and Embedded
21 Posts 3 Posters 10.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.
  • U Offline
    U Offline
    unnamed
    wrote on last edited by
    #11

    on my target :)

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

      Did you re-do the configuration after installing the missing dependencies ?

      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
      • U Offline
        U Offline
        unnamed
        wrote on last edited by
        #13

        yes, many times.
        every time i change something in my setup i do
        make clean
        new ./configure command to try with different options
        make

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

          make clean is not enough, you need to start from a clean state.

          I recommend out of source builds so when something goes wrong you can just nuke the folder and you don't pollute the sources.

          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
          • U Offline
            U Offline
            unnamed
            wrote on last edited by unnamed
            #15

            ok, i'am going to try today, so i need to remove whole Src folder, redownload and rerun whole process ?

            //edit
            same thing happened. i have completly removed Src folder, and redownloaded it with qt "maintaince tool"
            i'am stuck at:
            ###############################################################################################
            eventtransition.o -lpthread -lz -lpcre16 -lm -ldl -lrt
            .obj/qregularexpression.o: In function pcre16SafeExec(real_pcre16 const*, pcre16_extra const*, unsigned short const*, int, int, int, int*, int)': qregularexpression.cpp:(.text+0x264): undefined reference to pcre16_exec'
            qregularexpression.cpp:(.text+0x2cc): undefined reference to pcre16_jit_stack_alloc' qregularexpression.cpp:(.text+0x334): undefined reference to pcre16_exec'
            .obj/qregularexpression.o: In function QRegularExpressionPrivate::~QRegularExpressionPrivate()': qregularexpression.cpp:(.text+0x574): undefined reference to pcre16_free_study'
            qregularexpression.cpp:(.text+0x610): undefined reference to pcre16_free' .obj/qregularexpression.o: In function QRegularExpressionPrivate::cleanCompiledPattern()':
            qregularexpression.cpp:(.text+0x6cc): undefined reference to pcre16_free_study' qregularexpression.cpp:(.text+0x6f8): undefined reference to pcre16_free'
            .obj/qregularexpression.o: In function QRegularExpressionPrivate::getPatternInfo()': qregularexpression.cpp:(.text+0x718): undefined reference to pcre16_fullinfo'
            qregularexpression.cpp:(.text+0x72c): undefined reference to pcre16_fullinfo' qregularexpression.cpp:(.text+0x780): undefined reference to pcre16_fullinfo'
            qregularexpression.cpp:(.text+0x7a4): undefined reference to pcre16_config' .obj/qregularexpression.o: In function QRegularExpressionPrivate::compilePattern()':
            qregularexpression.cpp:(.text+0xa00): undefined reference to pcre16_free_study' qregularexpression.cpp:(.text+0xa80): undefined reference to pcre16_compile2'
            qregularexpression.cpp:(.text+0xae4): undefined reference to pcre16_free' .obj/qregularexpression.o: In function QRegularExpressionPrivate::optimizePattern(QRegularExpressionPrivate::OptimizePatternOption)':
            qregularexpression.cpp:(.text+0xb70): undefined reference to pcre16_study' qregularexpression.cpp:(.text+0xc78): undefined reference to pcre16_assign_jit_stack'
            .obj/qregularexpression.o: In function QRegularExpressionPrivate::captureIndexForName(QString const&) const': qregularexpression.cpp:(.text+0xd48): undefined reference to pcre16_get_stringnumber'
            .obj/qregularexpression.o: In function QRegularExpressionMatch::capturedRef(QString const&) const': qregularexpression.cpp:(.text+0x17a4): undefined reference to pcre16_get_stringnumber'
            .obj/qregularexpression.o: In function QRegularExpressionMatch::captured(QString const&) const': qregularexpression.cpp:(.text+0x1904): undefined reference to pcre16_get_stringnumber'
            .obj/qregularexpression.o: In function QRegularExpressionMatch::capturedStart(QString const&) const': qregularexpression.cpp:(.text+0x19c8): undefined reference to pcre16_get_stringnumber'
            .obj/qregularexpression.o: In function QRegularExpressionMatch::capturedLength(QString const&) const': qregularexpression.cpp:(.text+0x1a6c): undefined reference to pcre16_get_stringnumber'
            .obj/qregularexpression.o:qregularexpression.cpp:(.text+0x1b10): more undefined references to pcre16_get_stringnumber' follow .obj/qregularexpression.o: In function QRegularExpression::namedCaptureGroups() const':
            qregularexpression.cpp:(.text+0x4090): undefined reference to pcre16_fullinfo' qregularexpression.cpp:(.text+0x40a8): undefined reference to pcre16_fullinfo'
            qregularexpression.cpp:(.text+0x40c0): undefined reference to pcre16_fullinfo' .obj/qregularexpression.o: In function QThreadStorage<QPcreJitStackPointer*>::deleteData(void*)':
            qregularexpression.cpp:(.text._ZN14QThreadStorageIP20QPcreJitStackPointerE10deleteDataEPv[_ZN14QThreadStorageIP20QPcreJitStackPointerE10deleteDataEPv]+0x18): undefined reference to `pcre16_jit_stack_free'
            collect2: error: ld returned 1 exit status
            make[3]: *** [../../lib/libQt5Core.so.5.5.1] Error 1
            make[2]: *** [sub-corelib-make_first] Error 2
            make[1]: *** [sub-src-make_first] Error 2
            make: *** [module-qtbase-make_first] Error 2
            ###############################################################################################

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

              What distribution are you running on your Pi ?

              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
              • U Offline
                U Offline
                unnamed
                wrote on last edited by
                #17

                newest jessie

                hmm i searched my mac for pcre libs as i think that something confuses qt and i found one occurence of libpcre16 located in /brew2/local/Cellar/pcre
                its dependency for something installed via homebrew
                is it possible that its source of my failures ? :)

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

                  That possibly can interfere. Note that I'm more used to cross-compilation from Linux host. It make things way easier.

                  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
                  • U Offline
                    U Offline
                    unnamed
                    wrote on last edited by
                    #19

                    after 2 weeks got it working... tried on my macbook air with almost clean el capitan :)
                    to many libs, projects, work stuff on my mac pro and i can't find the problem, maybe something connected to homebrew (something like apt-get in linux) installations.

                    for anyone who stumble upon this thread that should be a good lesson -> clean system = simple compilation :)

                    thanks for help SGaist :)

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

                      Good !

                      You're welcome !

                      Then please, mark the thread as solved using the "Topic Tool" button so other forum users may know a solution has been found :)

                      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
                      • U unnamed

                        got it working, i have added -lpcre to pkg-config file o glib :)

                        D Offline
                        D Offline
                        DarCom
                        wrote on last edited by
                        #21

                        @unnamed
                        Hi.
                        I encountered same problem, would you please tell what did you do to solve the problem?
                        By the way, what do you mean by " i have added -lpcre to pkg-config file o glib :)"?
                        Thanks in advance.

                        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