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 

Another toolchain error, ERROR RUNNING PSPSDK CONFIGURE

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



Joined: 17 Jan 2006
Posts: 80
Location: Ontario, Canada

PostPosted: Tue Feb 07, 2006 4:01 am    Post subject: Another toolchain error, ERROR RUNNING PSPSDK CONFIGURE Reply with quote

Hi guys, I got an error while running the toolchain on my linux setup.

I was wondering if maybe you could help me to understand what I need to fix, to get up and running soon.

Code:
  CFLAGS="-g -O2  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   " \
  CONFIG_H="config.h  auto-host.h ../../gcc/../include/ansidecl.h" \
  MAKEOVERRIDES= \
  mkinstalldirs='/bin/sh ../../gcc/../mkinstalldirs' \
  -f libgcc.mk install
make[2]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/gcc'
make GCC_FOR_TARGET="/tmp/pspdev/gcc-4.0.2/build-psp/gcc/xgcc -B/tmp/pspdev/gcc-4.0.2/build-psp/gcc/ -B/usr/local/pspdev/psp/bin/ -B/usr/local/pspdev/psp/lib/ -isystem /usr/local/pspdev/psp/include -isystem /usr/local/pspdev/psp/sys-include" \
  AR_FOR_TARGET="psp-ar" \
  AR_CREATE_FOR_TARGET="psp-ar  rc" \
  AR_EXTRACT_FOR_TARGET="psp-ar  x" \
  AR_FLAGS_FOR_TARGET="" \
  CC="gcc" CFLAGS="-g -O2  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes   " \
  BUILD_PREFIX="" \
  BUILD_PREFIX_1="loser-" \
  LANGUAGES="" \
  LIBGCC2_CFLAGS="-O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include -G 0 -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc "  \
  MULTILIB_CFLAGS="" T= crtbegin.o crtend.o crti.o crtn.o
make[3]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/gcc'
make[3]: `crtend.o' is up to date.
make[3]: `crti.o' is up to date.
make[3]: `crtn.o' is up to date.
make[3]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/gcc'
/usr/bin/install -c -m 644 ./libgcc.a /usr/local/pspdev/lib/gcc/psp/4.0.2/
psp-ranlib /usr/local/pspdev/lib/gcc/psp/4.0.2/libgcc.a
/usr/bin/install -c -m 644 ./libgcov.a /usr/local/pspdev/lib/gcc/psp/4.0.2/
psp-ranlib /usr/local/pspdev/lib/gcc/psp/4.0.2/libgcov.a
/usr/bin/install -c -m 644 crtbegin.o /usr/local/pspdev/lib/gcc/psp/4.0.2/
/usr/bin/install -c -m 644 crtend.o /usr/local/pspdev/lib/gcc/psp/4.0.2/
/usr/bin/install -c -m 644 crti.o /usr/local/pspdev/lib/gcc/psp/4.0.2/
/usr/bin/install -c -m 644 crtn.o /usr/local/pspdev/lib/gcc/psp/4.0.2/
make[2]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/gcc'
rm -f /usr/local/pspdev/bin/psp-cpp
/usr/bin/install -c -m 755 cpp /usr/local/pspdev/bin/psp-cpp
if [ x != x ]; then \
  rm -f /usr/local/pspdev//psp-cpp; \
  /usr/bin/install -c -m 755 cpp /usr/local/pspdev//psp-cpp; \
else true; fi
rm -f /usr/local/pspdev/info/cpp.info
if [ -f ../../gcc/doc/cpp.info ]; then \
  for f in ../../gcc/doc/cpp.info*; do \
    realfile=`echo $f | sed -e 's|.*/\([^/]*\)$|\1|'`; \
    /usr/bin/install -c -m 644 $f /usr/local/pspdev/info/$realfile; \
    chmod a-x /usr/local/pspdev/info/$realfile; \
  done; \
else true; fi
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
  if [ -f /usr/local/pspdev/info/cpp.info ]; then \
    install-info --dir-file=/usr/local/pspdev/info/dir /usr/local/pspdev/info/cpp.info; \
  else true; fi; \
else true; fi;
* Cpp: (cpp). The GNU C preprocessor.
install-info(/usr/local/pspdev/info/cpp.info): no file /usr/local/pspdev/info/dir/dir, retrieving backup file /var/backups/infodir.bak.
cp: cannot create regular file `/usr/local/pspdev/info/dir/dir': No such file or directory
install-info(/usr/local/pspdev/info/cpp.info): copying /var/backups/infodir.bak to /usr/local/pspdev/info/dir/dir failed, giving up: No such file or directory
make[1]: [/usr/local/pspdev/info/cpp.info] Error 1 (ignored)
rm -f /usr/local/pspdev/info/gcc.info
if [ -f ../../gcc/doc/gcc.info ]; then \
  for f in ../../gcc/doc/gcc.info*; do \
    realfile=`echo $f | sed -e 's|.*/\([^/]*\)$|\1|'`; \
    /usr/bin/install -c -m 644 $f /usr/local/pspdev/info/$realfile; \
    chmod a-x /usr/local/pspdev/info/$realfile; \
  done; \
