Advertising (This ad goes away for registered users. You can Login or Register)

[OPEN]psp2-fixup: .rel.sceFStub.rodata is not found

You have questions and can't find another subforum to ask? Go here
Locked
biscottealacrevette
Posts: 7
Joined: Wed Apr 20, 2011 4:24 pm
Location: WHERE **** > 0

[OPEN]psp2-fixup: .rel.sceFStub.rodata is not found

Post by biscottealacrevette »

Hi everyone :)
I'm having trouble compilling the helloworld using psp2-fixup :
make
/opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc -Wall -specs=/opt/devkitpro/psp2/psp2.specs -c -o main.o main.c
/opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc -Wall -specs=/opt/devkitpro/psp2/psp2.specs -c -o draw.o draw.c
/opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc -Wall -specs=/opt/devkitpro/psp2/psp2.specs -c -o font_data.o font_data.c
/opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc -Wall -specs=/opt/devkitpro/psp2/psp2.specs main.o draw.o font_data.o -lc_stub -lSceKernel_stub -lSceDisplay_stub -lSceGxm_stub-lSceCtrl_stub -lSceTouch_stub -o vitahelloworld.elf
psp2-fixup -q -S vitahelloworld.elf vitahelloworld_fixup.elf
vitahelloworld.elf: .rel.sceFStub.rodata is not found
make: *** [vitahelloworld_fixup.elf] Error 84
Here is the readelf print of the non-fixed vitahelloworld :
.elf

Code: Select all

