Closed SuperSirLink closed 10 years ago
I have this in the BCM config log:
configure:2736: $? = 0 configure:2725: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14+rpi1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf Thread model: posix gcc version 4.6.3 (Debian 4.6.3-14+rpi1) configure:2736: $? = 0 configure:2725: gcc -V >&5 gcc: error: unrecognized option '-V' gcc: fatal error: no input files compilation terminated. configure:2736: $? = 4 configure:2725: gcc -qversion >&5 gcc: error: unrecognized option '-qversion' gcc: fatal error: no input files compilation terminated. configure:2736: $? = 4 configure:2756: checking whether the C compiler works configure:2778: gcc conftest.c >&5 /usr/lib/gcc/arm-linux-gnueabihf/4.6/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: Input/output error configure:2782: $? = 1 configure:2820: result: no configure: failed program was: | /* confdefs.h _/ | #define PACKAGE_NAME "bcm2835" | #define PACKAGE_TARNAME "bcm2835" | #define PACKAGE_VERSION "1.14" | #define PACKAGE_STRING "bcm2835 1.14" | #define PACKAGE_BUGREPORT "mikem@open.com.au" | #define PACKAGE_URL "" | #define PACKAGE "bcm2835" | #define VERSION "1.14" | /_ end confdefs.h. */ |
---|---|---|---|---|---|---|---|---|---|---|
int | ||||||||||
main () | ||||||||||
{ | ||||||||||
; | ||||||||||
return 0; | ||||||||||
} |
configure:2825: error: in /home/pi/RetroPie/supplementary/SNESDev-RPi/libs/bcm2835-1.14': configure:2827: error: C compiler cannot create executables See
config.log' for more details
I am trying to setup another SD card and trying to install SNESDev. I started out with the RetroPie image (1.9.1).
If I try the manual install I get this:
pi@raspberrypi ~/RetroPie/supplementary $ git clone git://github.com/petrockblog/SNESDev-RPi.git Cloning into 'SNESDev-RPi'... remote: Reusing existing pack: 395, done. remote: Total 395 (delta 0), reused 0 (delta 0) Receiving objects: 100% (395/395), 669.38 KiB | 1.15 MiB/s, done. Resolving deltas: 100% (107/107), done. pi@raspberrypi ~/RetroPie/supplementary $ cd SNESDev-RPi/ pi@raspberrypi ~/RetroPie/supplementary/SNESDev-RPi $ sudo ./build.sh
= = = = = = = = = = Building BCM 2835 library = = = = = = = = = =
/home/pi/RetroPie/supplementary/SNESDev-RPi/libs/bcm2835-1.14 /home/pi/RetroPie/supplementary/SNESDev-RPi checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... no configure: error: in
/home/pi/RetroPie/supplementary/SNESDev-RPi/libs/bcm2835-1.14': configure: error: C compiler cannot create executables See
config.log' for more details make: * No targets specified and no makefile found. Stop. make: * No rule to make target `install'. Stop. /home/pi/RetroPie/supplementary/SNESDev-RPi= = = = = = = = = = Building Confuse library = = = = = = = = = =
/home/pi/RetroPie/supplementary/SNESDev-RPi/libs/confuse-2.7 /home/pi/RetroPie/supplementary/SNESDev-RPi checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... no configure: error: in
/home/pi/RetroPie/supplementary/SNESDev-RPi/libs/confuse-2.7': configure: error: C compiler cannot create executables See
config.log' for more details. make: * No targets specified and no makefile found. Stop. make: * No rule to make target `install'. Stop. /home/pi/RetroPie/supplementary/SNESDev-RPi= = = = = = = = = = Building SNESDev-Rpi = = = = = = = = = =
CC src/uinput_gamepad.c /usr/lib/gcc/arm-linux-gnueabihf/4.6/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: Input/output error make: *\ [build/uinput_gamepad.o] Error 1
If I try from the retropie setup script I get this:
= = = = = = = = = = = = = = = = = = = = = Installing SNESDev as GPIO interface for SNES controllers = = = = = = = = = = = = = = = = = = = = =
Cloning into '/home/pi/RetroPie/supplementary/SNESDev-Rpi'... /home/pi/RetroPie/supplementary/SNESDev-Rpi /home/pi/RetroPie-Setup
= = = = = = = = = = Building BCM 2835 library = = = = = = = = = =
/home/pi/RetroPie/supplementary/SNESDev-Rpi/libs/bcm2835-1.14 /home/pi/RetroPie/supplementary/SNESDev-Rpi checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... no configure: error: in
/home/pi/RetroPie/supplementary/SNESDev-Rpi/libs/bcm2835-1.14': configure: error: C compiler cannot create executables See
config.log' for more details make: * No targets specified and no makefile found. Stop. make: * No rule to make target `install'. Stop. /home/pi/RetroPie/supplementary/SNESDev-Rpi= = = = = = = = = = Building Confuse library = = = = = = = = = =
/home/pi/RetroPie/supplementary/SNESDev-Rpi/libs/confuse-2.7 /home/pi/RetroPie/supplementary/SNESDev-Rpi checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... no configure: error: in
/home/pi/RetroPie/supplementary/SNESDev-Rpi/libs/confuse-2.7': configure: error: C compiler cannot create executables See
config.log' for more details. make: * No targets specified and no makefile found. Stop. make: * No rule to make target `install'. Stop. /home/pi/RetroPie/supplementary/SNESDev-Rpi= = = = = = = = = = Building SNESDev-Rpi = = = = = = = = = =
CC src/uinput_gamepad.c /usr/lib/gcc/arm-linux-gnueabihf/4.6/cc1: error while loading shared libraries: libmpfr.so.4: cannot open shared object file: Input/output error make: *\ [build/uinput_gamepad.o] Error 1 /home/pi/RetroPie-Setup chgrp: changing group of
/home/pi/RetroPie/emulators/mame4all-pi/src/sound/ym2151.h': Input/output error chgrp: changing group of
/home/pi/RetroPie/emulators/mame4all-pi/src/sound/c140.h': Input/output error chgrp: changing group of/home/pi/RetroPie/emulators/fbzx-2.10.0/Z80free.o': Input/output error chgrp: changing group of
/home/pi/RetroPie/emulators/gngeo-0.7/installdir/share/gngeo/romrc.d/lresort.rc': Input/output error chgrp: changing group of/home/pi/RetroPie/emulators/gngeo-0.7/installdir/share/gngeo/romrc.d/samsho5sp.rc': Input/output error chown: changing ownership of
/home/pi/RetroPie/emulators/mame4all-pi/src/sound/ym2151.h': Input/output error chown: changing ownership of/home/pi/RetroPie/emulators/mame4all-pi/src/sound/c140.h': Input/output error chown: changing ownership of
/home/pi/RetroPie/emulators/fbzx-2.10.0/Z80free.o': Input/output error chown: changing ownership of/home/pi/RetroPie/emulators/gngeo-0.7/installdir/share/gngeo/romrc.d/lresort.rc': Input/output error chown: changing ownership of
/home/pi/RetroPie/emulators/gngeo-0.7/installdir/share/gngeo/romrc.d/samsho5sp.rc': Input/output errorWhat am I doing wrong?