Unsolved Re-question) Poppler arm cross compile error
-
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
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)
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.
-
-
./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?
-
@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... -
-
@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.
-
@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
-
@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. -
./configure --host=arm-none-linux-gnueabi
I need to change configure.
I will look for other commands. -
@Hwanwoo maybe this command helps a little bit
./configure --help
to understand all the possible options to configure