PSPGL compiling (../tests/)problem

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

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
Conflict
Posts: 8
Joined: Wed May 11, 2005 9:00 am
Location: UK, York

PSPGL compiling (../tests/)problem

Post by Conflict »

i am having problems compiling the PSPGL tests present with PSPGL.

at the moment i am recieving an error regarding mounting of the PSP volume

Code: Select all

$ make -C tests clean install
make: Entering directory `/usr/local/pspdev/psp/sdk/pspgl/tests'
rm -f .deps/*.d *.o  *.a *.elf *.sys *~
psp-gcc -g -Wall -O2 -MD -MF .deps/perfmeter.d -I.. -I/usr/local/pspdev/psp/sdk/
include -c perfmeter.c
psp-gcc -g -Wall -O2 -MD -MF .deps/screenshot.d -I.. -I/usr/local/pspdev/psp/sdk
/include -c screenshot.c
convert firefox.png rgba:firefox.raw
(sym=`echo firefox | tr '-' '_'`; \
 echo -e ".data\n.global ${sym}_start\n${sym}_start:\n\t.incbin \"firefox.raw\""
 | psp-as -o firefox.o)
psp-gcc -g -Wall -O2 -MD -MF .deps/bezier.d -I.. -I/usr/local/pspdev/psp/sdk/inc
lude -c bezier.c
psp-gcc -g -Wall -O2 -MD -MF .deps/psp-setup-bezier.d -I.. -I/usr/local/pspdev/p
sp/sdk/include -o psp-setup-bezier.o -c -DMODULE_NAME="bezier" psp-setup.c
psp-gcc -o bezier.elf -g -Wall -L.. -L/usr/local/pspdev/psp/sdk/lib bezier.o per
fmeter.o screenshot.o psp-setup-bezier.o firefox.o  -lpng -lz -lglut -lGLU -lGL
-lm -lc -lpsputility -lpspdebug -lpspge -lpspdisplay -lpspctrl -lpspsdk -lpsplib
c -lpspuser -lpspkernel -lpsprtc
while [ ! -d /mnt/stick/psp/game ]; do mount /mnt/stick; sleep 1; done
mount: not enough arguments
Usage&#58; mount &#91;OPTION&#93; &#91;<win32path> <posixpath>&#93;
Display information about mounted filesystems, or mount a filesystem

  -b, --binary     &#40;default&#41;    text files are equivalent to binary files
                                &#40;newline = \n&#41;
  -c, --change-cygdrive-prefix  change the cygdrive path prefix to <posixpath>
  -f, --force                   force mount, don't warn about missing mount
                                point directories
  -h, --help                    output usage information and exit
  -m, --mount-commands          write mount commands to replicate user and
                                system mount points and cygdrive prefixes
  -o, --options X&#91;,X...&#93;        specify mount options
  -p, --show-cygdrive-prefix    show user and/or system cygdrive path prefix
  -s, --system     &#40;default&#41;    add system-wide mount point
  -t, --text                    text files get \r\n line endings
  -u, --user                    add user-only mount point
  -v, --version                 output version information and exit
  -x, --executable              treat all files under mount point as executables

  -E, --no-executable           treat all files under mount point as
                                non-executables
  -X, --cygwin-executable       treat all files under mount point as cygwin
                                executables
I have spent a long time trying to resolve this to no avail... please can someone shed any light on this? i know the mount dir need to be changed however it is unclear how to do this and moreover what to change it to.

or possible provide an example makefile for compile one of the pspgl test samples signularly that discards any install to volume stuffs.

Thanks
<,<;
Post Reply