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 

Error when using toolchain.sh - A new problem (Ubuntu)

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



Joined: 05 Apr 2006
Posts: 11

PostPosted: Sun Jan 07, 2007 4:39 am    Post subject: Error when using toolchain.sh - A new problem (Ubuntu) Reply with quote

The new problem is 2 posts down on this page.

Code:
Eksportert revisjon 2127.
.
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 1682: AC_1.0+beta2: command not found
./configure: line 1683: AC_PSPDEV_PATH: command not found
./configure: line 1685: syntax error near unexpected token `pspsdk,'
./configure: line 1685: `AM_INIT_AUTOMAKE(pspsdk, 1.0+beta2)'
ERROR RUNNING PSPSDK CONFIGURE
ostehovel@ubuntu:/mnt/hgfs/Share/psptoolchain$

Im getting this error when i run toolchain.sh...
I have no clue what can be wrong.
Im using Ubuntu Linux.

Fixed by installing a new version of autoconf......


Last edited by Ostehovel on Sun Jan 07, 2007 6:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1180
Location: Boston

PostPosted: Sun Jan 07, 2007 5:18 am    Post subject: Reply with quote

very common problem...
http://forums.ps2dev.org/viewtopic.php?t=4014
http://forums.ps2dev.org/viewtopic.php?t=5434
http://forums.ps2dev.org/viewtopic.php?t=5147
http://forums.ps2dev.org/viewtopic.php?t=4935
http://forums.ps2dev.org/viewtopic.php?t=4199
http://forums.ps2dev.org/viewtopic.php?t=6120
etc

maybe in a couple weeks when I have time I'll add some version detection to the script.
Back to top
View user's profile Send private message
Ostehovel



Joined: 05 Apr 2006
Posts: 11

PostPosted: Sun Jan 07, 2007 5:42 am    Post subject: Reply with quote

