qt Linux cross compile
-
Linux is setting up a cross-platform environment, and it's a lot of trouble.
Can you tell me what the problem is? I'm following this site as a standard.
https://github.com/alexandraB99/embedded_development_Qt_course_auxJust before Section 3/Lecture 7, I think there's a problem with making-j4.
-
Linux is setting up a cross-platform environment, and it's a lot of trouble.
Can you tell me what the problem is? I'm following this site as a standard.
https://github.com/alexandraB99/embedded_development_Qt_course_auxJust before Section 3/Lecture 7, I think there's a problem with making-j4.
@IknowQT said in qt Linux cross compile:
Can you tell me what the problem is?
The error message already does: UnixMakefileGenerator::installMetaFile(...) is indefined. That means that you do not build and link cpp file containing UnixMakefileGenerator::installMetaFile(...).
And please post text instead of screen-shots... -
../../src/binutils-2.36.1/configure --target=${TARGET} --prefix=${PREFIX}--with-arch=armv6 --with-fpu=vfp --with-float=hard --disable-multilib
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... arm-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... no
checking for mawk... mawk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for isl 0.15 or later... no
required isl version is 0.15 or later
checking for default BUILD_CONFIG...
checking for --enable-vtable-verify... no
*** removing etc/Makefile to force reconfigure
checking for bison... no
checking for byacc... no
checking for yacc... no
checking for bison... no
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for readelf... readelf
checking for arm-linux-gnueabihf-cc... no
checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc
checking for arm-linux-gnueabihf-c++... arm-linux-gnueabihf-c++
checking for arm-linux-gnueabihf-gcc... arm-linux-gnueabihf-gcc
checking for arm-linux-gnueabihf-gfortran... no
checking for arm-linux-gnueabihf-gccgo... no
checking for arm-linux-gnueabihf-ar... arm-linux-gnueabihf-ar
checking for arm-linux-gnueabihf-as... arm-linux-gnueabihf-as
checking for arm-linux-gnueabihf-dlltool... no
checking for arm-linux-gnueabihf-ld... arm-linux-gnueabihf-ld
checking for arm-linux-gnueabihf-lipo... no
checking for arm-linux-gnueabihf-nm... arm-linux-gnueabihf-nm
checking for arm-linux-gnueabihf-objcopy... arm-linux-gnueabihf-objcopy
checking for arm-linux-gnueabihf-objdump... arm-linux-gnueabihf-objdump
checking for arm-linux-gnueabihf-ranlib... arm-linux-gnueabihf-ranlib
checking for arm-linux-gnueabihf-readelf... arm-linux-gnueabihf-readelf
checking for arm-linux-gnueabihf-strip... arm-linux-gnueabihf-strip
checking for arm-linux-gnueabihf-windres... no
checking for arm-linux-gnueabihf-windmc... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... just compiled
checking where to find the target gcc... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target gccgo... pre-installed
checking where to find the target ld... just compiled
checking where to find the target lipo... pre-installed
checking where to find the target nm... just compiled
checking where to find the target objcopy... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target readelf... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking where to find the target windmc... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefilemake -j4
make[1]: 디렉터리 '/home/yhjeong/rpi0/toolchain/build/binutils' 들어감
make[1]: 'all-target'을(를) 위해 할 일이 없습니다.
Configuring in ./intl
Configuring in ./zlib
Configuring in ./libiberty
Configuring in ./etc
configure: loading cache ./config.cache
configure: loading cache ./config.cache
configure: error:LDFLAGS' has changed since the previous run: configure: former value:
-static-libstdc++ -static-libgcc '
configure: current value:' configure: error: in
/home/yhjeong/rpi0/toolchain/build/binutils/libiberty':
configure: error: changes in the environment can compromise the build
configure: error: runmake distclean' and/or
rm ./config.cache' and start over
checking for a BSD-compatible install... /usr/bin/install -c
configure: loading cache ./config.cache
configure: error:LDFLAGS' has changed since the previous run: configure: former value:
-static-libstdc++ -static-libgcc '
configure: current value:' configure: error: in
/home/yhjeong/rpi0/toolchain/build/binutils/intl':
configure: error: changes in the environment can compromise the build
configure: error: runmake distclean' and/or
rm ./config.cache' and start over
configure: loading cache ./config.cache
configure: creating ./config.status
checking build system type... (cached) x86_64-pc-linux-gnu
checking host system type... (cached) x86_64-pc-linux-gnu
checking target system type... (cached) arm-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
make[1]: *** [Makefile:6593: configure-intl] 오류 1
make[1]: *** 끝나지 않은 작업을 기다리고 있습니다....
make[1]: *** [Makefile:8041: configure-libiberty] 오류 1
checking for a thread-safe mkdir -p... (cached) /usr/bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking whether make supports nested variables... (cached) yes
configure: error: source directory already configured; run "make distclean" there first
make[1]: *** [Makefile:9054: configure-zlib] 오류 1
config.status: creating Makefile
make[1]: 디렉터리 '/home/yhjeong/rpi0/toolchain/build/binutils' 나감
make: *** [Makefile:854: all] 오류 2I am setting up the binutils