Random Homebrew: Cube Runner Advanced (by Zix)
by Zix Cube Runner Advanced is PGU powered puzzle game (engine originally by Stinkee2) in which t [...]
Friends: Coding 'n Cracking - Nymphaea - PS3 Forum - darkforestgroup - daxhordes.org - Tgames - coldbird - gopsp.it - pspstation.org - prometheus - hgoel.info - MakeSmartTV - ps vita

HBL - Compile Errors

Half Byte loader is an open source tool to load homebrews on all models of PSPs
Half Byte Loader can be downloaded at http://wololo.net/wagic/hbl

HBL - Compile Errors

Postby martepato » Sun Apr 22, 2012 5:54 pm

Hi guys

I'm trying to compile HBL for my game and get the following errors:

Spoiler
C:/pspsdk/bin/psp-ld -T patapon2/linker_hbl.x -LC:/pspsdk/psp/sdk/lib utils.o el
oader.o elf.o globals.o syscall.o lib.o md5.o memory.o patapon2/sdk_hbl.o debug
.o config.o modmgr.o malloc.o graphics.o font.o tables.o runtime_stubs.o setting
s.o hook.o reloc.o resolve.o test.o -o eloader.elf
eloader.o: In function `callback_thread':
eloader.c:(.text+0xbc): undefined reference to `sceKernelSleepThreadCB'
hook.o: In function `setup_hook':
hook.c:(.text+0x1fc8): undefined reference to `sceKernelLoadModule'
hook.c:(.text+0x1fd0): undefined reference to `sceKernelLoadModule'
make: *** [hbl] Error 1


How can I solve this so it compiles sucessfully? What information do you guys need else?
martepato
HBL Tester
 
Posts: 28
Joined: Wed Dec 29, 2010 10:37 am
Location: Switzerland

Re: HBL - Compile Errors

Postby m0skit0 » Mon Apr 23, 2012 7:39 am

The error is because the linker cannot find those functions, and thus you're not linking the PSPSDK in your project. How are you compiling it, as what command(s) are you running?

PS: also compiling is not programming, moving to correct forum.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: HBL - Compile Errors

Postby martepato » Mon Apr 23, 2012 12:09 pm

m0skit0 wrote:The error is because the linker cannot find those functions, and thus you're not linking the PSPSDK in your project. How are you compiling it, as what command(s) are you running?

PS: also compiling is not programming, moving to correct forum.


I'm trying to compile HBL for an exploit I found. I did everything according to the tutorials that wololo wrote here: http://wololo.net/wagic/hacking-portal/

Command: make folder=*mygamesfolderhere* (Like in the tutorials)
martepato
HBL Tester
 
Posts: 28
Joined: Wed Dec 29, 2010 10:37 am
Location: Switzerland

Re: HBL - Compile Errors

Postby m0skit0 » Tue Apr 24, 2012 7:17 am

Looks like your game does not import such calls. What does the Ruby script tell you about this?
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: HBL - Compile Errors

Postby martepato » Tue Apr 24, 2012 4:49 pm

m0skit0 wrote:Looks like your game does not import such calls. What does the Ruby script tell you about this?


I assume you're talking about the gen_exploit_config.rb script...

Here's the output:

Spoiler
can't find address for UID 0x04CB6A73
can't find address for UID 0x046A2D73
can't find address for UID 0x046A3D71
can't find address for UID 0x04CAC75D
can't find address for UID 0x04CAF747
can't find address for UID 0x04CCB531
can't find address for UID 0x04CCBF1B
can't find address for UID 0x04CBD905
can't find address for UID 0x04CBE371
can't find address for UID 0x04CC4C2D
can't find address for UID 0x04CC8319
can't find address for UID 0x04CD9711
can't find address for UID 0x03D1BB7D
can't find address for UID 0x03CF7779
can't find address for UID 0x046DD665
stubs found:
9DE6F3C
9DE5A90
9DE1610
9DDAD70
9DD48F0
9DC3640
9DB4F30
9DACD30
8925CC8
88009A0
sceNetAdhocDiscover_Library
sceNetAdhocDownload_Library
sceNetAdhocMatching_Library
sceNetAdhocctl_Library
sceNetAdhoc_Library
sceNet_Library
sceATRAC3plus_Library
sceMpeg_library
[REMOVED because its the Games Name]
sceKernelLibrary
***
Removing sceKernelDeleteVpl
Removing sceKernelDeleteFpl
Removing sceGeEdramGetSize
Removing sceKernelGetThreadId
Removing sceKernelTotalFreeMemSize
Removing sceKernelDcacheWritebackRange
Removing sceKernelWaitSemaCB
Removing sceKernelReleaseSubIntrHandler
Removing sceKernelGetModuleIdList
Removing sceKernelDcacheWritebackInvalidateAll
Removing sceKernelDcacheWritebackInvalidateRange
output/config/imports.config_6xx


BTW: I get the same errors when trying to compile any of the other game's folder....
martepato
HBL Tester
 
Posts: 28
Joined: Wed Dec 29, 2010 10:37 am
Location: Switzerland

Re: HBL - Compile Errors

Postby wth » Tue May 01, 2012 11:40 pm

martepato wrote:Hi guys

I'm trying to compile HBL for my game and get the following errors:

Spoiler
C:/pspsdk/bin/psp-ld -T patapon2/linker_hbl.x -LC:/pspsdk/psp/sdk/lib utils.o el
oader.o elf.o globals.o syscall.o lib.o md5.o memory.o patapon2/sdk_hbl.o debug
.o config.o modmgr.o malloc.o graphics.o font.o tables.o runtime_stubs.o setting
s.o hook.o reloc.o resolve.o test.o -o eloader.elf
eloader.o: In function `callback_thread':
eloader.c:(.text+0xbc): undefined reference to `sceKernelSleepThreadCB'
hook.o: In function `setup_hook':
hook.c:(.text+0x1fc8): undefined reference to `sceKernelLoadModule'
hook.c:(.text+0x1fd0): undefined reference to `sceKernelLoadModule'
make: *** [hbl] Error 1


How can I solve this so it compiles sucessfully? What information do you guys need else?

hey

add those define in your common_exploit_config.h file and it should work :

#define HOOK_sceKernelLoadModule_WITH_error
#define HOOK_sceKernelSleepThreadCB_WITH_sceKernelDelayThreadCB
wth
HBL Developer
 
Posts: 587
Joined: Wed Aug 31, 2011 4:44 pm

Re: HBL - Compile Errors

Postby martepato » Wed May 02, 2012 6:27 pm

Anyways, I don't have enough time to deal with this stuff anymore... If someone trustable wants the name, manipulated savegame and the exploits folder for HBL of the game, go ahead and write me a PM. (Working HBL will not be provided.)

I appreciate the help I got from you guys!
martepato
HBL Tester
 
Posts: 28
Joined: Wed Dec 29, 2010 10:37 am
Location: Switzerland

Re: HBL - Compile Errors

Postby m0skit0 » Thu May 03, 2012 7:01 pm

You already got a "Hello world"?
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"
User avatar
m0skit0
Guru
 
Posts: 4787
Joined: Mon Sep 27, 2010 6:01 pm

Re: HBL - Compile Errors

Postby martepato » Thu May 03, 2012 8:33 pm

m0skit0 wrote:You already got a "Hello world"?

Yes

http://www.youtube.com/watch?v=4CQEkfn3epw
martepato
HBL Tester
 
Posts: 28
Joined: Wed Dec 29, 2010 10:37 am
Location: Switzerland

Re: HBL - Compile Errors

Postby Nowcry » Fri Sep 28, 2012 1:40 am

nowcry@ubuntu:~/valentine-hbl-read-only/eLoader/tools$ ruby gen_exploit_config.rb
can't find address for UID 0x03FC5449
can't find address for UID 0x0456E203
can't find address for UID 0x04567E39
can't find address for UID 0x0455E337
can't find address for UID 0x03F9825B
can't find address for UID 0x04545547
gen_exploit_config.rb:308:in `block in <main>': undefined method `to_hex' for "\t":String (NoMethodError)
from gen_exploit_config.rb:304:in `each'
from gen_exploit_config.rb:304:in `<main>'

I've tried many times and many ways, I'm stuck

if you have any leads would be very grateful,

thanks
Nowcry
 
Posts: 24
Joined: Thu Jun 28, 2012 1:32 am


Return to Half Byte Loader

Who is online

Users browsing this forum: No registered users and 2 guests