else true; fi
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
  if [ -f /usr/local/pspdev/info/gcc.info ]; then \
    install-info --dir-file=/usr/local/pspdev/info/dir /usr/local/pspdev/info/gcc.info; \
  else true; fi; \
else true; fi;
* gcc: (gcc). The GNU Compiler Collection.
install-info(/usr/local/pspdev/info/gcc.info): no file /usr/local/pspdev/info/dir/dir, retrieving backup file /var/backups/infodir.bak.
cp: cannot create regular file `/usr/local/pspdev/info/dir/dir': No such file or directory
install-info(/usr/local/pspdev/info/gcc.info): copying /var/backups/infodir.bak to /usr/local/pspdev/info/dir/dir failed, giving up: No such file or directory
make[1]: [/usr/local/pspdev/info/gcc.info] Error 1 (ignored)
rm -f /usr/local/pspdev/info/cppinternals.info
if [ -f ../../gcc/doc/cppinternals.info ]; then \
  for f in ../../gcc/doc/cppinternals.info*; do \
    realfile=`echo $f | sed -e 's|.*/\([^/]*\)$|\1|'`; \
    /usr/bin/install -c -m 644 $f /usr/local/pspdev/info/$realfile; \
    chmod a-x /usr/local/pspdev/info/$realfile; \
  done; \
else true; fi
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
  if [ -f /usr/local/pspdev/info/cppinternals.info ]; then \
    install-info --dir-file=/usr/local/pspdev/info/dir /usr/local/pspdev/info/cppinternals.info; \
  else true; fi; \
else true; fi;
* Cpplib: (cppinternals). Cpplib internals.
install-info(/usr/local/pspdev/info/cppinternals.info): no file /usr/local/pspdev/info/dir/dir, retrieving backup file /var/backups/infodir.bak.
cp: cannot create regular file `/usr/local/pspdev/info/dir/dir': No such file or directory
install-info(/usr/local/pspdev/info/cppinternals.info): copying /var/backups/infodir.bak to /usr/local/pspdev/info/dir/dir failed, giving up: No such file or directory
make[1]: [/usr/local/pspdev/info/cppinternals.info] Error 1 (ignored)
rm -f /usr/local/pspdev/info/gccinstall.info
if [ -f ../../gcc/doc/gccinstall.info ]; then \
  for f in ../../gcc/doc/gccinstall.info*; do \
    realfile=`echo $f | sed -e 's|.*/\([^/]*\)$|\1|'`; \
    /usr/bin/install -c -m 644 $f /usr/local/pspdev/info/$realfile; \
    chmod a-x /usr/local/pspdev/info/$realfile; \
  done; \
else true; fi
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
  if [ -f /usr/local/pspdev/info/gccinstall.info ]; then \
    install-info --dir-file=/usr/local/pspdev/info/dir /usr/local/pspdev/info/gccinstall.info; \
  else true; fi; \
