the error (part of config.log)
Code: Select all
configure:3916: psp-gcc -L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser conftest.c >&5
/cygdrive/c/Users/Florian/AppData/Local/Temp/cc98EsgD.o: In function `main':
conftest.c:(.text+0x20): undefined reference to `fopen'
conftest.c:(.text+0x48): undefined reference to `fclose'
collect2: ld returned 1 exit status
configure:3920: $? = 1
configure:3957: result:
configure: failed program was:
| /* confdefs.h */
Code: Select all
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.64. Invocation command line was
$ ./configure --host psp --prefix=/usr/local/pspdev/psp
## --------- ##
## Platform. ##
## --------- ##
hostname = Florian-Laptop
uname -m = i686
uname -r = 1.5.25(0.156/4/2)
uname -s = CYGWIN_NT-6.1
uname -v = 2008-06-12 19:34
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /cygdrive/c/Windows/system32
PATH: /cygdrive/c/Windows
PATH: /cygdrive/c/Windows/System32/Wbem
PATH: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /cygdrive/c/Program Files/QuickTime/QTSystem/
PATH: /cygdrive/c/Program Files/Common Files/DivX Shared/
PATH: /cygdrive/c/Program Files/TortoiseHg
PATH: /usr/local/pspdev/bin
PATH: /usr/local/pspdev/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2896: checking build system type
configure:2910: result: i686-pc-cygwin
configure:2930: checking host system type
configure:2943: result: mipsallegrexel-psp-elf
configure:2963: checking target system type
configure:2976: result: mipsallegrexel-psp-elf
configure:3020: checking for a BSD-compatible install
configure:3088: result: /usr/bin/install -c
configure:3099: checking whether build environment is sane
configure:3149: result: yes
configure:3198: checking for psp-strip
configure:3214: found /usr/local/pspdev/bin/psp-strip
configure:3225: result: psp-strip
configure:3290: checking for a thread-safe mkdir -p
configure:3329: result: /usr/bin/mkdir -p
configure:3342: checking for gawk
configure:3358: found /usr/bin/gawk
configure:3369: result: gawk
configure:3380: checking whether make sets $(MAKE)
configure:3402: result: yes
configure:3498: checking for style of include used by make
configure:3526: result: GNU
configure:3556: checking for psp-gcc
configure:3572: found /usr/local/pspdev/bin/psp-gcc
configure:3583: result: psp-gcc
configure:3852: checking for C compiler version
configure:3861: psp-gcc --version >&5
psp-gcc (GCC) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3872: $? = 0
configure:3861: psp-gcc -v >&5
Using built-in specs.
Target: psp
Configured with: ../configure --prefix=/usr/local/pspdev --target=psp --enable-languages=c,c++ --with-newlib --with-gmp --with-mpfr --enable-cxx-flags=-G0
Thread model: single
gcc version 4.3.2 (GCC)
configure:3872: $? = 0
configure:3861: psp-gcc -V >&5
psp-gcc: '-V' option must have argument
configure:3872: $? = 1
configure:3861: psp-gcc -qversion >&5
psp-gcc: unrecognized option '-qversion'
psp-gcc: no input files
configure:3872: $? = 1
configure:3894: checking for C compiler default output file name
configure:3916: psp-gcc -L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser conftest.c >&5
/cygdrive/c/Users/Florian/AppData/Local/Temp/cc98EsgD.o: In function `main':
conftest.c:(.text+0x20): undefined reference to `fopen'
conftest.c:(.text+0x48): undefined reference to `fclose'
collect2: ld returned 1 exit status
configure:3920: $? = 1
configure:3957: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "SDL"
| #define VERSION "1.2.9"
| /* end confdefs.h. */
| #include <stdio.h>
| int
| main ()
| {
| FILE *f = fopen ("conftest.out", "w");
| return ferror (f) || fclose (f) != 0;
|
| ;
| return 0;
| }
configure:3963: error: in `/home/Florian/SDL':
configure:3967: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-cygwin
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=psp
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=mipsallegrexel-psp-elf
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=psp-gcc
ac_cv_prog_STRIP=psp-strip
ac_cv_prog_make_make_set=yes
ac_cv_target=mipsallegrexel-psp-elf
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/Florian/SDL/missing --run aclocal-1.11'
ALLOCA=''
ALSA_CFLAGS=''
ALSA_LIBS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/Florian/SDL/missing --run tar'
AR=''
ARCH=''
ARTSCCONFIG=''
AS=''
ASFLAGS=''
AUDIO_DRIVERS=''
AUDIO_SUBDIRS=''
AUTOCONF='${SHELL} /home/Florian/SDL/missing --run autoconf'
AUTOHEADER='${SHELL} /home/Florian/SDL/missing --run autoheader'
AUTOMAKE='${SHELL} /home/Florian/SDL/missing --run automake-1.11'
AWK='gawk'
CC='psp-gcc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CDROM_DRIVERS=''
CDROM_SUBDIRS=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='cygpath -w'
DEFS=''
DEPDIR='.deps'
DIRECTFB_CFLAGS=''
DIRECTFB_LIBS=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_SHARED_FALSE=''
ENABLE_SHARED_TRUE=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
ESD_CFLAGS=''
ESD_CONFIG=''
ESD_LIBS=''
EXEEXT=''
F77=''
FFLAGS=''
GREP=''
HAVE_NASM_FALSE=''
HAVE_NASM_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JOYSTICK_DRIVERS=''
JOYSTICK_SUBDIRS=''
LDFLAGS='-L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
LT_AGE='7'
LT_CURRENT='7'
LT_RELEASE='1.2'
LT_REVISION='2'
MAKEINFO='${SHELL} /home/Florian/SDL/missing --run makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
NASM=''
NASMFLAGS=''
OBJC=''
OBJCDEPMODE=''
OBJCFLAGS=''
OBJDUMP=''
OBJEXT=''
OSMESA_CONFIG=''
PACKAGE='SDL'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
PTH_CONFIG=''
RANLIB=''
SDL_BINARY_AGE='9'
SDL_CFLAGS=''
SDL_EXTRADIRS=''
SDL_EXTRALIBS=''
SDL_INTERFACE_AGE='2'
SDL_LIBS=''
SDL_MAJOR_VERSION='1'
SDL_MICRO_VERSION='9'
SDL_MINOR_VERSION='2'
SDL_RLD_FLAGS=''
SDL_STATIC_LIBS=''
SDL_VERSION='1.2.9'
SET_MAKE=''
SHARED_SYSTEM_LIBS=''
SHELL='/bin/sh'
STATIC_SYSTEM_LIBS=''
STRIP='psp-strip'
SYSTEM_LIBS=''
TARGET_AIX_FALSE=''
TARGET_AIX_TRUE=''
TARGET_BEOS_FALSE=''
TARGET_BEOS_TRUE=''
TARGET_BSDI_FALSE=''
TARGET_BSDI_TRUE=''
TARGET_FREEBSD_FALSE=''
TARGET_FREEBSD_TRUE=''
TARGET_IRIX_FALSE=''
TARGET_IRIX_TRUE=''
TARGET_LINUX_FALSE=''
TARGET_LINUX_TRUE=''
TARGET_MACOSX_FALSE=''
TARGET_MACOSX_TRUE=''
TARGET_MACOS_FALSE=''
TARGET_MACOS_TRUE=''
TARGET_MINT_FALSE=''
TARGET_MINT_TRUE=''
TARGET_NETBSD_FALSE=''
TARGET_NETBSD_TRUE=''
TARGET_OPENBSD_FALSE=''
TARGET_OPENBSD_TRUE=''
TARGET_PSP_FALSE=''
TARGET_PSP_TRUE=''
TARGET_QNX_FALSE=''
TARGET_QNX_TRUE=''
TARGET_QTOPIA_FALSE=''
TARGET_QTOPIA_TRUE=''
TARGET_SOLARIS_FALSE=''
TARGET_SOLARIS_TRUE=''
TARGET_WIN32_FALSE=''
TARGET_WIN32_TRUE=''
USE_CLONE_FALSE=''
USE_CLONE_TRUE=''
USE_DIRECTX_FALSE=''
USE_DIRECTX_TRUE=''
VERSION='1.2.9'
VIDEO_DRIVERS=''
VIDEO_SUBDIRS=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
alsa_lib=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__fastdepOBJC_FALSE=''
am__fastdepOBJC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
arts_lib=''
bindir='${exec_prefix}/bin'
build='i686-pc-cygwin'
build_alias=''
build_cpu='i686'
build_os='cygwin'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
esd_lib=''
exec_prefix='NONE'
host='mipsallegrexel-psp-elf'
host_alias='psp'
host_cpu='mipsallegrexel'
host_os='elf'
host_vendor='psp'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/Florian/SDL/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/usr/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local/pspdev/psp'
program_transform_name='s,x,x,'
psdir='${docdir}'
psp_config=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='mipsallegrexel-psp-elf'
target_alias=''
target_cpu='mipsallegrexel'
target_os='elf'
target_vendor='psp'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "SDL"
#define VERSION "1.2.9"
configure: exit 77
I configure the SDL with:
Code: Select all
LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host psp --prefix=$(psp-config --psp-prefix)
mene