On 22/04/13 08:51, Guillaume Gardet wrote:
Hi,
Le 20/04/2013 08:35, Sid Boyce a écrit :
ODROID-X:/media/1/ghpsdr3-alex # ./configure CFLAGS='-O2 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp' CXXFLAGS='-O2 -pipe -mfpu=neon -fno-tree-vectorize -fopenmp' Attached text file of the errors.
All the header files are present and it compiles fine on x86_64 openSUSE, Ubuntu and Ubuntu 12.10 from hardkernel.com. Regards Sid.
Check the config.log file to see why it cannot be compiled.
Guillaume
Many of the following "CPU does not support ARM mode" errors in config.log. | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char pthread_create (); | int | main () | { | return pthread_create (); | ; | return 0; | } configure:15904: result: no configure:15914: checking for library containing Pa_Initialize configure:15945: gcc -o conftest -O3 -pipe -march=armv7 -mfpu=neon -fno-tree-vectorize -fopenmp conftest.c >&5 conftest.c:1:0: error: target CPU does not support ARM mode configure:15945: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "ghpsdr3" | #define PACKAGE_TARNAME "ghpsdr3" | #define PACKAGE_VERSION "iw0hdv" | #define PACKAGE_STRING "ghpsdr3 iw0hdv" | #define PACKAGE_BUGREPORT "andrew att montefusco dott com" | #define PACKAGE_URL "" | #define PACKAGE "ghpsdr3" | #define VERSION "iw0hdv" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char Pa_Initialize (); | int | main () | { | return Pa_Initialize (); | ; | return 0; | } configure:15945: gcc -o conftest -O3 -pipe -march=armv7 -mfpu=neon -fno-tree-vectorize -fopenmp conftest.c -lportaudio >&5 conftest.c:1:0: error: target CPU does not support ARM mode configure:15945: $? = 1 Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks