7dog123 / DoomRPG-RE

Doom RPG Reverse Engineering By [GEC]
GNU General Public License v3.0
0 stars 1 forks source link

Dependency Issues #1

Open 7dog123 opened 3 months ago

7dog123 commented 3 months ago
/usr/local/ps2dev/ee/lib/gcc/mips64r5900el-ps2-elf/13.2.0/../../../../mips64r5900el-ps2-elf/bin/ld: /usr/local/ps2dev/ps2sdk/ports/lib/libps2_drivers.a(init_ps2_filesystem_driver.o): in function `poweroffHandler':
/src/ps2_drivers/src/ps2_filesystem_driver.c:95:(.text+0x14): undefined reference to `poweroffShutdown'
/usr/local/ps2dev/ee/lib/gcc/mips64r5900el-ps2-elf/13.2.0/../../../../mips64r5900el-ps2-elf/bin/ld: /usr/local/ps2dev/ps2sdk/ports/lib/libps2_drivers.a(init_ps2_filesystem_driver.o): in function `init_ps2_filesystem_driver':
/src/ps2_drivers/src/ps2_filesystem_driver.c:108:(.text+0x64): undefined reference to `poweroffSetCallback'
/usr/local/ps2dev/ee/lib/gcc/mips64r5900el-ps2-elf/13.2.0/../../../../mips64r5900el-ps2-elf/bin/ld: /usr/local/ps2dev/ps2sdk/ports/lib/libps2_drivers.a(init_ps2_poweroff_driver.o): in function `initLibraries':
/src/ps2_drivers/src/ps2_poweroff_driver.c:43:(.text+0x50): undefined reference to `poweroffInit'
/usr/local/ps2dev/ee/lib/gcc/mips64r5900el-ps2-elf/13.2.0/../../../../mips64r5900el-ps2-elf/bin/ld: /usr/local/ps2dev/ps2sdk/ports/lib/libSDL2main.a(SDL_ps2_main.c.obj): in function `prepare_IOP':
/src/build/SDL/src/main/ps2/SDL_ps2_main.c:39:(.text.startup+0x24): undefined reference to `sbv_patch_enable_lmb'
/usr/local/ps2dev/ee/lib/gcc/mips64r5900el-ps2-elf/13.2.0/../../../../mips64r5900el-ps2-elf/bin/ld: /src/build/SDL/src/main/ps2/SDL_ps2_main.c:40:(.text.startup+0x2c): undefined reference to `sbv_patch_disable_prefix_check'
/usr/local/ps2dev/ee/lib/gcc/mips64r5900el-ps2-elf/13.2.0/../../../../mips64r5900el-ps2-elf/bin/ld: /src/build/SDL/src/main/ps2/SDL_ps2_main.c:41:(.text.startup+0x34): undefined reference to `sbv_patch_fileio'
Wolf3s commented 3 months ago

900el-ps2

You missed the -lpoweroff and -ldebug.

7dog123 commented 3 months ago

Added -lpoweroff and I already had -ldebug and compiled it on my computer and also on github actions still has the same errors.

Wolf3s commented 3 months ago

Added -lpoweroff and I already had -ldebug and compiled it on my computer and also on github actions still has the same errors.

Add -lpaches

Wolf3s commented 3 months ago

It should really solve the problem.

7dog123 commented 3 months ago

Still same errors.

Wolf3s commented 3 months ago

Weird, maybe it should be some problem of ps2sdk

7dog123 commented 3 months ago

Yeah, quite the stumper. If you want to make a fork of it and try and see if you can get it to fully compile and if you want to do one with my port of fluidsynth-sans-glib go on ahead and help with them when you have the time too.

7dog123 commented 3 months ago

Fixed Issue in comment 1929a4b

Wolf3s commented 3 months ago

usr/local/ps2dev/ee/lib/gcc/mips64r5900el-ps2-elf/13.2.0/../../../../mips64r5900el-ps2-elf/bin/ld: /usr/local/ps2dev/ps2sdk/ports/lib/libSDL2.a(SDL_audio.c.obj): in function `SDL_CloseAudio': /src/build/SDL/src/audio/SDL_audio.c:1652: multiple definition of `SDL_CloseAudio'; CMakeFiles/DoomRPG.dir/SDL_Video.c.obj:(.text+0x848): first defined here collect2: error: ld returned 1 exit status gmake[2]: *** [src/CMakeFiles/DoomRPG.dir/build.make:417: src/DoomRPG] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:98: src/CMakeFiles/DoomRPG.dir/all] Error 2 gmake: *** [Makefile:91: all] Error 2

Wolf3s commented 3 months ago

Another linker problem to SDL2 Port.

7dog123 commented 3 months ago

Already fixed that one just have to comment it to the repo.