Ok, this is fixed : all these errors are because I had kept the version 1.4 of aclocal, while using version 1.9 of automake !!!
I am trying to build pspsdk using the toolchain script at http://www.oopo.net/consoledev/
on a debian testing, runing on a ppc cpu.
I have seen I must use automake-1.9 instead of the default version, but it doesn't change anything. Here are the errors with automake-1.9 :
(I have installed all the packages mentioned for unbuntu)
manu@minimac:~/psptoolchain/pspdev/work$ ./bootstrap
.
aclocal: configure.ac: 19: macro `AM_PROG_AS' not found in library
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
configure.ac: installing `./install-sh'
configure.ac: installing `./missing'
sdk/audio/Makefile.am: installing `./depcomp'
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCXX does not appear in AM_COND
ITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.9/am/depend2.am: am__fastdepCC does not appear in AM_CONDI
TIONAL
/usr/share/automake-1.9/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
aminclude.am:35: DX_COND_doc does not appear in AM_CONDITIONAL
Makefile.am:6: `aminclude.am' included from here
aminclude.am:41: DX_COND_html does not appear in AM_CONDITIONAL
Makefile.am:6: `aminclude.am' included from here
aminclude.am:51: DX_COND_chm does not appear in AM_CONDITIONAL
Makefile.am:6: `aminclude.am' included from here
aminclude.am:55: DX_COND_chi does not appear in AM_CONDITIONAL
Makefile.am:6: `aminclude.am' included from here
aminclude.am:67: DX_COND_man does not appear in AM_CONDITIONAL
Makefile.am:6: `aminclude.am' included from here
aminclude.am:77: DX_COND_rtf does not appear in AM_CONDITIONAL
Makefile.am:6: `aminclude.am' included from here
aminclude.am:87: DX_COND_xml does not appear in AM_CONDITIONAL
Makefile.am:6: `aminclude.am' included from here
aminclude.am:97: DX_COND_ps does not appear in AM_CONDITIONAL
Makefile.am:6: `aminclude.am' included from here
aminclude.am:126: DX_COND_pdf does not appear in AM_CONDITIONAL
Makefile.am:6: `aminclude.am' included from here
aminclude.am:155: DX_COND_latex does not appear in AM_CONDITIONAL
Makefile.am:6: `aminclude.am' included from here
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
grep: Makefile.in: Aucun fichier ou répertoire de ce type
automake is really the kind of "plug and pray" program, either it works automatically, or you are in big trouble !
I have tried all the versions of the automake tools I could find, without success... Help !!!
pspsdk build problem (I hate automake !!!)
I'm having troubles updating the SDK. Toolchain script gives the following error:
(The last lines of console output)
Any pointers what could be the problem...?
(The last lines of console output)
Code: Select all
psp-gcc -B/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/ -isystem /tmp/pspdev/n
ewlib-1.13.0/build-psp/psp/newlib/targ-include -isystem /tmp/pspdev/newlib-1.13.
0/newlib/libc/include -DPACKAGE=\"newlib\" -DVERSION=\"1.13.0\" -I. -I../../../
../../../newlib/libc/sys/psp -O2 -G0 -DPREFER_SIZE_OVER_SPEED -DCOMPACT_CTYPE -
DCLOCK_PROVIDED -I/usr/local/pspdev/psp/sdk/include -fno-builtin -O2 -g -O2
-O2 -g -O2 -DF__opendir ../../../../../../newlib/libc/sys/psp/libcglue.c -c -o
_opendir.o
../../../../../../newlib/libc/sys/psp/libcglue.c:272: error: syntax error before
'*' token
../../../../../../newlib/libc/sys/psp/libcglue.c: In function '_opendir':
../../../../../../newlib/libc/sys/psp/libcglue.c:274: error: 'DIR' undeclared (f
irst use in this function)
../../../../../../newlib/libc/sys/psp/libcglue.c:274: error: (Each undeclared id
entifier is reported only once
../../../../../../newlib/libc/sys/psp/libcglue.c:274: error: for each function i
t appears in.)
../../../../../../newlib/libc/sys/psp/libcglue.c:274: error: 'dirp' undeclared (
first use in this function)
../../../../../../newlib/libc/sys/psp/libcglue.c:282: error: syntax error before
')' token
make[5]: *** [_opendir.o] Error 1
make[5]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc/
sys/psp'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc/
sys'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/libc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib'
make: *** [all-target-newlib] Error 2
ERROR BUILDING NEWLIB
Any pointers what could be the problem...?
Re: pspsdk build problem (I hate automake !!!)
Had the same problems with aclocal-1.4 on debian unstable. However, after upgrading to automake 1.9 and aclocal 1.9 and resymlinking /etc/alternatives/aclocal and /etc/alternatives/automake PSPSDK compiles just fine via:zelurker wrote:manu@minimac:~/psptoolchain/pspdev/work$ ./bootstrap
.
aclocal: configure.ac: 19: macro `AM_PROG_AS' not found in library
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
...
GCC=gcc-3.4 ./toolchain.sh --prefix /home/rico/pspdev -d -a
Hope that helps.
Rico