Search found 4 matches

by medley
Tue Jan 24, 2006 9:15 pm
Forum: PSP Development
Topic: PSPSDK 1.0 Beta 2 released.
Replies: 5
Views: 2338

...undefined reference to 'select(int, fd_set*, fd_set*, fd_set*, timeval*)' Only happens in a c++ world. Compiling as c links fine... Using latest pspsdk from svn. Easily reproduced by adding a call to select, compile with the c++ compiler and try to link... main.cpp #include <sys/select.h> int ma...
by medley
Sun Jun 19, 2005 4:13 am
Forum: PSP Development
Topic: what language to start learning to code for psp?
Replies: 18
Views: 7742

Adding -lstdc++ gives a whole bunch of new undefined references: /usr/local/pspdev/psp/lib/gcc/psp/4.0.0/../../../../psp/lib/libc.a&#40;abort.o&#41;&#58; In function `abort'&#58; ../../../../../newlib/libc/stdlib/abort.c&#58;63&#58; undefined reference to `_exit' /usr/local/p...
by medley
Sun Jun 19, 2005 2:58 am
Forum: PSP Development
Topic: what language to start learning to code for psp?
Replies: 18
Views: 7742

Thank you for the help!! It worked... Trying to use stl in the code, did however bring up a new link issue :/ By adding something like this... std&#58;&#58;list<Foo*> lst; lst.push_back&#40; new Foo&#40;&#41; &#41;; I get the following error when linking: undefined reference ...
by medley
Sat Jun 18, 2005 8:34 am
Forum: PSP Development
Topic: what language to start learning to code for psp?
Replies: 18
Views: 7742

C++ with psp toolchain

I have been coding c with the psp toolchain successfully, but would very much like to be able to write in c++. My current attempts have been unsuccessfull since I can't seem to get my code to link :( psp-ld keeps throwing "undefined reference to `__gxx_personality_v0'", in my face. Also se...