else true; fi;
* gccinstall: (gccinstall). Installing the GNU Compiler Collection.
install-info(/usr/local/pspdev/info/gccinstall.info): no file /usr/local/pspdev/info/dir/dir, retrieving backup file /var/backups/infodir.bak.
cp: cannot create regular file `/usr/local/pspdev/info/dir/dir': No such file or directory
install-info(/usr/local/pspdev/info/gccinstall.info): copying /var/backups/infodir.bak to /usr/local/pspdev/info/dir/dir failed, giving up: No such file or directory
make[1]: [/usr/local/pspdev/info/gccinstall.info] Error 1 (ignored)
rm -f /usr/local/pspdev/info/gccint.info
if [ -f ../../gcc/doc/gccint.info ]; then \
  for f in ../../gcc/doc/gccint.info*; do \
    realfile=`echo $f | sed -e 's|.*/\([^/]*\)$|\1|'`; \
    /usr/bin/install -c -m 644 $f /usr/local/pspdev/info/$realfile; \
    chmod a-x /usr/local/pspdev/info/$realfile; \
  done; \
else true; fi
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
  if [ -f /usr/local/pspdev/info/gccint.info ]; then \
    install-info --dir-file=/usr/local/pspdev/info/dir /usr/local/pspdev/info/gccint.info; \
  else true; fi; \
else true; fi;
* gccint: (gccint). Internals of the GNU Compiler Collection.
install-info(/usr/local/pspdev/info/gccint.info): no file /usr/local/pspdev/info/dir/dir, retrieving backup file /var/backups/infodir.bak.
cp: cannot create regular file `/usr/local/pspdev/info/dir/dir': No such file or directory
install-info(/usr/local/pspdev/info/gccint.info): copying /var/backups/infodir.bak to /usr/local/pspdev/info/dir/dir failed, giving up: No such file or directory
make[1]: [/usr/local/pspdev/info/gccint.info] Error 1 (ignored)
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share
cats="po/be.gmo po/ca.gmo po/da.gmo po/de.gmo po/el.gmo po/es.gmo po/fr.gmo po/ja.gmo po/nl.gmo po/rw.gmo po/sv.gmo po/tr.gmo po/zh_CN.gmo po/be.gmo po/ca.gmo po/da.gmo po/de.gmo po/el.gmo po/es.gmo po/fr.gmo po/ja.gmo po/nl.gmo po/rw.gmo po/sv.gmo po/tr.gmo po/zh_CN.gmo"; for cat in $cats; do \
  lang=`basename $cat | sed 's/\.gmo$//'`; \
  if [ -f $cat ]; then :; \
  elif [ -f ../../gcc/$cat ]; then cat=../../gcc/$cat; \
  else continue; \
  fi; \
  dir=/usr/local/pspdev/share/locale/$lang/LC_MESSAGES; \
  echo /bin/sh ../../gcc/../mkinstalldirs $dir; \
  /bin/sh ../../gcc/../mkinstalldirs $dir || exit 1; \
  echo /usr/bin/install -c -m 644 $cat $dir/gcc.mo; \
  /usr/bin/install -c -m 644 $cat $dir/gcc.mo; \
