Debian / Ubuntu
The problem is you likely only have the gcc for your current architecture and that’s 64bit. You need the 32bit support files. For that, you need to install them
sudo apt install gcc-multilib
More Related Contents:
- Compiling problems: cannot find crt1.o
- LD_LIBRARY_PATH vs LIBRARY_PATH
- What are the –start-group and –end-group command line options?
- I don’t understand -Wl,-rpath -Wl,
- combine two GCC compiled .o object files into a third .o file
- GNU gcc/ld – wrapping a call to symbol with caller and callee defined in the same object file
- Cuda Clang and OS X Mavericks
- How to detect SSE/SSE2/AVX/AVX2/AVX-512/AVX-128-FMA/KCVI availability at compile-time?
- What’s the difference between -rpath and -L?
- How to set the LDFLAGS in CMakeLists.txt?
- clang (LLVM) inline assembly – multiple constraints with useless spills / reloads
- linking arbitrary data using GCC ARM toolchain
- x86_64: Is it possible to “in-line substitute” PLT/GOT references?
- Should C compilers immediately free "further unused" memories? [closed]
- Change stack size for a C++ application in Linux during compilation with GNU compiler
- Calling printf in extended inline ASM
- How Does The Debugging Option -g Change the Binary Executable?
- exit.c:(.text+0x18): undefined reference to `_exit’ when using arm-none-eabi-gcc
- Selectively remove a warning message using GCC
- How to Install gcc 5.3 with yum on CentOS 7.2?
- How to specify non-default shared-library path in GCC Linux? Getting “error while loading shared libraries” when running
- gcc/g++ option to place all object files into separate directory
- Is there a compiler bug exposed by my implementation of an is_complete type trait?
- What is the difference between “gcc -s” and a “strip” command?
- Why gcc 4.1 + gcov reports 100% branch coverage and newer (4.4, 4.6, 4.8) reports 50% for “p = new class;” line?
- Hiding symbol names in library
- valgrind, gcc 6.2.0 and “-fsanitize=address”
- Mathematical functions for SIMD registers
- How to view C preprocessor output?
- What’s the difference between -O3 and (-O2 + flags that man gcc says -O3 adds to -O2)?