Thanks for the help it fixed something i got past that point but it occurd a new error:
Code:
../../src/debug/pspdebug.h:257: error: syntax error before âsleepâ
../../src/debug/pspdebug.h:257: warning: type defaults to âintâ in declaration o                                                                                             f âsleepâ
../../src/debug/pspdebug.h:257: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:258: error: syntax error before âbus_accessâ
../../src/debug/pspdebug.h:258: warning: type defaults to âintâ in declaration o                                                                                             f âbus_accessâ
../../src/debug/pspdebug.h:258: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:259: error: syntax error before âuncached_loadâ
../../src/debug/pspdebug.h:259: warning: type defaults to âintâ in declaration o                                                                                             f âuncached_loadâ
../../src/debug/pspdebug.h:259: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:260: error: syntax error before âuncached_storeâ
../../src/debug/pspdebug.h:260: warning: type defaults to âintâ in declaration o                                                                                             f âuncached_storeâ
../../src/debug/pspdebug.h:260: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:261: error: syntax error before âcached_loadâ
../../src/debug/pspdebug.h:261: warning: type defaults to âintâ in declaration o                                                                                             f âcached_loadâ
../../src/debug/pspdebug.h:261: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:262: error: syntax error before âcached_storeâ
../../src/debug/pspdebug.h:262: warning: type defaults to âintâ in declaration o                                                                                             f âcached_storeâ
../../src/debug/pspdebug.h:262: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:263: error: syntax error before âi_missâ
../../src/debug/pspdebug.h:263: warning: type defaults to âintâ in declaration o                                                                                             f âi_missâ
../../src/debug/pspdebug.h:263: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:264: error: syntax error before âd_missâ
../../src/debug/pspdebug.h:264: warning: type defaults to âintâ in declaration o                                                                                             f âd_missâ
../../src/debug/pspdebug.h:264: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:265: error: syntax error before âd_writebackâ
../../src/debug/pspdebug.h:265: warning: type defaults to âintâ in declaration o                                                                                             f âd_writebackâ
../../src/debug/pspdebug.h:265: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:266: error: syntax error before âcop0_instâ
../../src/debug/pspdebug.h:266: warning: type defaults to âintâ in declaration o                                                                                             f âcop0_instâ
../../src/debug/pspdebug.h:266: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:267: error: syntax error before âfpu_instâ
../../src/debug/pspdebug.h:267: warning: type defaults to âintâ in declaration o                                                                                             f âfpu_instâ
../../src/debug/pspdebug.h:267: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:268: error: syntax error before âvfpu_instâ
../../src/debug/pspdebug.h:268: warning: type defaults to âintâ in declaration o                                                                                             f âvfpu_instâ
../../src/debug/pspdebug.h:268: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:269: error: syntax error before âlocal_busâ
../../src/debug/pspdebug.h:269: warning: type defaults to âintâ in declaration o                                                                                             f âlocal_busâ
../../src/debug/pspdebug.h:269: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:270: warning: type defaults to âintâ in declaration o                                                                                             f âPspDebugProfilerRegsâ
../../src/debug/pspdebug.h:270: warning: data definition has no type or storage                                                                                              class
../../src/debug/pspdebug.h:285: error: syntax error before â*â token
In file included from pspaudiolib.c:16:
../../src/user/pspthreadman.h:41: error: syntax error before âSceUInt32â
../../src/user/pspthreadman.h:41: warning: no semicolon at end of struct or unio                                                                                             n
../../src/user/pspthreadman.h:42: warning: type defaults to âintâ in declaration                                                                                              of âhiâ
../../src/user/pspthreadman.h:42: warning: data definition has no type or storag                                                                                             e class
../../src/user/pspthreadman.h:43: warning: type defaults to âintâ in declaration                                                                                              of âSceKernelSysClockâ
../../src/user/pspthreadman.h:43: warning: data definition has no type or storag                                                                                             e class
../../src/user/pspthreadman.h:115: error: syntax error before âSceKernelSysClock                                                                                             â
../../src/user/pspthreadman.h:115: warning: no semicolon at end of struct or uni                                                                                             on
../../src/user/pspthreadman.h:122: error: syntax error before â}â token
../../src/user/pspthreadman.h:122: warning: type defaults to âintâ in declaratio                                                                                             n of âSceKernelThreadInfoâ
../../src/user/pspthreadman.h:122: warning: data definition has no type or stora                                                                                             ge class
../../src/user/pspthreadman.h:134: error: syntax error before âSceKernelSysClock                                                                                             â
../../src/user/pspthreadman.h:134: warning: no semicolon at end of struct or uni                                                                                             on
../../src/user/pspthreadman.h:138: error: syntax error before â}â token
../../src/user/pspthreadman.h:138: warning: type defaults to âintâ in declaratio                                                                                             n of âSceKernelThreadRunStatusâ
../../src/user/pspthreadman.h:138: warning: data definition has no type or stora                                                                                             ge class
../../src/user/pspthreadman.h:344: error: syntax error before â*â token
../../src/user/pspthreadman.h:354: error: syntax error before â*â token
../../src/user/pspthreadman.h:458: error: syntax error before âSceKernelThreadIn                                                                                             foâ
../../src/user/pspthreadman.h:468: error: syntax error before âSceKernelThreadRu                                                                                             nStatusâ
../../src/user/pspthreadman.h:655: error: syntax error before âu32â
../../src/user/pspthreadman.h:665: error: syntax error before âu32â
../../src/user/pspthreadman.h:676: error: syntax error before âu32â
../../src/user/pspthreadman.h:688: error: syntax error before âu32â
../../src/user/pspthreadman.h:700: error: syntax error before âu32â
../../src/user/pspthreadman.h:883: error: syntax error before âSceKernelSysClock                                                                                             â
../../src/user/pspthreadman.h:883: warning: no semicolon at end of struct or uni                                                                                             on
../../src/user/pspthreadman.h:888: error: syntax error before â}â token
../../src/user/pspthreadman.h:888: warning: type defaults to âintâ in declaratio                                                                                             n of âSceKernelAlarmInfoâ
../../src/user/pspthreadman.h:888: warning: data definition has no type or stora                                                                                             ge class
../../src/user/pspthreadman.h:909: error: syntax error before â*â token
../../src/user/pspthreadman.h:928: error: syntax error before âSceKernelAlarmInf                                                                                             oâ
../../src/user/pspthreadman.h:1067: error: syntax error before âSceKernelSysCloc                                                                                             kâ
../../src/user/pspthreadman.h:1067: warning: no semicolon at end of struct or un                                                                                             ion
../../src/user/pspthreadman.h:1074: error: syntax error before â}â token
../../src/user/pspthreadman.h:1074: warning: type defaults to âintâ in declarati                                                                                             on of âSceKernelSystemStatusâ
../../src/user/pspthreadman.h:1074: warning: data definition has no type or stor                                                                                             age class
../../src/user/pspthreadman.h:1083: error: syntax error before â*â token
../../src/user/pspthreadman.h:1446: error: syntax error before âSceKernelSysCloc                                                                                             kâ
../../src/user/pspthreadman.h:1455: error: syntax error before âsceKernelUSec2Sy                                                                                             sClockWideâ
../../src/user/pspthreadman.h:1455: warning: type defaults to âintâ in declarati                                                                                             on of âsceKernelUSec2SysClockWideâ
../../src/user/pspthreadman.h:1455: warning: data definition has no type or stor                                                                                             age class
../../src/user/pspthreadman.h:1466: error: syntax error before â*â token
../../src/user/pspthreadman.h:1477: error: syntax error before âclockâ
../../src/user/pspthreadman.h:1486: error: syntax error before â*â token
../../src/user/pspthreadman.h:1493: error: syntax error before âsceKernelGetSyst                                                                                             emTimeWideâ
../../src/user/pspthreadman.h:1493: warning: type defaults to âintâ in declarati                                                                                             on of âsceKernelGetSystemTimeWideâ
../../src/user/pspthreadman.h:1493: warning: data definition has no type or stor                                                                                             age class
../../src/user/pspthreadman.h:1533: error: syntax error before âSceKernelSysCloc                                                                                             kâ
../../src/user/pspthreadman.h:1542: error: syntax error before âsceKernelGetVTim                                                                                             erBaseWideâ
../../src/user/pspthreadman.h:1542: warning: type defaults to âintâ in declarati                                                                                             on of âsceKernelGetVTimerBaseWideâ
../../src/user/pspthreadman.h:1542: warning: data definition has no type or stor                                                                                             age class
../../src/user/pspthreadman.h:1552: error: syntax error before âSceKernelSysCloc                                                                                             kâ
../../src/user/pspthreadman.h:1561: error: syntax error before âsceKernelGetVTim                                                                                             erTimeWideâ
../../src/user/pspthreadman.h:1561: warning: type defaults to âintâ in declarati                                                                                             on of âsceKernelGetVTimerTimeWideâ
../../src/user/pspthreadman.h:1561: warning: data definition has no type or stor                                                                                             age class
../../src/user/pspthreadman.h:1571: error: syntax error before âSceKernelSysCloc                                                                                             kâ
../../src/user/pspthreadman.h:1581: error: syntax error before âsceKernelSetVTim                                                                                             erTimeWideâ
../../src/user/pspthreadman.h:1581: error: syntax error before âSceInt64â
../../src/user/pspthreadman.h:1581: warning: type defaults to âintâ in declarati                                                                                             on of âsceKernelSetVTimerTimeWideâ
../../src/user/pspthreadman.h:1581: warning: data definition has no type or stor                                                                                             age class
../../src/user/pspthreadman.h:1601: error: syntax error before âSceKernelSysCloc                                                                                             kâ
../../src/user/pspthreadman.h:1602: error: syntax error before âSceInt64â
../../src/user/pspthreadman.h:1614: error: syntax error before âSceKernelSysCloc                                                                                             kâ
../../src/user/pspthreadman.h:1626: error: syntax error before âSceInt64â
../../src/user/pspthreadman.h:1641: error: syntax error before âSceKernelSysCloc                                                                                             kâ
../../src/user/pspthreadman.h:1641: warning: no semicolon at end of struct or un                                                                                             ion
../../src/user/pspthreadman.h:1642: warning: type defaults to âintâ in declarati                                                                                             on of âcurrentâ
../../src/user/pspthreadman.h:1642: warning: data definition has no type or stor                                                                                             age class
../../src/user/pspthreadman.h:1643: error: syntax error before âscheduleâ
../../src/user/pspthreadman.h:1643: warning: type defaults to âintâ in declarati                                                                                             on of âscheduleâ
../../src/user/pspthreadman.h:1643: warning: data definition has no type or stor                                                                                             age class
../../src/user/pspthreadman.h:1646: error: syntax error before â}â token
../../src/user/pspthreadman.h:1646: warning: type defaults to âintâ in declarati                                                                                             on of âSceKernelVTimerInfoâ
../../src/user/pspthreadman.h:1646: warning: data definition has no type or stor                                                                                             age class
../../src/user/pspthreadman.h:1656: error: syntax error before âSceKernelVTimerI                                                                                             nfoâ
../../src/user/pspthreadman.h:1737: error: syntax error before â*â token
../../src/user/pspthreadman.h:1737: warning: type defaults to âintâ in declarati                                                                                             on of âsceKernelReferThreadProfilerâ
../../src/user/pspthreadman.h:1737: warning: data definition has no type or stor                                                                                             age class
../../src/user/pspthreadman.h:1743: error: syntax error before â*â token
../../src/user/pspthreadman.h:1743: warning: type defaults to âintâ in declarati                                                                                             on of âsceKernelReferGlobalProfilerâ
../../src/user/pspthreadman.h:1743: warning: data definition has no type or stor                                                                                             age class
pspaudiolib.c: In function âpspAudioInitâ:
pspaudiolib.c:117: warning: implicit declaration of function âstrcpyâ
pspaudiolib.c:117: warning: incompatible implicit declaration of built-in functi                                                                                             on âstrcpyâ
make[3]: *** [pspaudiolib.o] Error 1
make[3]: Leaving directory `/tmp/pspdev/pspsdk/src/audio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/pspdev/pspsdk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pspdev/pspsdk'
make: *** [all] Error 2
ERROR BUILDING PSPSDK
ostehovel@ubuntu:/mnt/hgfs/Share/psptoolchain$

Do you have any idea of this?
(i did install the autoconf1.9 to fix the previus problem...)



I run the toolchain again and it accourd no error.... but its fixed...
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