******************************************************************************** conan install websocket-parser/1.0.2@#79d6485f8703913cf014ad6e8de8c9d8 --build=websocket-parser -pr /home/conan/w/prod/BuildSingleReference/126788/b486b47c-f062-42a5-a89b-66ffbc117083/profile_linux_7_libstdcpp11_gcc_debug_64.websocket-parser-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 7 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/w/prod/BuildSingleReference/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=7 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] websocket-parser:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True websocket-parser/1.0.2: Forced build from source Installing package: websocket-parser/1.0.2 Requirements websocket-parser/1.0.2 from local cache - Cache Packages websocket-parser/1.0.2:46863e2dc48a06454dddba7dea457fd3976ba047 - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK websocket-parser/1.0.2: Configuring sources in /home/conan/w/prod/BuildSingleReference/.conan/data/websocket-parser/1.0.2/_/_/source websocket-parser/1.0.2: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK websocket-parser/1.0.2: Copying sources to build folder websocket-parser/1.0.2: Building your package in /home/conan/w/prod/BuildSingleReference/.conan/data/websocket-parser/1.0.2/_/_/build/46863e2dc48a06454dddba7dea457fd3976ba047 websocket-parser/1.0.2: Generator txt created conanbuildinfo.txt websocket-parser/1.0.2: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK websocket-parser/1.0.2: Calling build() ----Running------ > make solib -j3 ----------------- /usr/bin/gcc -std=gnu99 -pedantic -c -o websocket_parser.o websocket_parser.c /usr/bin/gcc -shared -Wl,-soname,libwebsocket_parser.so -o libwebsocket_parser.so websocket_parser.o Makefile:8: recipe for target 'solib' failed websocket-parser/1.0.2: /usr/bin/ld: websocket_parser.o: relocation R_X86_64_PC32 against symbol `websocket_decode' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status make: *** [solib] Error 1 websocket-parser/1.0.2: ERROR: Package '46863e2dc48a06454dddba7dea457fd3976ba047' build failed websocket-parser/1.0.2: WARN: Build folder /home/conan/w/prod/BuildSingleReference/.conan/data/websocket-parser/1.0.2/_/_/build/46863e2dc48a06454dddba7dea457fd3976ba047 ERROR: websocket-parser/1.0.2: Error in build() method, line 38 buildenv.make(target="solib") ConanException: Error 2 while executing make solib -j3