How to compile hen?

Hello colleagues, I would like to know if anyone is so kind to help me, explain to me what would be the right way to compile PS3hen because no matter how much I try it always gives me error.

Hola compañeros, quisiera saber si alguien es tan amable de ayudarme, explicarme cual seria la manera correcta de compilar PS3hen ya que por más que pruebo siempre me da error
 
Do you have PSDK3v2 ( found on Github ), must be on c:\PS3DK3v2 or your going to have to edit batch files and makefiles etc to point it to the place where it is ...?

If you do ... have you tried compiling it inside the projects folder inside the PS3DK3v2, tried adding this and the included PSl1GHT to your environmental variables of your user profile and system variables in Windows..?
 
Also can you show exactly what error you get when trying to compile... as screenshot of them from the CMD window would be best ...
 
Do you have PSDK3v2 ( found on Github ), must be on c:\PS3DK3v2 or your going to have to edit batch files and makefiles etc to point it to the place where it is ...?

If you do ... have you tried compiling it inside the projects folder inside the PS3DK3v2, tried adding this and the included PSl1GHT to your environmental variables of your user profile and system variables in Windows..?
m.jpg

i have it on that route
my console output is this
Code:
./make_PS3HEN.bat: line 6: fg: no job control                                                                           ./make_PS3HEN.bat: line 6: fg: no job control                                                                           ./make_PS3HEN.bat: line 11: fg: no job control                                                                          rm -f *.o *.elf *.self *.484 *.bin *.484C *.map ../lv1/src/*.o ../debug/src/*.o ../lv2/src/*.o                          make -f Makefile_484C --no-print-directory                                                                              ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -I../lv2/include -I../lv1/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -ffreestanding  --std=gnu99 -c -o start.o start.S                                                                                                            ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -I../lv2/include -I../lv1/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -ffreestanding  --std=gnu99 -c -o unregister_services.o unregister_services.S                                                                                ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -I../lv2/include -I../lv1/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -ffreestanding  --std=gnu99 -c -o main.o main.c                                                                                                              main.c: In function 'main':
main.c:28:11: warning: unused variable 'f'
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -I../lv2/include -I../lv1/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -ffreestanding  --std=gnu99 -c -o ../lv2/src/libc.o ../lv2/src/libc.S                                                                                        ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -I../lv2/include -I../lv1/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -ffreestanding  --std=gnu99 -c -o ../lv2/src/memory.o ../lv2/src/memory.S                                                                                    ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -I../lv2/include -I../lv1/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -ffreestanding  --std=gnu99 -c -o ../lv2/src/io.o ../lv2/src/io.S                                                                                            ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -I../lv2/include -I../lv1/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -ffreestanding  --std=gnu99 -c -o ../lv2/src/thread.o ../lv2/src/thread.S                                                                                    ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -I../lv2/include -I../lv1/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -ffreestanding  --std=gnu99 -c -o ../lv1/src/hvcall.o ../lv1/src/hvcall.S
ppu-gcc -T stage0.ld -nostartfiles -nostdlib -nodefaultlibs -Wl,-static -Wl,-s -L.   -Wl,--gc-sections -Wl -o stage0.elf start.o unregister_services.o main.o ../lv2/src/libc.o ../lv2/src/memory.o  ../lv2/src/io.o ../lv2/src/thread.o ../lv1/src/hvcall.o
main.o: In function `.main':
main.c:(.text.main+0xe0): undefined reference to `._lv1_write_htab_entry'
main.c:(.text.main+0x198): undefined reference to `.get_current_thread'
main.c:(.text.main+0x280): undefined reference to `.get_current_thread'
collect2: ld returned 1 exit status
make[1]: *** [stage0.elf] Error 1
make: *** [all] Error 2
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o start.o start.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o psp.o psp.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o psp_s.o psp_s.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ps3mapi_core.o ps3mapi_core.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o main.o main.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o crypto.o crypto.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o modulespatch.o modulespatch.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o config.o config.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o mappath.o mappath.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o storage_ext.o storage_ext.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o region.o region.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o cobra.o cobra.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o sm_ext.o sm_ext.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o laboratory.o laboratory.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/usb.o ../lv2/src/usb.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/patch.o ../lv2/src/patch.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/interrupt.o ../lv2/src/interrupt.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/interrupt_c.o ../lv2/src/interrupt_c.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/io.o ../lv2/src/io.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/libc.o ../lv2/src/libc.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/libc_c.o ../lv2/src/libc_c.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/memory.o ../lv2/src/memory.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/memory_c.o ../lv2/src/memory_c.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/thread.o ../lv2/src/thread.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/thread_c.o ../lv2/src/thread_c.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/process.o ../lv2/src/process.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/synchronization.o ../lv2/src/synchronization.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/modules.o ../lv2/src/modules.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/modules_c.o ../lv2/src/modules_c.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/storage.o ../lv2/src/storage.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/object.o ../lv2/src/object.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/security.o ../lv2/src/security.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/time.o ../lv2/src/time.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/hid.o ../lv2/src/hid.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/pad.o ../lv2/src/pad.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv2/src/syscall.o ../lv2/src/syscall.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv1/src/hvcall.o ../lv1/src/hvcall.S
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv1/src/stor.o ../lv1/src/stor.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv1/src/device.o ../lv1/src/device.c
ppu-gcc -ffunction-sections -fdata-sections -Os -m64 -fno-builtin -fno-exceptions -Os -Wall -Wno-strict-aliasing -Wno-multichar -I../lv2/include -I../lv1/include -I../cryptcode/include -I../debug/include -I/c/PSDK3v2/ps3dev/ppu/ppu/include -DLV2 -DFIRMWARE_4_84 -DCFW -ffreestanding  --std=gnu99 -c -o ../lv1/src/mm.o ../lv1/src/mm.c
ppu-gcc -T stage2.ld -nostartfiles -nostdlib -nodefaultlibs -Wl,-static -L.   -Wl,--gc-sections -Wl,-Map=stage2.map -o stage2.elf start.o psp.o psp_s.o ps3mapi_core.o main.o crypto.o modulespatch.o config.o mappath.o storage_ext.o region.o cobra.o sm_ext.o laboratory.o ../lv2/src/usb.o ../lv2/src/patch.o ../lv2/src/interrupt.o ../lv2/src/interrupt_c.o ../lv2/src/io.o ../lv2/src/libc.o ../lv2/src/libc_c.o ../lv2/src/memory.o ../lv2/src/memory_c.o ../lv2/src/thread.o ../lv2/src/thread_c.o ../lv2/src/process.o ../lv2/src/synchronization.o ../lv2/src/modules.o ../lv2/src/modules_c.o ../lv2/src/storage.o ../lv2/src/object.o ../lv2/src/security.o ../lv2/src/time.o ../lv2/src/hid.o ../lv2/src/pad.o ../lv2/src/syscall.o ../lv1/src/hvcall.o ../lv1/src/stor.o ../lv1/src/device.o ../lv1/src/mm.o
main.o:(.text+0x44): undefined reference to `.L._bnet_ioctl'
main.o:(.text+0xc4): undefined reference to `.L._um_if_get_token'
main.o:(.text+0x144): undefined reference to `.L._read_eeprom_by_offset'
main.o:(.text+0x1c0): undefined reference to `.L._sys_cfw_peek'
main.o:(.text+0x210): undefined reference to `.L._sys_cfw_new_poke'
main.o:(.text+0x268): undefined reference to `.L._sys_cfw_memcpy'
main.o:(.text+0x2d0): undefined reference to `.L._sys_cfw_poke'
main.o:(.text+0x330): undefined reference to `.L._sys_cfw_lv1_poke'
main.o:(.text+0x390): undefined reference to `.L._sys_cfw_lv1_call'
main.o:(.text+0x3f0): undefined reference to `.L._sys_cfw_lv2_func'
main.o:(.text+0x450): undefined reference to `.L._syscall8'
main.o:(.text+0x4b0): undefined reference to `.L._sm_set_fan_policy_sc'
main.o:(.text+0x510): undefined reference to `.L._sm_get_fan_policy_sc'
main.o: In function `.main':
main.c:(.text.main+0x330): undefined reference to `.clear_icache'
main.c:(.text.main+0x358): undefined reference to `.clear_icache'
main.c:(.text.main+0x3a0): undefined reference to `.clear_icache'
main.c:(.text.main+0x3cc): undefined reference to `.clear_icache'
main.c:(.text.main+0x414): undefined reference to `.clear_icache'
main.o:main.c:(.text.main+0x43c): more undefined references to `.clear_icache' follow
modulespatch.o:(.text+0x5c): undefined reference to `.L._syscall_handler'
modulespatch.o:(.text+0xe4): undefined reference to `.L._post_lv1_call_99_wrapper'
modulespatch.o:(.text+0x130): undefined reference to `.L._modules_patching'
modulespatch.o:(.text+0x188): undefined reference to `.L._pre_modules_verification'
modulespatch.o:(.text+0x20c): undefined reference to `.L._pre_map_process_memory'
modulespatch.o: In function `.do_patch':
modulespatch.c:(.text.do_patch+0x14): undefined reference to `.clear_icache'
modulespatch.o: In function `.do_patch32':
modulespatch.c:(.text.do_patch32+0x14): undefined reference to `.clear_icache'
modulespatch.o: In function `.remove_syscall_handler':
modulespatch.c:(.text.remove_syscall_handler+0x2c): undefined reference to `.clear_icache'
modulespatch.o: In function `.do_hook_all_syscalls':
modulespatch.c:(.text.do_hook_all_syscalls+0x40): undefined reference to `.clear_icache'
modulespatch.o: In function `.modules_patch_init':
modulespatch.c:(.text.modules_patch_init+0x50): undefined reference to `.clear_icache'
modulespatch.o:modulespatch.c:(.text.modules_patch_init+0x7c): more undefined references to `.clear_icache' follow
modulespatch.o: In function `.unhook_all_modules':
modulespatch.c:(.text.unhook_all_modules+0xc): undefined reference to `.suspend_intr'
modulespatch.c:(.text.unhook_all_modules+0x34): undefined reference to `.clear_icache'
modulespatch.c:(.text.unhook_all_modules+0x7c): undefined reference to `.clear_icache'
modulespatch.c:(.text.unhook_all_modules+0xa8): undefined reference to `.clear_icache'
modulespatch.c:(.text.unhook_all_modules+0xd4): undefined reference to `.clear_icache'
modulespatch.c:(.text.unhook_all_modules+0xdc): undefined reference to `.resume_intr'
mappath.o:(.text+0x48): undefined reference to `.L._sys_map_path'
mappath.o:(.text+0xa0): undefined reference to `.L._open_path_hook'
mappath.o: In function `.unhook_all_map_path':
mappath.c:(.text.unhook_all_map_path+0xc): undefined reference to `.suspend_intr'
mappath.c:(.text.unhook_all_map_path+0x38): undefined reference to `.clear_icache'
mappath.c:(.text.unhook_all_map_path+0x40): undefined reference to `.resume_intr'
mappath.o: In function `.map_path_patches':
mappath.c:(.text.map_path_patches+0x54): undefined reference to `.clear_icache'
mappath.c:(.text.map_path_patches+0x7c): undefined reference to `.clear_icache'
storage_ext.o:(.text+0x38): undefined reference to `.L._device_event'
storage_ext.o:(.text+0xa8): undefined reference to `.L._emu_read_bdvd0'
storage_ext.o:(.text+0x138): undefined reference to `.L._emu_read_bdvd1'
storage_ext.o:(.text+0x1b4): undefined reference to `.L._emu_read_bdvd2'
storage_ext.o:(.text+0x23c): undefined reference to `.L._post_storage_get_device_info'
storage_ext.o:(.text+0x2a4): undefined reference to `.L._emu_storage_read'
storage_ext.o:(.text+0x33c): undefined reference to `.L._emu_sys_storage_async_read'
storage_ext.o:(.text+0x3d4): undefined reference to `.L._emu_storage_send_device_command'
storage_ext.o:(.text+0x46c): undefined reference to `.L._emu_sys_storage_async_send_device_command'
storage_ext.o:(.text+0x4f0): undefined reference to `.L._emu_disc_auth'
storage_ext.o:(.text+0x558): undefined reference to `.L._shutdown_copy_params_patched'
storage_ext.o: In function `.process_read_disc_cmd':
storage_ext.c:(.text.process_read_disc_cmd+0xb0): undefined reference to `.suspend_intr'
storage_ext.c:(.text.process_read_disc_cmd+0x124): undefined reference to `.resume_intr'
storage_ext.o: In function `.read_psx_sector':
storage_ext.c:(.text.read_psx_sector+0xe0): undefined reference to `.call_hooked_function'
storage_ext.o: In function `.init_mount_hdd0':
storage_ext.c:(.text.init_mount_hdd0+0xc0): undefined reference to `.call_hooked_function'
storage_ext.o: In function `.storage_ext_init':
storage_ext.c:(.text.storage_ext_init+0x84): undefined reference to `._lv1_get_repository_node_value'
storage_ext.o: In function `.storage_ext_patches':
storage_ext.c:(.text.storage_ext_patches+0x4c): undefined reference to `.clear_icache'
storage_ext.c:(.text.storage_ext_patches+0x88): undefined reference to `.clear_icache'
storage_ext.c:(.text.storage_ext_patches+0xb4): undefined reference to `.clear_icache'
storage_ext.c:(.text.storage_ext_patches+0xfc): undefined reference to `.clear_icache'
storage_ext.c:(.text.storage_ext_patches+0x128): undefined reference to `.clear_icache'
storage_ext.o:storage_ext.c:(.text.storage_ext_patches+0x170): more undefined references to `.clear_icache' follow
storage_ext.o: In function `.enable_patches':
storage_ext.c:(.text.enable_patches+0x10): undefined reference to `.suspend_intr'
storage_ext.c:(.text.enable_patches+0x298): undefined reference to `.clear_icache'
storage_ext.c:(.text.enable_patches+0x2c0): undefined reference to `.clear_icache'
storage_ext.c:(.text.enable_patches+0x308): undefined reference to `.clear_icache'
storage_ext.c:(.text.enable_patches+0x334): undefined reference to `.clear_icache'
storage_ext.c:(.text.enable_patches+0x37c): undefined reference to `.clear_icache'
storage_ext.o:storage_ext.c:(.text.enable_patches+0x3a4): more undefined references to `.clear_icache' follow
storage_ext.o: In function `.enable_patches':
storage_ext.c:(.text.enable_patches+0x3ac): undefined reference to `.resume_intr'
storage_ext.o: In function `.unhook_all_storage_ext':
storage_ext.c:(.text.unhook_all_storage_ext+0x6c): undefined reference to `.clear_icache'
storage_ext.c:(.text.unhook_all_storage_ext+0x98): undefined reference to `.clear_icache'
storage_ext.c:(.text.unhook_all_storage_ext+0xc4): undefined reference to `.clear_icache'
storage_ext.c:(.text.unhook_all_storage_ext+0xf0): undefined reference to `.clear_icache'
storage_ext.c:(.text.unhook_all_storage_ext+0x11c): undefined reference to `.clear_icache'
storage_ext.o:storage_ext.c:(.text.unhook_all_storage_ext+0x154): more undefined references to `.clear_icache' follow
storage_ext.o: In function `.disable_patches':
storage_ext.c:(.text.disable_patches+0xc): undefined reference to `.suspend_intr'
storage_ext.c:(.text.disable_patches+0x24c): undefined reference to `.resume_intr'
storage_ext.c:(.text.disable_patches+0x2a8): undefined reference to `.clear_icache'
storage_ext.c:(.text.disable_patches+0x2b0): undefined reference to `.suspend_intr'
storage_ext.c:(.text.disable_patches+0x2dc): undefined reference to `.clear_icache'
storage_ext.c:(.text.disable_patches+0x308): undefined reference to `.clear_icache'
storage_ext.c:(.text.disable_patches+0x310): undefined reference to `.resume_intr'
region.o:(.text+0x54): undefined reference to `.L._region_func'
region.o: In function `.region_patches':
region.c:(.text.region_patches+0x60): undefined reference to `.clear_icache'
region.c:(.text.region_patches+0x84): undefined reference to `.clear_icache'
region.o: In function `.unhook_all_region':
region.c:(.text.unhook_all_region+0xc): undefined reference to `.suspend_intr'
region.c:(.text.unhook_all_region+0x4c): undefined reference to `.clear_icache'
region.c:(.text.unhook_all_region+0x54): undefined reference to `.resume_intr'
../lv2/src/interrupt_c.o: In function `.spin_lock_irqsave':
interrupt_c.c:(.text.spin_lock_irqsave+0xc): undefined reference to `.get_current_thread'
../lv2/src/interrupt_c.o: In function `.spin_unlock_irqrestore':
interrupt_c.c:(.text.spin_unlock_irqrestore+0x10): undefined reference to `.get_current_thread'
../lv1/src/stor.o: In function `.lv1_stor_wrapper_open':
stor.c:(.text.lv1_stor_wrapper_open+0x88): undefined reference to `._lv1_get_repository_node_value'
../lv1/src/stor.o: In function `.lv1_stor_wrapper_read':
stor.c:(.text.lv1_stor_wrapper_read+0x24): undefined reference to `._lv1_storage_read'
stor.c:(.text.lv1_stor_wrapper_read+0x44): undefined reference to `._lv1_storage_check_async_status'
../lv1/src/device.o: In function `.map_dma_mem':
device.c:(.text.map_dma_mem+0x44): undefined reference to `._lv1_allocate_device_dma_region'
device.c:(.text.map_dma_mem+0x70): undefined reference to `._lv1_map_device_dma_region'
device.c:(.text.map_dma_mem+0x8c): undefined reference to `._lv1_free_device_dma_region'
../lv1/src/device.o: In function `.unmap_dma_mem':
device.c:(.text.unmap_dma_mem+0x2c): undefined reference to `._lv1_unmap_device_dma_region'
device.c:(.text.unmap_dma_mem+0x48): undefined reference to `._lv1_free_device_dma_region'
collect2: ld returned 1 exit status
make[1]: *** [stage2.elf] Error 1
make: *** [release] Error 2
mv: cannot stat `*484C': No such file or directory
mv: cannot stat `*485C': No such file or directory
mv: cannot stat `*486C': No such file or directory
error opening file(s)!
error opening file(s)!
error opening file(s)!
rm: cannot lstat `stage*': No such file or directory
rm: cannot lstat `*.sprx': No such file or directory
./make_PS3HEN.bat: line 29: pause: command not found
 
I'm pretty sure you need the official PS3 SDK to compile PS3HEN.

PSDK3v2 is a Windows build of the open-source PSL1GHT library and probably won't work as replacement of the official Cell PS3 SDK for this kind of task.
 
I'm pretty sure you need the official PS3 SDK to compile PS3HEN.

Parts of it do but you still need PSDK3v2 to be able to compile it in the first place ...

PSDK3v2 is a Windows build of the open-source PSL1GHT library and probably won't work as replacement of the official Cell PS3 SDK for this kind of task.

PSDK3v2 is an open source version/alternative SDK of the Official SDK, which includes a pre-complied PSL1GHT, which is more than up to the task of making homebrew for the PS3, it just certain things you cannot do with PSDK3v2.

It is not just PSL1GHT on its own for Windows.
 
Actually having this problem, I run the script line by line to ser where is the problem, I see this message in the cmd, I should use the msys that are in the mingw folder?
Captura-de-pantalla-1.png

Looking inside the makefile_release I see some like:
CELL_MK_DIR =$(CELL_SDK)/samples/mk
Include $(CELL_MK_DIR)/sdk.makedef.mk
I think this is the error... Any suggestions?
I dont know
 
Looking inside the makefile_release I see some like:
CELL_MK_DIR =$(CELL_SDK)/samples/mk
Include $(CELL_MK_DIR)/sdk.makedef.mk
I think this is the error... Any suggestions?
I dont know

These are references to the files inside the Official PS3 SDK it needs, and again this SDK must be set in your system/user environmental variables ( this part will happen automatically when you install it ) Best place is the C:\

Just double click the bat file instead of running each command line by line, I normally either compile from msys terminal using cmd line or move the folder to the PSDK3v2 folder and use the bat file.
 
Yes, I run the .bat file and give me the dame problem, I don't know if I need to install those files by menciating in the file makefile_release, because it always tells me that they have not been found to do the inclusion, Look on the console
Captura-de-pantalla-1.png

"no such file or directory"
 
already installed and even then it will not. Do I need to change anything in the .bat?

If both the PS3 SDK and PSDK3v2 are both on the C:\ then no ...

Did you make sure to install everything from the PS3 SDK including the samples...?

Are both SDK's in your System/User environment variables..?
 
If both the PS3 SDK and PSDK3v2 are both on the C:\ then no ...

Did you make sure to install everything from the PS3 SDK including the samples...?

Are both SDK's in your System/User environment variables..?
at the end of the PS3SDK installation, an NVSHADER error not found, I also installed the visual studio packages anyway, I was not successful. Is it mandatory for visual studio packages to be installed as well?
 
Is it mandatory for visual studio packages to be installed as well?

It shouldn't be but they won't install without a certain version of the VS IDE installed on your computer [either VS Pro 2008 or VS Pro 2010 should work], just un select VS studio integration in the check list.

This was just for devs that used VS Studio for compiling and such, many devs [eg games devs] used IDEs and compilers based and built by them on the own game engine eg > Ureal engine games used UDK mainly not VS pro. VS Pro would have been used just for the Core of the games or other things. Just depended on the games studio as to what they did.

at the end of the PS3SDK installation, an NVSHADER error not found,

Cannot remember exactly what this error is, but its Nvidia shaders as the RSX is Nvidia, I wouldn't worry about it unless you plan on doing graphics work.
 
It shouldn't be but they won't install without a certain version of the VS IDE installed on your computer [either VS Pro 2008 or VS Pro 2010 should work], just un select VS studio integration in the check list.

This was just for devs that used VS Studio for compiling and such, many devs [eg games devs] used IDEs and compilers based and built by them on the own game engine eg > Ureal engine games used UDK mainly not VS pro. VS Pro would have been used just for the Core of the games or other things. Just depended on the games studio as to what they did.



Cannot remember exactly what this error is, but its Nvidia shaders as the RSX is Nvidia, I wouldn't worry about it unless you plan on doing graphics work.
I will reinstall everything as you said, I will send some prints of the errors, if you can help me I will be very grateful.
 

Similar threads

Back
Top