You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am trying to cross compile openssl/3.1.3 for qnx i am getting the same issue mentioned in the starting.
LOG:
_cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3177: recipe for target 'apps/lib/libapps-lib-app_rand.o' failed
make[1]: *** [apps/lib/libapps-lib-app_rand.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3185: recipe for target 'apps/lib/libapps-lib-app_x509.o' failed
make[1]: *** [apps/lib/libapps-lib-app_x509.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3153: recipe for target 'apps/lib/libapps-lib-app_libctx.o' failed
make[1]: *** [apps/lib/libapps-lib-app_libctx.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3161: recipe for target 'apps/lib/libapps-lib-app_params.o' failed
make[1]: *** [apps/lib/libapps-lib-app_params.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3193: recipe for target 'apps/lib/libapps-lib-apps.o' failed
make[1]: *** [apps/lib/libapps-lib-apps.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3169: recipe for target 'apps/lib/libapps-lib-app_provider.o' failed
make[1]: *** [apps/lib/libapps-lib-app_provider.o] Error 1
make[1]: Leaving directory '/home/user/.conan2/p/b/opens390ce1e45f839/b/src'
Makefile:2159: recipe for target 'build_sw' failed
make: *** [build_sw] Error 2
openssl/3.1.3: ERROR:
Package 'e334ef211f75fb83a80a4a82853ab4eb31937d6b' build failed
openssl/3.1.3: WARN: Build folder /home/user/.conan2/p/b/opens390ce1e45f839/b/build-release
ERROR: openssl/3.1.3: Error in build() method, line 533
self._make()
while calling '_make', line 525
self._run_make()
while calling 'run_make', line 502
self.run(" ".join(command), env="conanbuild")
ConanException: Error 2 while executing
##########################################
i am using conan 2.6.0
i have run the command " conan install openssl.txt --build=missing -pr:h=armv7.txt"
i am trying to cross compile openssl/3.1.3 for qnx i am getting the same issue mentioned in the starting.
LOG:
_cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3177: recipe for target 'apps/lib/libapps-lib-app_rand.o' failed
make[1]: *** [apps/lib/libapps-lib-app_rand.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3185: recipe for target 'apps/lib/libapps-lib-app_x509.o' failed
make[1]: *** [apps/lib/libapps-lib-app_x509.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3153: recipe for target 'apps/lib/libapps-lib-app_libctx.o' failed
make[1]: *** [apps/lib/libapps-lib-app_libctx.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3161: recipe for target 'apps/lib/libapps-lib-app_params.o' failed
make[1]: *** [apps/lib/libapps-lib-app_params.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3193: recipe for target 'apps/lib/libapps-lib-apps.o' failed
make[1]: *** [apps/lib/libapps-lib-apps.o] Error 1
cc: Can't specify -P, -C, -E, -c or -S with -o and have multiple files
Makefile:3169: recipe for target 'apps/lib/libapps-lib-app_provider.o' failed
make[1]: *** [apps/lib/libapps-lib-app_provider.o] Error 1
make[1]: Leaving directory '/home/user/.conan2/p/b/opens390ce1e45f839/b/src'
Makefile:2159: recipe for target 'build_sw' failed
make: *** [build_sw] Error 2
openssl/3.1.3: ERROR:
Package 'e334ef211f75fb83a80a4a82853ab4eb31937d6b' build failed
openssl/3.1.3: WARN: Build folder /home/user/.conan2/p/b/opens390ce1e45f839/b/build-release
ERROR: openssl/3.1.3: Error in build() method, line 533
self._make()
while calling '_make', line 525
self._run_make()
while calling 'run_make', line 502
self.run(" ".join(command), env="conanbuild")
ConanException: Error 2 while executing
##########################################
i am using conan 2.6.0
i have run the command " conan install openssl.txt --build=missing -pr:h=armv7.txt"
#############HoST profile: armv7.txt#####################
[settings]
arch=armv8.3
build_type=Release
compiler=qcc
compiler.cppstd=17
compiler.libcxx=cxx
compiler.version=8.3
os=Neutrino
os.version=7.1
[conf]
tools.cmake.cmaketoolchain:user_toolchain+=/home/user/WKSpace/Sample/myvars.cmake
[buildenv]
CC=/home/user/WKSpace/qnx710/host/linux/x86_64/usr/bin/qcc
CXX=/home/user/WKSpace/qnx710/host/linux/x86_64/usr/bin/q++
############openssl.txt#############
[requires]
openssl/3.1.3
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
##############BUILD profile: ##################
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=gnu14
compiler.libcxx=libstdc++11
compiler.version=7
os=Linux
Originally posted by @vineethabc in #20637 (comment)
The text was updated successfully, but these errors were encountered: