Hello, sorry for my english i'm from spain and i dont speak english , but i'm learning it :), i need your help , when i try to compile the PS2MENU of cvs.ps2ded.org i get this error:
itopacket.c: relocation truncated to fit: R_MIPS_GPREL16 itoGsPacketNum
/usr/local/ps2dev/libito/lib/libito.a(itopacket.o)(.text+0x104):itopacket.c: rel
ocation truncated to fit: R_MIPS_GPREL16 itoGsPacketNum
/usr/local/ps2dev/libito/lib/libito.a(itopacket.o)(.text+0x10c):itopacket.c: rel
ocation truncated to fit: R_MIPS_GPREL16 itoActiveGsPacketStart
/usr/local/ps2dev/libito/lib/libito.a(itopacket.o)(.text+0x110):itopacket.c: rel
ocation truncated to fit: R_MIPS_GPREL16 itoActiveGsPacket
/usr/local/ps2dev/libito/lib/libito.a(itopacket.o)(.text+0x128): In function `it
oGetActiveGsPacketSizeQ':
itopacket.c: relocation truncated to fit: R_MIPS_GPREL16 itoActiveGsPacket
/usr/local/ps2dev/libito/lib/libito.a(itopacket.o)(.text+0x12c):itopacket.c: rel
ocation truncated to fit: R_MIPS_GPREL16 itoActiveGsPacketStart
/usr/local/ps2dev/libito/lib/libito.a(itopacket.o)(.text+0x140): In function `it
oSetActivePacket':
itopacket.c: relocation truncated to fit: R_MIPS_GPREL16 itoActivePacketStart
/usr/local/ps2dev/libito/lib/libito.a(itopacket.o)(.text+0x144):itopacket.c: rel
ocation truncated to fit: R_MIPS_GPREL16 itoActivePacket
/usr/local/ps2dev/libito/lib/libito.a(itopacket.o)(.text+0x190): In function `it
oSendActivePacket':
itopacket.c: relocation truncated to fit: R_MIPS_GPREL16 itoActivePacketStart
/usr/local/ps2dev/libito/lib/libito.a(itopacket.o)(.text+0x1a8): In function `it
oGetActivePacketSizeQ':
itopacket.c: relocation truncated to fit: R_MIPS_GPREL16 itoActivePacket
/usr/local/ps2dev/libito/lib/libito.a(itopacket.o)(.text+0x1ac):itopacket.c: rel
ocation truncated to fit: R_MIPS_GPREL16 itoActivePacketStart
collect2: ld returned 1 exit status
make[1]: *** [../bin/ps2menu.elf] Error 1
make[1]: Leaving directory `/usr/local/ps2dev/shares/ps2menu/ps2menu'
make: *** [all] Error 2
pancho@sargosbreados /usr/local/ps2dev/shares/ps2menu
$
What happend , i dont know what is the meaning of "relocation truncated to fit "
Thanks for your help
Compiling PS2MENU
-
- Posts: 6
- Joined: Sat Dec 25, 2004 4:54 am
Sorry, don't know the full details.
Google is a great search tool. Try:
"relocation truncated to fit" MIPS
and do some reading. :)
Like here:
http://www.linux-mips.org/archives/linu ... 00133.html
-BD
Google is a great search tool. Try:
"relocation truncated to fit" MIPS
and do some reading. :)
Like here:
http://www.linux-mips.org/archives/linu ... 00133.html
-BD
Ho well, that's a known issue... there's something in the mips called "$gp", a register, that is "global pointer". It can point to a 64kb of memory. Pointers to this locations will be saving 4 bytes to access them. Now there's only 64kb.... having -G0 says "don't put anything in that global section please", otherwise you might end up with that error...
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
PS2MENU w/ problems to copy .gz file
I'm trying to copy a initrd.gz to my memory card to be able to boot linux in my ps2 linux, but ps2menu says the it cannot copy compressed to the memory card...
how can i bypass this?
how can i bypass this?