done
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/be/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/be.gmo /usr/local/pspdev/share/locale/be/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/ca/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/ca.gmo /usr/local/pspdev/share/locale/ca/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/da/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/da.gmo /usr/local/pspdev/share/locale/da/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/de/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/de.gmo /usr/local/pspdev/share/locale/de/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/el/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/el.gmo /usr/local/pspdev/share/locale/el/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/es/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/es.gmo /usr/local/pspdev/share/locale/es/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/fr/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/fr.gmo /usr/local/pspdev/share/locale/fr/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/ja/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/ja.gmo /usr/local/pspdev/share/locale/ja/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/nl/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/nl.gmo /usr/local/pspdev/share/locale/nl/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/rw/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/rw.gmo /usr/local/pspdev/share/locale/rw/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/sv/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/sv.gmo /usr/local/pspdev/share/locale/sv/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/tr/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/tr.gmo /usr/local/pspdev/share/locale/tr/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/zh_CN/LC_MESSAGES
/usr/bin/install -c -m 644 ../../gcc/po/zh_CN.gmo /usr/local/pspdev/share/locale/zh_CN/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/be/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/be.gmo /usr/local/pspdev/share/locale/be/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/ca/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/ca.gmo /usr/local/pspdev/share/locale/ca/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/da/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/da.gmo /usr/local/pspdev/share/locale/da/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/de/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/de.gmo /usr/local/pspdev/share/locale/de/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/el/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/el.gmo /usr/local/pspdev/share/locale/el/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/es/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/es.gmo /usr/local/pspdev/share/locale/es/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/fr/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/fr.gmo /usr/local/pspdev/share/locale/fr/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/ja/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/ja.gmo /usr/local/pspdev/share/locale/ja/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/nl/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/nl.gmo /usr/local/pspdev/share/locale/nl/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/rw/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/rw.gmo /usr/local/pspdev/share/locale/rw/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/sv/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/sv.gmo /usr/local/pspdev/share/locale/sv/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/tr/LC_MESSAGES/usr/bin/install -c -m 644 ../../gcc/po/tr.gmo /usr/local/pspdev/share/locale/tr/LC_MESSAGES/gcc.mo
/bin/sh ../../gcc/../mkinstalldirs /usr/local/pspdev/share/locale/zh_CN/LC_MESSAGES
/usr/bin/install -c -m 644 ../../gcc/po/zh_CN.gmo /usr/local/pspdev/share/locale/zh_CN/LC_MESSAGES/gcc.mo
rm -f /usr/local/pspdev/bin/psp-gcc
/usr/bin/install -c xgcc /usr/local/pspdev/bin/psp-gcc
rm -f /usr/local/pspdev/bin/psp-gcc-4.0.2
( cd /usr/local/pspdev/bin && \
   ln psp-gcc psp-gcc-4.0.2 )
if [ -f gcc-cross ] ; then \
  if [ -d /usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/bin/. ] ; then \
    rm -f /usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/bin/gcc; \
    /usr/bin/install -c gcc-cross /usr/local/pspdev/lib/gcc/psp/4.0.2/../../../../psp/bin/gcc; \
  else true; fi; \
else \
  rm -f /usr/local/pspdev/bin/psp-gcc-tmp; \
  ( cd /usr/local/pspdev/bin && \
    ln psp-gcc psp-gcc-tmp && \
    mv -f psp-gcc-tmp psp-psp-gcc ); \
fi
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/gcc'
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/intl'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/intl'
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/libcpp'
cats="po/be.gmo po/ca.gmo po/da.gmo po/de.gmo po/el.gmo po/es.gmo po/fr.gmo po/ja.gmo po/nl.gmo po/rw.gmo po/sv.gmo po/tr.gmo po/vi.gmo po/be.gmo po/ca.gmo po/da.gmo po/de.gmo po/el.gmo po/es.gmo po/fr.gmo po/ja.gmo po/nl.gmo po/rw.gmo po/sv.gmo po/tr.gmo po/vi.gmo"; for cat in $cats; do \
  lang=`basename $cat | sed 's/\.gmo$//'`; \
  if [ -f $cat ]; then :; \
  elif [ -f ../../libcpp/$cat ]; then cat=../../libcpp/$cat; \
  else continue; \
  fi; \
  dir=/usr/local/pspdev/share/locale/$lang/LC_MESSAGES; \
  echo /usr/bin/install -c -m 644 $cat $dir/cpplib.mo; \
  /usr/bin/install -c -m 644 $cat $dir/cpplib.mo; \
