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:
- How to fix linker error “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]
- Calling printf in extended inline ASM
- Error enabling openmp – “ld: library not found for -lgomp” and Clang errors
- How to cross compile from Mac OS X to Linux x86?
- how to install gcc on windows 7 machine?
- Install GNU GCC on mac
- How to make gcc warn about passing wrong enum to a function
- -isystem on a system include directory causes errors
- Does a compiler always produce an assembly code?
- 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)?