You are not logged in.
After scouring the wiki and here I have seen many people with similar problems, but none that I can tell that helped me.
I am am running a x64 and need to install some x86 libs (I think) from the AUR. The one in specific is lib32-sdl_mixer, however upon running makepkg I get the error:
configure: error: installation or configuration problem: C compiler cannot create executables.
==> ERROR: A failure occurred in build().
Aborting...I think this is the correct config.log that everyone wants
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:633: checking for a BSD compatible install
configure:686: checking whether build environment is sane
configure:743: checking whether make sets ${MAKE}
configure:789: checking for working aclocal
configure:802: checking for working autoconf
configure:815: checking for working automake
configure:828: checking for working autoheader
configure:841: checking for working makeinfo
configure:862: checking host system type
configure:883: checking target system type
configure:903: checking whether make sets ${MAKE}
configure:932: checking for gcc
configure:1045: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) works
configure:1061: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 1>&5
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
configure: failed program was:
#line 1056 "configure"
#include "confdefs.h"
main(){return(0);}So what do I need to do?
EDIT::
I have multilib on if that applies (similar topic here)
https://bbs.archlinux.org/viewtopic.php?id=108615
Last edited by Shimizoki (2011-04-12 19:53:50)
Offline
If you are building a 32 bit program or library on a 64 bit system, try installing the "gcc-multilib" package.
Offline
If you are building a 32 bit program or library on a 64 bit system, try installing the "gcc-multilib" package.
That was helpful, and this time I got much father but I still got an error.
/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../libGLU.so when searching for -lGLU
/usr/bin/ld: skipping incompatible /usr/lib/libGLU.so when searching for -lGLU
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
make[1]: *** [glmovie] Error 1
make[1]: Leaving directory `/home/shimizoki/lib32-smpeg/src/smpeg-0.4.4'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...New config.log file
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:633: checking for a BSD compatible install
configure:686: checking whether build environment is sane
configure:743: checking whether make sets ${MAKE}
configure:789: checking for working aclocal
configure:802: checking for working autoconf
configure:815: checking for working automake
configure:828: checking for working autoheader
configure:841: checking for working makeinfo
configure:862: checking host system type
configure:883: checking target system type
configure:903: checking whether make sets ${MAKE}
configure:932: checking for gcc
configure:1045: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) works
configure:1061: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 1>&5
configure:1087: checking whether the C compiler (gcc -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) is a cross-compiler
configure:1092: checking whether we are using GNU C
configure:1101: gcc -m32 -E conftest.c
configure:1120: checking whether gcc -m32 accepts -g
configure:1156: checking for c++
configure:1188: checking whether the C++ compiler (g++ -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) works
configure:1204: g++ -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.C -L/usr/lib32 1>&5
configure:1230: checking whether the C++ compiler (g++ -m32 -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed) is a cross-compiler
configure:1235: checking whether we are using GNU C++
configure:1244: g++ -m32 -E conftest.C
configure:1263: checking whether g++ -m32 accepts -g
configure:1365: checking build system type
configure:1385: checking for ranlib
configure:1424: checking for ld used by GCC
configure:1486: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld (GNU Binutils) 2.21.0.20110209
configure:1502: checking for BSD-compatible nm
configure:1538: checking whether ln -s works
ltconfig:603: checking for object suffix
ltconfig:604: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe conftest.c 1>&5
ltconfig:629: checking for executable suffix
ltconfig:630: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 1>&5
ltconfig:776: checking if gcc PIC flag -fPIC works
ltconfig:777: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -fPIC -DPIC conftest.c 1>&5
ltconfig:829: checking if gcc supports -c -o file.o
ltconfig:830: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -o out/conftest2.o conftest.c 1>&5
ltconfig:862: checking if gcc supports -c -o file.lo
ltconfig:863: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -c -o conftest.lo conftest.c 1>&5
ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:915: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5
ltconfig:958: checking if gcc static flag -static works
ltconfig:959: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -static conftest.c -L/usr/lib32 1>&5
GNU ld (GNU Binutils) 2.21.0.20110209
ltconfig:1653: checking if global_symbol_pipe works
ltconfig:1654: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe conftest.c 1>&5
ltconfig:1657: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
ltconfig:1709: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fno-builtin -Wl,--hash-style=gnu -Wl,--as-needed conftest.c conftstm.o 1>&5
configure:1943: checking for a BSD compatible install
configure:1997: checking for socklen_t
configure:2010: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe conftest.c 1>&5
configure:2139: checking for sdl-config
configure:2174: checking for SDL - version >= 1.2.0
configure:2259: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread 1>&5
configure:2341: checking for sqrt in -lm
configure:2360: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lm -L/usr/lib32 -L/usr/lib -lSDL -lpthread 1>&5
configure:2353:6: warning: conflicting types for built-in function 'sqrt'
configure:2643: checking for gtk-config
configure:2678: checking for GTK - version >= 1.2.1
configure:2898: checking how to run the C preprocessor
configure:2919: gcc -m32 -E conftest.c >/dev/null 2>conftest.out
configure:2982: checking for X
configure:3049: gcc -m32 -E conftest.c >/dev/null 2>conftest.out
configure:3125: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lXt -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
configure:3296: checking for dnet_ntoa in -ldnet
configure:3315: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldnet -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
/usr/bin/ld: cannot find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 3304 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();
int main() {
dnet_ntoa()
; return 0; }
configure:3337: checking for dnet_ntoa in -ldnet_stub
configure:3356: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -ldnet_stub -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
/usr/bin/ld: cannot find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 3345 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char dnet_ntoa();
int main() {
dnet_ntoa()
; return 0; }
configure:3385: checking for gethostbyname
configure:3413: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
configure:3483: checking for connect
configure:3511: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
configure:3575: checking for remove
configure:3603: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
configure:3667: checking for shmat
configure:3695: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
configure:3768: checking for IceConnectionNumber in -lICE
configure:3787: gcc -m32 -o conftest -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO -Wl,--hash-style=gnu -Wl,--as-needed conftest.c -lICE -L/usr/lib32 -L/usr/lib -lSDL -lpthread -lm 1>&5
configure:3820: checking for OpenGL support
configure:3834: gcc -m32 -c -march=x86-64 -mtune=generic -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DTHREADED_AUDIO conftest.c 1>&5
configure:3883: checking if g++ -m32 supports -fno-rtti -fno-exceptions
configure:3899: g++ -m32 -c -fno-rtti -fno-exceptions conftest.c 1>&5I am actually trying to package its dependency in this case. lib32-smpeg
Offline
You guys are my heroes, thank a ton.
Offline