done
/usr/bin/install -c -m 644 ../../libcpp/po/be.gmo /usr/local/pspdev/share/locale/be/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/ca.gmo /usr/local/pspdev/share/locale/ca/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/da.gmo /usr/local/pspdev/share/locale/da/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/de.gmo /usr/local/pspdev/share/locale/de/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/el.gmo /usr/local/pspdev/share/locale/el/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/es.gmo /usr/local/pspdev/share/locale/es/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/fr.gmo /usr/local/pspdev/share/locale/fr/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/ja.gmo /usr/local/pspdev/share/locale/ja/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/nl.gmo /usr/local/pspdev/share/locale/nl/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/rw.gmo /usr/local/pspdev/share/locale/rw/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/sv.gmo /usr/local/pspdev/share/locale/sv/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/tr.gmo /usr/local/pspdev/share/locale/tr/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/vi.gmo /usr/local/pspdev/share/locale/vi/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/be.gmo /usr/local/pspdev/share/locale/be/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/ca.gmo /usr/local/pspdev/share/locale/ca/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/da.gmo /usr/local/pspdev/share/locale/da/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/de.gmo /usr/local/pspdev/share/locale/de/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/el.gmo /usr/local/pspdev/share/locale/el/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/es.gmo /usr/local/pspdev/share/locale/es/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/fr.gmo /usr/local/pspdev/share/locale/fr/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/ja.gmo /usr/local/pspdev/share/locale/ja/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/nl.gmo /usr/local/pspdev/share/locale/nl/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/rw.gmo /usr/local/pspdev/share/locale/rw/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/sv.gmo /usr/local/pspdev/share/locale/sv/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/tr.gmo /usr/local/pspdev/share/locale/tr/LC_MESSAGES/cpplib.mo
/usr/bin/install -c -m 644 ../../libcpp/po/vi.gmo /usr/local/pspdev/share/locale/vi/LC_MESSAGES/cpplib.mo
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/libcpp'
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty'
make[2]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty/testsuite'/bin/sh ../../libiberty/../mkinstalldirs /usr/local/pspdev/lib
/usr/bin/install -c -m 644 ./libiberty.a /usr/local/pspdev/lib/./libiberty.an
( cd /usr/local/pspdev/lib ; ranlib ./libiberty.an )
mv -f /usr/local/pspdev/lib/./libiberty.an /usr/local/pspdev/lib/./libiberty.a
if test -n ""; then \
  case "" in \
    /*)    thd=;; \
    *)     thd=/usr/local/pspdev/include/;; \
  esac; \
  /bin/sh ../../libiberty/../mkinstalldirs ${thd}; \
  for h in ../../libiberty/../include/ansidecl.h ../../libiberty/../include/demangle.h ../../libiberty/../include/dyn-string.h ../../libiberty/../include/fibheap.h ../../libiberty/../include/floatformat.h ../../libiberty/../include/hashtab.h ../../libiberty/../include/libiberty.h ../../libiberty/../include/objalloc.h ../../libiberty/../include/partition.h ../../libiberty/../include/safe-ctype.h ../../libiberty/../include/sort.h ../../libiberty/../include/splay-tree.h ../../libiberty/../include/ternary.h; do \
    /usr/bin/install -c -m 644 $h ${thd}; \
  done; \
fi
make[2]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty/testsuite'
make[2]: Nothing to be done for `install'.
make[2]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty/testsuite'make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty'
Doing clean in fixincludes
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/fixincludes'
rm -f *.o *-stamp applyfix fixincl *~ fixinc.sh
rm -f mkheaders
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/fixincludes'
Doing clean in gcc
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/gcc'
rm -f insn-flags.h insn-config.h insn-codes.h insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c insn-attr.h insn-attrtab.c insn-opinit.c insn-preds.c insn-constants.h tm-preds.h tree-check.h insn-conditions.c min-insn-modes.c insn-modes.c insn-modes.h genrtl.c genrtl.h gt-*.h gtype-*.h gtype-desc.c gtyp-gen.h *.o s-* xgcc cpp cc1    gcc-cross protoize unprotoize specs collect2 gcov-iov gcov gcov-dump *.[0-9][0-9].* *.[si] libbackend.a libgcc.mk
rm -f *.{gcda,gcno}
rm -rf libgcc
rm -f build/*
rm -f mddeps.mk
rm -f xlimits.h
rm -f xsys-protos.hT
rm -f specs.h gencheck.h options.c options.h
rm -f s-* tmp-* stamp-* stmp-*
rm -f */stamp-* */tmp-*
rm -f *.[0-9][0-9].* */*.[0-9][0-9].*
rm -f specs specs SYSCALLS.c.X SYSCALLS.c
rm -f collect collect2 mips-tfile mips-tdump
rm -rf  xsys-protos.h deduced.h tmp-deduced.h \
  gen-protos fixproto.list fixtmp.* fixhdr.ready
rm -f *.toc *.log *.vr *.fn *.cp *.tp *.ky *.pg
rm -f */*.toc */*.log */*.vr */*.fn */*.cp */*.tp */*.ky */*.pg
rm -f gcc.vrs gcc.kys gcc.tps gcc.pgs gcc.fns
rm -f core */core
rm -f gtyp-gen.h
rm -f gtype-*
rm -f gt-*
rm -f libgcc.a libgcc_eh.a libgcov.a
rm -f libgcc_s*
rm -f libunwind*
rm -f config.h tconfig.h bconfig.h tm_p.h tm.h
rm -f options.c options.h optionlist
rm -f cs-*
rm -rf libgcc
rm -f doc/*.dvi
rm -rf include
rm -f multilib.h tmpmultilib*
if [ "x" != x ] ; then \
  rm -rf ; \
else if [ "x" != x ] ; then \
  rm -rf `echo  | sed -e 's/\// /g'`; \
fi ; fi
rm -fr stage1 stage2 stage3 stage4 stageprofile stagefeedback
rm -f stage?_*
rm -f clean?_*
rm -f stage_last
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/gcc'
Doing clean in intl
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/intl'
rm -f *.a *.la *.o *.obj *.lo core core.* libintl.h
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/intl'
Doing clean in libcpp
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/libcpp'
rm -f *.o
rm -rf makedepend libcpp.a ../../libcpp/autom4te.cache
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/libcpp'
Doing clean in libiberty
make[1]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty'
make[2]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty/testsuite'
rm -f test-demangle
make[2]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty/testsuite'make SUBDIRS="" mostlyclean
make[2]: Entering directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty'
rm -rf *.o pic core errs \#* *.E a.out
rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-*
rm -f   stamp-picdir
rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
rm -f libtexi.stamp
make[2]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty'
rm -f *.a required-list tmpmulti.out
rm -f libiberty.dvi libiberty.info* libiberty.html
make[1]: Leaving directory `/tmp/pspdev/gcc-4.0.2/build-psp/libiberty'
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
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
.
aclocal: configure.ac: 19: macro `AM_PROG_AS' not found in library
configure.ac: 7: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
automake: configure.ac: installing `./install-sh'
automake: configure.ac: installing `./mkinstalldirs'
automake: configure.ac: installing `./missing'
Makefile.am:35: DX_COND_doc does not appear in AM_CONDITIONAL
Makefile.am:41: DX_COND_html does not appear in AM_CONDITIONAL
Makefile.am:51: DX_COND_chm does not appear in AM_CONDITIONAL
Makefile.am:55: DX_COND_chi does not appear in AM_CONDITIONAL
Makefile.am:67: DX_COND_man does not appear in AM_CONDITIONAL
Makefile.am:77: DX_COND_rtf does not appear in AM_CONDITIONAL
Makefile.am:87: DX_COND_xml does not appear in AM_CONDITIONAL
Makefile.am:97: DX_COND_ps does not appear in AM_CONDITIONAL
Makefile.am:126: DX_COND_pdf does not appear in AM_CONDITIONAL
Makefile.am:155: DX_COND_latex does not appear in AM_CONDITIONAL
automake: Makefile.am: unterminated conditionals: @DX_COND_doc_TRUE@ @DX_COND_html_TRUE@ @DX_COND_chm_TRUE@ @DX_COND_chi_TRUE@ @DX_COND_man_TRUE@ @DX_COND_rtf_TRUE@ @DX_COND_xml_TRUE@ @DX_COND_ps_TRUE@ @DX_COND_pdf_TRUE@ @DX_COND_latex_TRUE@
automake: Makefile.am: unterminated conditionals: @DX_COND_doc_TRUE@ @DX_COND_html_TRUE@ @DX_COND_chm_TRUE@ @DX_COND_chi_TRUE@ @DX_COND_man_TRUE@ @DX_COND_rtf_TRUE@ @DX_COND_xml_TRUE@ @DX_COND_ps_TRUE@ @DX_COND_pdf_TRUE@ @DX_COND_latex_TRUE@
configure.ac: 7: required file `./[config.h].in' not found
automake: Makefile.am: warning: automake does not support EXTRA_DIST being defined conditionally
Makefile.am:10: variable `DX_CONFIG' not defined
configure.ac:8: error: possibly undefined macro: AC_PSPSDK_VERSION
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:9: error: possibly undefined macro: AC_PSPDEV_PATH
configure.ac:11: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:14: error: possibly undefined macro: AC_PSPDEV_TOOLCHAIN
configure.ac:19: error: possibly undefined macro: AM_PROG_AS
./configure: line 1312: AC_1.0+beta2: command not found
./configure: line 1313: AC_PSPDEV_PATH: command not found
./configure: line 1315: syntax error near unexpected token `pspsdk,'
./configure: line 1315: `AM_INIT_AUTOMAKE(pspsdk, 1.0+beta2)'
ERROR RUNNING PSPSDK CONFIGURE
JesusXP:/home/jesusxp/psptoolchain#


Thanks
Back to top
View user's profile Send private message MSN Messenger
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Feb 07, 2006 4:48 am    Post subject: Reply with quote

Looks like your automake is too old. Make sure you have automake 1.9 installed, and if you're running a Debian derivative then run
Code:
update-alternatives --config automake

and select the newest version. See also this.
Back to top
View user's profile Send private message
JesusXP



Joined: 17 Jan 2006
Posts: 80
Location: Ontario, Canada

PostPosted: Tue Feb 07, 2006 4:53 am    Post subject: Reply with quote

Thank you very much for the help with that, I'll have to try it when I get home.

As for now, I happen to be at school, and on my laptop is running SUSE 10. I think i got the toolchain running correctly, however I cant compile the first tutorial in scriptscribbler's tut's.

Code:
jesusxp@l-068-029:~> echo $PATH
/home/jesusxp/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
jesusxp@l-068-029:~> export PSPDEV="/usr/local/pspdev" jesusxp@l-068-029:~> export PSPSDK="/usr/local/pspdev/psp/sdk" jesusxp@l-068-029:~> export PATH="$PATH:$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin"jesusxp@l-068-029:~> cd Projects/
jesusxp@l-068-029:~/Projects> cd PSP/
jesusxp@l-068-029:~/Projects/PSP> cd helloworld/
jesusxp@l-068-029:~/Projects/PSP/helloworld> make
make: *** No targets.  Stop.
jesusxp@l-068-029:~/Projects/PSP/helloworld> make helloworld.c
make: Nothing to be done for `helloworld.c'.
jesusxp@l-068-029:~/Projects/PSP/helloworld> psp-gcc helloworld.c
helloworld.c:8:23: error: pspkernel.h: No such file or directory
helloworld.c:9:22: error: pspdebug.h: No such file or directory
helloworld.c:12: error: syntax error before string constant
helloworld.c:12: warning: data definition has no type or storage class
helloworld.c:24: error: syntax error before ‘args’
jesusxp@l-068-029:~/Projects/PSP/helloworld> echo $PATH
/home/jesusxp/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/local/pspdev/bin:/usr/local/pspdev/psp/bin:/usr/local/pspdev/psp/sdk/bin


Any reason why this isnt compiling? If everything is installed properly, these librarys should be installed no?
Back to top
View user's profile Send private message MSN Messenger
JesusXP



Joined: 17 Jan 2006
Posts: 80
Location: Ontario, Canada

PostPosted: Tue Feb 07, 2006 4:55 am    Post subject: Reply with quote

I never did a svn of the pspsdk, so Im running that right now, and I'll get back to this later.
Back to top
View user's profile Send private message MSN Messenger
JesusXP



Joined: 17 Jan 2006
Posts: 80
Location: Ontario, Canada

PostPosted: Tue Feb 07, 2006 6:13 am    Post subject: Reply with quote

Well, since all of my paths are set correctly, (after checking), I found that pspkernel.h is in the folder /usr/local/pspdev/psp/sdk , so the program should be compiling no? I dont understand, automake on this laptop is the correct version also... hm... I know once I get over this hump, I'll be able to code lol...

update:

Im svn'n the pspsdk, to home/jesusxp/pspsdk right now... and I need to know what step I should take after this to ensure compiling? I checked both versions of pspkernel.h, in /usr/local/pspdev/psp/sdk and also /home/jesusxp/pspsdk, and they are the exact same... Im just having trouble seeing where I'm going wrong...thanks in advance.

update:

Code:
l-068-029:/home/jesusxp # export PSPDEV="/usr/local/pspdev"
l-068-029:/home/jesusxp # export PSPSDK="/usr/local/pspdev/psp/sdk"
l-068-029:/home/jesusxp # export CVSROOT=":pserver:anonymous@cvs.ps2dev.org:/home/pspcvs"
l-068-029:/home/jesusxp # export PATH="$PATH:$PSPDEV/bin:$PSPDEV/psp/bin:$PSPSDK/bin"
l-068-029:/home/jesusxp # echo $PATH
/home/jesusxp/bin:/usr/local/bin:/usr/bin:/sbin:/usr/X11R6/bin:/usr/sbin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/local/pspdev/bin:/usr/local/pspdev/psp/bin:/usr/local/pspdev/psp/sdk/bin
l-068-029:/home/jesusxp # cd Projects/PSP/helloworld/
l-068-029:/home/jesusxp/Projects/PSP/helloworld # make helloworld
cc -O2 -G0 -Wall    helloworld.c   -o helloworld
cc: unrecognized option '-G0'
helloworld.c:8:23: error: pspkernel.h: No such file or directory
helloworld.c:9:22: error: pspdebug.h: No such file or directory
helloworld.c:12: error: syntax error before string constant
helloworld.c:12: warning: type defaults to ‘int’ in declaration of ‘PSP_MODULE_INFO’
helloworld.c:12: warning: data definition has no type or storage class
helloworld.c: In function ‘exit_callback’:
helloworld.c:19: warning: implicit declaration of function ‘sceKernelExitGame’
helloworld.c: At top level:
helloworld.c:24: error: syntax error before ‘args’
helloworld.c: In function ‘CallbackThread’:
helloworld.c:27: warning: implicit declaration of function ‘sceKernelCreateCallback’
helloworld.c:28: warning: implicit declaration of function ‘sceKernelSleepThreadCB’
helloworld.c: In function ‘SetupCallbacks’:
helloworld.c:37: warning: implicit declaration of function ‘sceKernelCreateThread’
helloworld.c:39: warning: implicit declaration of function ‘sceKernelStartThread’
helloworld.c: In function ‘main’:
helloworld.c:46: warning: implicit declaration of function ‘pspDebugScreenInit’
helloworld.c:49: warning: implicit declaration of function ‘pspDebugScreenPrintf’
helloworld.c:51: warning: implicit declaration of function ‘sceKernelSleepThread’
make: *** [helloworld] Error 1
l-068-029:/home/jesusxp/Projects/PSP/helloworld #
Back to top
View user's profile Send private message MSN Messenger
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Tue Feb 07, 2006 8:45 am    Post subject: Reply with quote

Code:
l-068-029:/home/jesusxp/Projects/PSP/helloworld # make helloworld
cc -O2 -G0 -Wall    helloworld.c   -o helloworld
cc: unrecognized option '-G0'

It would appear you've really assed things up if its trying to compile psp programs with 'cc' instead of 'psp-gcc'.
Back to top
View user's profile Send private message Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Feb 07, 2006 9:19 am    Post subject: Reply with quote

Sounds like this "helloworld" program has no Makefile. Try building one of the SDK samples, they're tested to work:
Code:
cd /usr/local/pspsdk/psp/sdk/samples/power
make
Back to top
View user's profile Send private message
JesusXP



Joined: 17 Jan 2006
Posts: 80
Location: Ontario, Canada

PostPosted: Tue Feb 07, 2006 4:41 pm    Post subject: Reply with quote

Here is my makefile.

Code:

TARGET = helloworld
OBJS = helloworld.o

CFLAGS = -O2 -G0 -Wall
CXXFLAGS=$(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS=$(CFLAGS)

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = Hello World.

PSPSDK=/usr/local/pspdev/psp/sdk
include $(PSPSDK)/lib/build.mak

Back to top
View user's profile Send private message MSN Messenger
JesusXP



Joined: 17 Jan 2006
Posts: 80
Location: Ontario, Canada

PostPosted: Tue Feb 07, 2006 4:44 pm    Post subject: Reply with quote

Sweet mother of ... It works now!! Thanks everyone, I have no clue why the sudden change in shit I did, but whatever. Thanks Thanks thakns... Time to code
Back to top
View user's profile Send private message MSN Messenger
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