rickgaiser / linux-dev

Linux development environment for the Playstation2
5 stars 2 forks source link

Kernelloader build script fails with current ps2dev and ps2sdk #4

Open RolmanDev opened 4 years ago

RolmanDev commented 4 years ago

Hi,

I encountered several problems while trying to build using the build-kernelloader.sh script, mostly related to paths and includes and versions of ps2dev/ps2sdk, but I can't get past this:

make -C loader
make[1]: Entering directory '/root/linux-dev/kernelloader/loader'
ee-g++ -D_EE -O2 -G0 -Wall -g -I/usr/local/ps2dev/gsKit/include -I../include -Wall -W -DSHARED_MEM_DEBUG -DUSER_SPACE_SUPPORT=1 -DRESET_IOP -DSCREENSHOT -DOLD_ROM_MODULES  -I/usr/local/ps2dev/ps2sdk/ports/include -I../crc32gen/ -Werror -D_STLP_NO_NAMESPACES -D_NOTHREADS -D_STLP_NO_EXCEPTIONS -D_STLP_USE_NEWALLOC -D_STLP_HAS_WCHAR_T -D_STLP_NO_IOSTREAMS -Dwint_t=int -I/usr/local/ps2dev/ps2sdk/ports/include/stlport/ -I/usr/local/ps2dev/ps2sdk/ee/include -I/usr/local/ps2dev/ps2sdk/common/include -I.  -c graphic.cpp -o graphic.o
graphic.cpp: In function `void changeMode()':
graphic.cpp:1078: request for member `Clut' in `*gsFont', which is of 
   non-aggregate type `GSTEXTURE*'
graphic.cpp:1079: request for member `Clut' in `*gsFont', which is of 
   non-aggregate type `GSTEXTURE*'
graphic.cpp:1080: request for member `Clut' in `*gsFont', which is of 
   non-aggregate type `GSTEXTURE*'
Makefile.eeglobal:44: recipe for target 'graphic.o' failed
make[1]: *** [graphic.o] Error 1
make[1]: Leaving directory '/root/linux-dev/kernelloader/loader'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2

Tried it under different build environments like Fedora and Ubuntu.

All other scripts in build-all.sh compile successfully using the PS2SDK 1.0 and PSDEV 1.1

Any ideas? Thanks in advance.

rickgaiser commented 4 years ago

I no longer maintain linux for the ps2. The latest development is by @frno7 at https://github.com/frno7/linux/. He does not use kernelloader so this won't be problem.