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 

Problems building psp-gdb (resolved)

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



Joined: 18 Mar 2007
Posts: 38

PostPosted: Sun Mar 18, 2007 7:29 am    Post subject: Problems building psp-gdb (resolved) Reply with quote

EDIT: Okay, I've resolved the situation own my own. You can delete this topic now if you want.

PREVIOUS CONTENT OF POST (IRRELEVANT!):
I don't seem to get any errors, and I have the latest toolchain script, as I just downloaded and rebuilt it today, but when I try to build it, nothing comes out. The last few lines of output distress me a bit...
Code:
rm -f *.o *.a    *~ init.c-tmp init.l-tmp version.c-tmp
rm -f init.c version.c
rm -f gdb.exe core make.log
rm -f gdb[0-9].exe
rm -f test-cp-name-parser.exe
make[2]: Leaving directory `/tmp/pspdev/gdb-6.4/build-gdb/gdb'
test ! -d gcc/libgcc || \
        (cd gcc/libgcc && find . -type d -print) | \
        while read d; do rm -f gcc/$d/libgcc.a || : ; done
rm -rf gcc/libgcc
rm -f gcc/stmp-dirs
make[1]: Leaving directory `/tmp/pspdev/gdb-6.4/build-gdb'
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log


Invocation command was $ ./toolchain.sh -d -e
And yes, I'm sure it's not there.

Code:
$ find /usr -name gdb
/usr/local/pspdev/psp/sdk/samples/debug/gdb

$ ls -l /usr/local/pspdev/psp/sdk/samples/debug/gdb
total 5
-rw-r--r-- 1 Lukos None  355 Mar 17 12:23 Makefile
-rw-r--r-- 1 Lukos None 2384 Mar 17 12:23 main.c


I'm building under cygwin. I'll check now to see if I get any errors that get lost in output, but it'll take a while.

Edit] Here's the output to STDERR from the toolchain script:

Quote:
../../libiberty/strsignal.c: In function `psignal':
../../libiberty/strsignal.c:558: warning: comparison between signed and unsigned
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries
../../readline/bind.c: In function `rl_function_of_keyseq':
../../readline/bind.c:584: warning: comparison is always true due to limited range of data type
In file included from ../../readline/bind.c:1394:
../../readline/bind.c: In function `rl_variable_bind':
../../readline/bind.c:1377: warning: passing arg 1 of `bool_to_int' discards qualifiers from pointer target type
../../readline/display.c: In function `rl_character_len':
../../readline/display.c:1697: warning: comparison is always true due to limited range of data type
../../readline/histexpand.c: In function `get_history_event':
../../readline/histexpand.c:214: warning: passing arg 1 of `_rl_adjust_point' discards qualifiers from pointer target type
../../readline/histexpand.c:215: warning: passing arg 1 of `_rl_get_char_len' discards qualifiers from pointer target type
configure: WARNING: no enhanced curses library found; disabling TUI
-I ../../../sim/mips \
-W error \
-W nodiscard \
-F 32,f \
-M mipsIV \
-N 0 \
-G gen-direct-access \
-G gen-zero-r0 \
-B 32 \
-H 31 \
-i ../../../sim/mips/mips.igen \
-o ../../../sim/mips/mips.dc \
-x \
-n icache.h \
-h \
-c tmp-icache.h \
-n icache.c \
-c tmp-icache.c \
-n semantics.h \
-h \
-s tmp-semantics.h \
-n semantics.c \
-s tmp-semantics.c \
-n idecode.h \
-h \
-d tmp-idecode.h \
-n idecode.c \
-d tmp-idecode.c \
-n model.h \
-h \
-m tmp-model.h \
-n model.c \
-m tmp-model.c \
-n support.h \
-h \
-f tmp-support.h \
-n support.c \
-f tmp-support.c \
-n itable.h \
-h \
-t tmp-itable.h \
-n itable.c \
-t tmp-itable.c \
-n engine.h \
-h \
-e tmp-engine.h \
-n engine.c \
-e tmp-engine.c \
-n irun.c \
-r tmp-irun.c \
../../gdb/mips-mdebug-tdep.c:410: warning: initialization from incompatible pointer type
Creating observer.htmp
../../gdb/printcmd.c: In function `printf_command':
../../gdb/printcmd.c:1962: warning: format not a string literal, argument types not checked
../../gdb/printcmd.c:1968: warning: format not a string literal, argument types not checked
../../gdb/printcmd.c:1975: warning: format not a string literal, argument types not checked
../../gdb/printcmd.c:1985: warning: format not a string literal, argument types not checked
../../gdb/event-top.c: In function `gdb_setup_readline':
../../gdb/event-top.c:1113: warning: type defaults to `int' in declaration of `batch_silent'
Creating observer.itmp
../../gdb/utils.c: In function `init_page_info':
../../gdb/utils.c:1649: warning: implicit declaration of function `tgetnum'
ar: creating libgdb.a
rm: cannot remove directory `gdb-6.4/sim/erc32': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/iq2000': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/mcore': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/sh': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/testsuite/mips64el-elf': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/testsuite/sim/fr30': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/testsuite/sim/h8300': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/v850': Device or resource busy
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