[root@localhost src]# readelf -a vitahelloworld.elf
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           ARM
  Version:                           0x1
  Entry point address:               0x250c
  Start of program headers:          52 (bytes into file)
  Start of section headers:          46004 (bytes into file)
  Flags:                             0x5000202, has entry point, Version5 EABI, soft-float ABI
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         3
  Size of section headers:           40 (bytes)
  Number of section headers:         50
  Section header string table index: 47

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .text             PROGBITS        00000000 008000 0023dc 00  AX  0   0  4
  [ 2] .rel.text         REL             00000000 00bb84 000908 08     48   1  4
  [ 3] .init             PROGBITS        000023dc 00a3dc 000018 00  AX  0   0  4
  [ 4] .rel.init         REL             00000000 00c48c 000008 08     48   3  4
  [ 5] .fini             PROGBITS        000023f4 00a3f4 000018 00  AX  0   0  4
  [ 6] .rel.fini         REL             00000000 00c494 000008 08     48   5  4
  [ 7] .sceStubs.text.Sc PROGBITS        0000240c 00a40c 000010 00  AX  0   0  4
  [ 8] .sceStubs.text.Sc PROGBITS        0000241c 00a41c 000010 00  AX  0   0  4
  [ 9] .sceStubs.text.Sc PROGBITS        0000242c 00a42c 000010 00  AX  0   0  4
  [10] .sceStubs.text.Sc PROGBITS        0000243c 00a43c 000010 00  AX  0   0  4
  [11] .sceStubs.text.Sc PROGBITS        0000244c 00a44c 000010 00  AX  0   0  4
  [12] .sceStubs.text.Sc PROGBITS        0000245c 00a45c 000010 00  AX  0   0  4
  [13] .sceStubs.text.Sc PROGBITS        0000246c 00a46c 000010 00  AX  0   0  4
  [14] .sceStubs.text.Sc PROGBITS        0000247c 00a47c 000010 00  AX  0   0  4
  [15] .sceStubs.text.Sc PROGBITS        0000248c 00a48c 000010 00  AX  0   0  4
  [16] .sceStubs.text.Sc PROGBITS        0000249c 00a49c 000010 00  AX  0   0  4
  [17] .sceStubs.text.Sc PROGBITS        000024ac 00a4ac 000010 00  AX  0   0  4
  [18] .sceStubs.text.Sc PROGBITS        000024bc 00a4bc 000010 00  AX  0   0  4
  [19] .sceStubs.text.Sc PROGBITS        000024cc 00a4cc 000010 00  AX  0   0  4
  [20] .sceStubs.text.Sc PROGBITS        000024dc 00a4dc 000010 00  AX  0   0  4
  [21] .sceStubs.text.Sc PROGBITS        000024ec 00a4ec 000010 00  AX  0   0  4
  [22] .sceStubs.text.Sc PROGBITS        000024fc 00a4fc 000010 00  AX  0   0  4
  [23] .sceModuleInfo.ro PROGBITS        0000250c 00a50c 00005c 00   A  0   0  4
  [24] .sceLib.ent       PROGBITS        00002568 00a568 000020 00   A  0   0  4
  [25] .rel.sceLib.ent   REL             00000000 00c49c 000018 08     48  24  4
  [26] .sceLib.stub      PROGBITS        00002588 00a588 000000 00   A  0   0  1
  [27] .sceExport.rodata PROGBITS        00002588 00a588 000020 00   A  0   0  4
  [28] .rel.sceExport.ro REL             00000000 00c4b4 000018 08     48  27  4
  [29] .sceImport.rodata PROGBITS        000025a8 00a5a8 00005e 00   A  0   0  1
  [30] .sceFNID.rodata   PROGBITS        00002608 00a608 000040 00   A  0   0  4
  [31] .sceFStub.rodata  PROGBITS        00002648 00a648 000040 00   A  0   0  4
  [32] .rodata           PROGBITS        00002688 00a688 000588 00   A  0   0  4
  [33] .sceRefs.rodata   PROGBITS        00002c10 00ac10 000140 00   A  0   0  4
  [34] .data             PROGBITS        00002d50 00ad50 000004 00  WA  0   0  4
  [35] .init_array       INIT_ARRAY      00002d54 00ad54 000004 00  WA  0   0  4
  [36] .rel.init_array   REL             00000000 00c4cc 000008 08     48  35  4
  [37] .fini_array       FINI_ARRAY      00002d58 00ad58 000004 00  WA  0   0  4
  [38] .rel.fini_array   REL             00000000 00c4d4 000008 08     48  37  4
  [39] .eh_frame         PROGBITS        00002d5c 00ad5c 000004 00  WA  0   0  4
  [40] .jcr              PROGBITS        00002d60 00ad60 000004 00  WA  0   0  4
  [41] .tm_clone_table   PROGBITS        00002d64 00ad64 000000 00  WA  0   0  4
  [42] .bss              NOBITS          00002d64 00ad64 00005c 00  WA  0   0  4
  [43] .sce_libgen_mark  PROGBITS        00002dc0 00ad64 000218 00      0   0  4
  [44] .rel.sce_libgen_m REL             00000000 00c4dc 0001c8 08     48  43  4
  [45] .ARM.attributes   ARM_ATTRIBUTES  00000000 00af7c 00003b 00      0   0  1
  [46] .comment          PROGBITS        00000000 00afb7 000022 01  MS  0   0  1
  [47] .shstrtab         STRTAB          00000000 00afd9 0003db 00      0   0  1
  [48] .symtab           SYMTAB          00000000 00c6a4 005580 10     49 272  4
  [49] .strtab           STRTAB          00000000 011c24 006c1e 00      0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)

There are no section groups in this file.

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x008000 0x00000000 0x00000000 0x02d50 0x02d50 R E 0x8000
  LOAD           0x00ad50 0x00002d50 0x00002d50 0x00014 0x00070 RW  0x8000
  LOOS+0         0x000000 0x00000000 0x00000000 0x00000 0x00000     0x4
Any suggestion ?

Thank in advance

// smithsf0x
// [OPEN]-Tag added

// Shortened Post
Advertising
puja99
Posts: 3
Joined: Mon Mar 12, 2018 9:14 am

Re: [OPEN]psp2-fixup: .rel.sceFStub.rodata is not found

Post by puja99 »

Locked

Return to “Support”