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. Re-question) Poppler arm cross compile error
Forum Updated to NodeBB v4.3 + New Features

Re-question) Poppler arm cross compile error

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
qt 4.8 poppler
10 Posts 3 Posters 1.0k 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.
  • H Offline
    H Offline
    Hwanwoo
    wrote on last edited by
    #1

    Hello
    I am trying to install poppler.
    I had to compile arm cross.
    https://stackoverflow.com/questions/11000901/cross-compiling-poppler-qt4
    I entered the command referring to the above site.

    ./configure --host=arm-none-linux-gnueabi
    
    make && make install
    
    

    Compilation seemed to have been completed successfully, but when I try to build, I get an error.

    /opt/arm-qte-4.8.5_package/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/local/lib/libpoppler-qt4.so when searching for -lpoppler-qt4
    /opt/arm-qte-4.8.5_package/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/local/lib/libpoppler-qt4.a when searching for -lpoppler-qt4
    /opt/arm-qte-4.8.5_package/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lpoppler-qt4
    

    prokect_error.png
    poppler_0.24.5.png file_path.png

    I have confirmed that it is a pdf in the Ubuntu environment.

    It needs to be able to post on the target board (arm-cross-compile)
    pdf.png

    The build will not continue, please help

    I'm posting a question using a translator, so please tell me if you have any sentences that I don't understand.

    jsulmJ 1 Reply Last reply
    0
    • H Hwanwoo

      Hello
      I am trying to install poppler.
      I had to compile arm cross.
      https://stackoverflow.com/questions/11000901/cross-compiling-poppler-qt4
      I entered the command referring to the above site.

      ./configure --host=arm-none-linux-gnueabi
      
      make && make install
      
      

      Compilation seemed to have been completed successfully, but when I try to build, I get an error.

      /opt/arm-qte-4.8.5_package/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/local/lib/libpoppler-qt4.so when searching for -lpoppler-qt4
      /opt/arm-qte-4.8.5_package/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /usr/local/lib/libpoppler-qt4.a when searching for -lpoppler-qt4
      /opt/arm-qte-4.8.5_package/4.5.1/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lpoppler-qt4
      

      prokect_error.png
      poppler_0.24.5.png file_path.png

      I have confirmed that it is a pdf in the Ubuntu environment.

      It needs to be able to post on the target board (arm-cross-compile)
      pdf.png

      The build will not continue, please help

      I'm posting a question using a translator, so please tell me if you have any sentences that I don't understand.

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Hwanwoo What does

      file /usr/local/lib/libpoppler-qt4.so
      

      say?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      H 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Hwanwoo What does

        file /usr/local/lib/libpoppler-qt4.so
        

        say?

        H Offline
        H Offline
        Hwanwoo
        wrote on last edited by
        #3

        @jsulm

        ./configure --host=arm-none-linux-gnueabi
        
        make && make install
        

        This is the file that was compiled in the above manner

        What's wrong with libpoppler-qt4.so?

        jsulmJ 1 Reply Last reply
        0
        • H Hwanwoo

          @jsulm

          ./configure --host=arm-none-linux-gnueabi
          
          make && make install
          

          This is the file that was compiled in the above manner

          What's wrong with libpoppler-qt4.so?

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Hwanwoo said in Re-question) Poppler arm cross compile error:

          What's wrong with libpoppler-qt4.so?

          Can you please do what I suggested and post the output here?
          I'm not going to guess what is wrong...

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          H 1 Reply Last reply
          0
          • jsulmJ jsulm

            @Hwanwoo said in Re-question) Poppler arm cross compile error:

            What's wrong with libpoppler-qt4.so?

            Can you please do what I suggested and post the output here?
            I'm not going to guess what is wrong...

            H Offline
            H Offline
            Hwanwoo
            wrote on last edited by
            #5

            @jsulm
            file.png

            Is it right to do this?

            I'm sorry I don't understand the meaning.

            jsulmJ 1 Reply Last reply
            0
            • H Hwanwoo

              @jsulm
              file.png

              Is it right to do this?

              I'm sorry I don't understand the meaning.

              jsulmJ Online
              jsulmJ Online
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Hwanwoo So, now do

              file /usr/local/lib/libpoppler-qt4.so.4.3.0
              

              and post the output.

              Also, better post text instead of screen-shots.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              H 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Hwanwoo So, now do

                file /usr/local/lib/libpoppler-qt4.so.4.3.0
                

                and post the output.

                Also, better post text instead of screen-shots.

                H Offline
                H Offline
                Hwanwoo
                wrote on last edited by
                #7

                @jsulm
                It comes out like this.

                root@kimtaeyong-virtual-machine:~# file /usr/local/lib/libpoppler-qt4.so.4.3.0
                /usr/local/lib/libpoppler-qt4.so.4.3.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=0xa8ed717c7265155bda90135bb5e0ccf0b1a52e10, not stripped
                
                
                jsulmJ 1 Reply Last reply
                0
                • H Hwanwoo

                  @jsulm
                  It comes out like this.

                  root@kimtaeyong-virtual-machine:~# file /usr/local/lib/libpoppler-qt4.so.4.3.0
                  /usr/local/lib/libpoppler-qt4.so.4.3.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=0xa8ed717c7265155bda90135bb5e0ccf0b1a52e10, not stripped
                  
                  
                  jsulmJ Online
                  jsulmJ Online
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Hwanwoo said in Re-question) Poppler arm cross compile error:

                  ELF 32-bit LSB shared object, Intel 80386

                  It's not an ARM binary.
                  Either this is not what you built or you build for x86 not ARM.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  H 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @Hwanwoo said in Re-question) Poppler arm cross compile error:

                    ELF 32-bit LSB shared object, Intel 80386

                    It's not an ARM binary.
                    Either this is not what you built or you build for x86 not ARM.

                    H Offline
                    H Offline
                    Hwanwoo
                    wrote on last edited by
                    #9

                    @jsulm

                    ./configure --host=arm-none-linux-gnueabi
                    

                    I need to change configure.
                    I will look for other commands.

                    Pablo J. RoginaP 1 Reply Last reply
                    0
                    • H Hwanwoo

                      @jsulm

                      ./configure --host=arm-none-linux-gnueabi
                      

                      I need to change configure.
                      I will look for other commands.

                      Pablo J. RoginaP Offline
                      Pablo J. RoginaP Offline
                      Pablo J. Rogina
                      wrote on last edited by
                      #10

                      @Hwanwoo maybe this command helps a little bit

                      ./configure --help

                      to understand all the possible options to configure

                      Upvote the answer(s) that helped you solve the issue
                      Use "Topic Tools" button to mark your post as Solved
                      Add screenshots via postimage.org
                      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                      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