forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

configure error

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
egorive



Joined: 22 Jun 2006
Posts: 24

PostPosted: Fri Jul 25, 2008 8:54 pm    Post subject: configure error Reply with quote

hi I have downloaded this lilbrary with tortoise to:

D:\cygwin\home\KIKE\trunk\sqlite

and then I have read the README.PSP.
1.- I have my PSPDEV environment variable (D:/cygwin/usr/local/pspdev)
2.- I copy al the comand to the shell and intro

LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
./configure --host=psp --disable-readline --disable-tcl \
--prefix=$(psp-config --psp-prefix)

Now I obtain this:

KIKE@LADOKIKE ~/trunk/sqlite
$ LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./configure --hos
t=psp --disable-readline --disable-tcl --prefix=$(psp-config --psp-prefix)
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-cygwin
checking host system type... mipsallegrexel-psp-elf
checking for psp-gcc... psp-gcc
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
See `config.log' for more details.

And if I go to config.log I read this:

(...)

## ----------- ##
## Core tests. ##
## ----------- ##

configure:1616: checking build system type
configure:1634: result: i686-pc-cygwin
configure:1642: checking host system type
configure:1656: result: mipsallegrexel-psp-elf
configure:1672: checking for psp-gcc
configure:1688: found /cygdrive/c/pspsdk/bin/psp-gcc
configure:1698: result: psp-gcc
configure:1980: checking for C compiler version
configure:1983: psp-gcc --version </dev/null >&5
psp-gcc.exe (GCC) 4.3.0
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:1986: $? = 0
configure:1988: psp-gcc -v </dev/null >&5
Using built-in specs.
Target: psp
Configured with: ../../gcc-4.3.0/configure --enable-languages=c,c++ --disable-mu
ltilib --with-gcc --with-gnu-ld --with-gnu-as --disable-shared --disable-win32-r
egistry --disable-nls --enable-cxx-flags=-G0 --target=psp --with-newlib --prefix
=/c/pspsdk --with-gmp=/home/polo/minpspw/gcc-libs --with-mpfr=/home/polo/minpspw
/gcc-libs
Thread model: single
gcc version 4.3.0 (GCC)
configure:1991: $? = 0
configure:1993: psp-gcc -V </dev/null >&5
psp-gcc.exe: '-V' option must have argument
configure:1996: $? = 1
configure:2019: checking for C compiler default output file name
/lib -lc -lpspuser conftest.c >&5win/usr/local/pspdev/psp/sdk
c:/pspsdk/bin/../lib/gcc/psp/4.3.0/../../../../psp/bin/ld.exe: cannot find -lpsp
user
collect2: ld returned 1 exit status
configure:2025: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2064: error: C compiler cannot create executables
See `config.log' for more details.
(...)

Don't know what to do now. Any help?
Back to top
View user's profile Send private message
egorive



Joined: 22 Jun 2006
Posts: 24

PostPosted: Fri Jul 25, 2008 9:22 pm    Post subject: ups Reply with quote

so so so sorry i thought i push post replay can i erase this or any admin erase this massege im going to put it in the right thread.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group