problem with libraries.sh from svn's psplibraries

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
plysek
Posts: 7
Joined: Mon Feb 16, 2009 8:31 am

problem with libraries.sh from svn's psplibraries

Post by plysek »

Hi.

I'm new in programming, and i decided to start with psp. I tried to compile my libraries but im stuck on that error ->
checking for gfortran... gfortran
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to [email protected].
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/local/pspdev//bin//psp-nm -B output from psp-gcc object... ok
checking for objdir... .libs
checking for psp-ar... psp-ar
checking for psp-ranlib... psp-ranlib
checking for psp-strip... (cached) psp-strip
checking for correct ltmain.sh version... no
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.24, ltmain.sh = 1.5.6) ***

Please run:

libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.
it is from scripts/libogg.sh .

and the next one is from libvorbis - it's the same.

and next one from pspirkeyb.sh ->
psp-gcc -I./include -I. -I/usr/local/pspdev//psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -c -o vt100output.o vt100output.c
psp-ar cru libpspirkeyb.a iniparser.o pspirkeyb.o maptable.o novaetsmap.o keymap.o rawkeys.o vt100output.o
psp-ranlib libpspirkeyb.a
make[1]: Leaving directory `/home/lysek/psp/psplibraries/pspirkeyb/libpspirkeyb'
make -C irkeybtest all
make[1]: Entering directory `/home/lysek/psp/psplibraries/pspirkeyb/irkeybtest'
psp-gcc -I../libpspirkeyb/include -I. -I/usr/local/pspdev//psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -c -o main.o main.c
mksfo 'IR Keyb Test' PARAM.SFO
psp-gcc -I../libpspirkeyb/include -I. -I/usr/local/pspdev//psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -L../libpspirkeyb -L. -L/usr/local/pspdev//psp/sdk/lib main.o -lpspirkeyb -lpsppower -lpspaudiolib -lpspaudio -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o irkeybtest.elf
psp-fixup-imports irkeybtest.elf
psp-strip irkeybtest.elf -o irkeybtest_strip.elf
pack-pbp EBOOT.PBP PARAM.SFO NULL \
NULL NULL NULL \
NULL irkeybtest_strip.elf NULL
[0] 408 bytes | PARAM.SFO
[1] 0 bytes | NULL
[2] 0 bytes | NULL
[3] 0 bytes | NULL
[4] 0 bytes | NULL
[5] 0 bytes | NULL
[6] 142416 bytes | irkeybtest_strip.elf
[7] 0 bytes | NULL
rm -f irkeybtest_strip.elf
make[1]: Leaving directory `/home/lysek/psp/psplibraries/pspirkeyb/irkeybtest'
make -C asciidemo all
make[1]: Entering directory `/home/lysek/psp/psplibraries/pspirkeyb/asciidemo'
psp-gcc -I/usr/local/pspdev//SDK/include -I../libpspirkeyb/include -I. -I/usr/local/pspdev//psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=401 -c -o main.o main.c
mksfoex -d MEMSIZE=1 'IR Keyb ASCii Test' PARAM.SFO
main.c:12:22: error: kubridge.h: No such file or directory
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/home/lysek/psp/psplibraries/pspirkeyb/asciidemo'
make: *** [all] Error 2
and SDL can't compile without that irkeyb ->
psp-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL\" -DVERSION=\"1.2.9\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -g -O2 -Wall -DHAVE_OPENGL -G0 -I/usr/local/pspdev//psp/sdk/include -DPSPIRKEYB -DENABLE_PSP -DDISABLE_STDIO -I../../../include -I../../../include/SDL -I../../../src -I../../../src/main/psp -I../../../src/audio -I../../../src/video -I../../../src/video/XFree86/extensions -I../../../src/events -I../../../src/joystick -I../../../src/cdrom -I../../../src/thread -I../../../src/timer -I../../../src/endian -I../../../src/file -I../../../src/thread -MT SDL_pspgl.lo -MD -MP -MF .deps/SDL_pspgl.Tpo -c SDL_pspgl.c -o SDL_pspgl.o
SDL_pspevents.c:42:23: error: pspirkeyb.h: No such file or directory
SDL_pspevents.c:43:31: error: pspirkeyb_rawkeys.h: No such file or directory
SDL_pspevents.c: In function 'PSP_PumpEvents':
SDL_pspevents.c:110: error: 'SIrKeybScanCodeData' undeclared (first use in this function)
SDL_pspevents.c:110: error: (Each undeclared identifier is reported only once
SDL_pspevents.c:110: error: for each function it appears in.)
SDL_pspevents.c:110: error: 'scanData' undeclared (first use in this function)
SDL_pspevents.c:112: warning: implicit declaration of function 'pspIrKeybReadinput'
SDL_pspevents.c:117: error: expected expression before ')' token
SDL_pspevents.c: In function 'PSP_InitOSKeymap':
SDL_pspevents.c:140: error: 'KEY_ESC' undeclared (first use in this function)
SDL_pspevents.c:142: error: 'KEY_F1' undeclared (first use in this function)
SDL_pspevents.c:143: error: 'KEY_F2' undeclared (first use in this function)
SDL_pspevents.c:144: error: 'KEY_F3' undeclared (first use in this function)
SDL_pspevents.c:145: error: 'KEY_F4' undeclared (first use in this function)
SDL_pspevents.c:146: error: 'KEY_F5' undeclared (first use in this function)
SDL_pspevents.c:147: error: 'KEY_F6' undeclared (first use in this function)
SDL_pspevents.c:148: error: 'KEY_F7' undeclared (first use in this function)
SDL_pspevents.c:149: error: 'KEY_F8' undeclared (first use in this function)
SDL_pspevents.c:150: error: 'KEY_F9' undeclared (first use in this function)
SDL_pspevents.c:151: error: 'KEY_F10' undeclared (first use in this function)
SDL_pspevents.c:152: error: 'KEY_F11' undeclared (first use in this function)
SDL_pspevents.c:153: error: 'KEY_F12' undeclared (first use in this function)
SDL_pspevents.c:154: error: 'KEY_F13' undeclared (first use in this function)
SDL_pspevents.c:155: error: 'KEY_F14' undeclared (first use in this function)
SDL_pspevents.c:157: error: 'KEY_GRAVE' undeclared (first use in this function)
SDL_pspevents.c:158: error: 'KEY_1' undeclared (first use in this function)
SDL_pspevents.c:159: error: 'KEY_2' undeclared (first use in this function)
SDL_pspevents.c:160: error: 'KEY_3' undeclared (first use in this function)
SDL_pspevents.c:161: error: 'KEY_4' undeclared (first use in this function)
SDL_pspevents.c:162: error: 'KEY_5' undeclared (first use in this function)
SDL_pspevents.c:163: error: 'KEY_6' undeclared (first use in this function)
SDL_pspevents.c:164: error: 'KEY_7' undeclared (first use in this function)
SDL_pspevents.c:165: error: 'KEY_8' undeclared (first use in this function)
SDL_pspevents.c:166: error: 'KEY_9' undeclared (first use in this function)
SDL_pspevents.c:167: error: 'KEY_0' undeclared (first use in this function)
SDL_pspevents.c:168: error: 'KEY_MINUS' undeclared (first use in this function)
SDL_pspevents.c:169: error: 'KEY_EQUAL' undeclared (first use in this function)
SDL_pspevents.c:170: error: 'KEY_BACKSPACE' undeclared (first use in this function)
SDL_pspevents.c:172: error: 'KEY_TAB' undeclared (first use in this function)
SDL_pspevents.c:173: error: 'KEY_Q' undeclared (first use in this function)
SDL_pspevents.c:174: error: 'KEY_W' undeclared (first use in this function)
SDL_pspevents.c:175: error: 'KEY_E' undeclared (first use in this function)
SDL_pspevents.c:176: error: 'KEY_R' undeclared (first use in this function)
SDL_pspevents.c:177: error: 'KEY_T' undeclared (first use in this function)
SDL_pspevents.c:178: error: 'KEY_Y' undeclared (first use in this function)
SDL_pspevents.c:179: error: 'KEY_U' undeclared (first use in this function)
SDL_pspevents.c:180: error: 'KEY_I' undeclared (first use in this function)
SDL_pspevents.c:181: error: 'KEY_O' undeclared (first use in this function)
SDL_pspevents.c:182: error: 'KEY_P' undeclared (first use in this function)
SDL_pspevents.c:183: error: 'KEY_LEFTBRACE' undeclared (first use in this function)
SDL_pspevents.c:184: error: 'KEY_RIGHTBRACE' undeclared (first use in this function)
SDL_pspevents.c:185: error: 'KEY_ENTER' undeclared (first use in this function)
SDL_pspevents.c:187: error: 'KEY_CAPSLOCK' undeclared (first use in this function)
SDL_pspevents.c:188: error: 'KEY_A' undeclared (first use in this function)
SDL_pspevents.c:189: error: 'KEY_S' undeclared (first use in this function)
SDL_pspevents.c:190: error: 'KEY_D' undeclared (first use in this function)
SDL_pspevents.c:191: error: 'KEY_F' undeclared (first use in this function)
SDL_pspevents.c:192: error: 'KEY_G' undeclared (first use in this function)
SDL_pspevents.c:193: error: 'KEY_H' undeclared (first use in this function)
SDL_pspevents.c:194: error: 'KEY_J' undeclared (first use in this function)
SDL_pspevents.c:195: error: 'KEY_K' undeclared (first use in this function)
SDL_pspevents.c:196: error: 'KEY_L' undeclared (first use in this function)
SDL_pspevents.c:197: error: 'KEY_SEMICOLON' undeclared (first use in this function)
SDL_pspevents.c:198: error: 'KEY_APOSTROPHE' undeclared (first use in this function)
SDL_pspevents.c:199: error: 'KEY_BACKSLASH' undeclared (first use in this function)
SDL_pspevents.c:201: error: 'KEY_Z' undeclared (first use in this function)
SDL_pspevents.c:202: error: 'KEY_X' undeclared (first use in this function)
SDL_pspevents.c:203: error: 'KEY_C' undeclared (first use in this function)
SDL_pspevents.c:204: error: 'KEY_V' undeclared (first use in this function)
SDL_pspevents.c:205: error: 'KEY_B' undeclared (first use in this function)
SDL_pspevents.c:206: error: 'KEY_N' undeclared (first use in this function)
SDL_pspevents.c:207: error: 'KEY_M' undeclared (first use in this function)
SDL_pspevents.c:208: error: 'KEY_COMMA' undeclared (first use in this function)
SDL_pspevents.c:209: error: 'KEY_DOT' undeclared (first use in this function)
SDL_pspevents.c:210: error: 'KEY_SLASH' undeclared (first use in this function)
SDL_pspevents.c:212: error: 'KEY_SPACE' undeclared (first use in this function)
SDL_pspevents.c:214: error: 'KEY_UP' undeclared (first use in this function)
SDL_pspevents.c:215: error: 'KEY_DOWN' undeclared (first use in this function)
SDL_pspevents.c:216: error: 'KEY_LEFT' undeclared (first use in this function)
SDL_pspevents.c:217: error: 'KEY_RIGHT' undeclared (first use in this function)
SDL_pspevents.c:219: error: 'KEY_HOME' undeclared (first use in this function)
SDL_pspevents.c:220: error: 'KEY_END' undeclared (first use in this function)
SDL_pspevents.c:221: error: 'KEY_INSERT' undeclared (first use in this function)
SDL_pspevents.c:222: error: 'KEY_DELETE' undeclared (first use in this function)
SDL_pspevents.c:224: error: 'KEY_NUMLOCK' undeclared (first use in this function)
SDL_pspevents.c:225: error: 'KEY_LEFTMETA' undeclared (first use in this function)
SDL_pspevents.c:227: error: 'KEY_KPSLASH' undeclared (first use in this function)
SDL_pspevents.c:228: error: 'KEY_KPASTERISK' undeclared (first use in this function)
SDL_pspevents.c:229: error: 'KEY_KPMINUS' undeclared (first use in this function)
SDL_pspevents.c:230: error: 'KEY_KPPLUS' undeclared (first use in this function)
SDL_pspevents.c:231: error: 'KEY_KPDOT' undeclared (first use in this function)
SDL_pspevents.c:232: error: 'KEY_KPEQUAL' undeclared (first use in this function)
SDL_pspevents.c:234: error: 'KEY_LEFTCTRL' undeclared (first use in this function)
SDL_pspevents.c:235: error: 'KEY_RIGHTCTRL' undeclared (first use in this function)
SDL_pspevents.c:236: error: 'KEY_LEFTALT' undeclared (first use in this function)
SDL_pspevents.c:237: error: 'KEY_RIGHTALT' undeclared (first use in this function)
SDL_pspevents.c:238: error: 'KEY_LEFTSHIFT' undeclared (first use in this function)
SDL_pspevents.c:239: error: 'KEY_RIGHTSHIFT' undeclared (first use in this function)
SDL_pspevents.c: In function 'PSP_EventInit':
SDL_pspevents.c:246: error: 'PSP_IRKBD_OUTPUT_MODE_SCANCODE' undeclared (first use in this function)
SDL_pspevents.c:247: warning: implicit declaration of function 'pspIrKeybInit'
SDL_pspevents.c:248: error: 'PSP_IRKBD_RESULT_OK' undeclared (first use in this function)
SDL_pspevents.c:249: warning: implicit declaration of function 'pspIrKeybOutputMode'
SDL_pspevents.c: In function 'PSP_EventQuit':
SDL_pspevents.c:274: warning: implicit declaration of function 'pspIrKeybFinish'
make[3]: *** [SDL_pspevents.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/SDL_pspgl.Tpo .deps/SDL_pspgl.Plo
make[3]: Leaving directory `/home/lysek/psp/psplibraries/SDL/src/video/psp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/lysek/psp/psplibraries/SDL/src/video'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lysek/psp/psplibraries/SDL/src'
make: *** [all-recursive] Error 1
lysek@heaven ~/psp/psplibraries $
im on Linux heaven 2.6.27-gentoo-r8 #3 SMP Thu Feb 12 18:28:11 CET 2009 i686 AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux

i donno what to do, can anyone help me?
zilt
Posts: 45
Joined: Tue Feb 21, 2006 11:59 pm
Location: Ontario, Canada
Contact:

Post by zilt »

That gentoo error message "*** [Gentoo] sanity check failed! *** " has always annoyed the hell out of me - one day I might look at a proper fix, but this is what I do to workaround it:

cd build/libogg
autoreconf --install --force
rm config.sub
svn up
cd ../..
./libraries.sh
"We are dreamers, shapers, singers, and makers. We study the mysteries of laser and circuit, crystal and scanner, holographic demons and invocations of equations. These are the tools we employ and we know... many things." -- Elric, B5
plysek
Posts: 7
Joined: Mon Feb 16, 2009 8:31 am

Post by plysek »

ok it works, thanks... now with pspirkey... maybe the source is broken.

EDIT:
ok i fixed it, i copyied kubridge.h and libpspkubridge.a from 400M33-2.rar from psp-hacks.
Post Reply