Open GoogleCodeExporter opened 9 years ago
I second this. I'm trying to compile everything from scratch (rev 477) with
devkitppc
r18 and getting weird errors such as:
/devkitPPC/bin/powerpc-eabi-gcc -I/devkitPPC/libogc/include
-I/devkitPPC/portlibs/ppc/include -Ilibdvdread4 -Ilibdvdnav
-I/devkitPPC/portlibs/ppc/include/freetype2
-I/devkitPPC/libogc/include/freetype2
-I/devkitPPC/libogc/include/ogc/machine
-I/devkitPPC/../buildscripts/powerpc-eabi/gcc/gcc/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -mpaired -ffast-math -Wdisabled-optimization
-Wno-pointer-sign
-I. -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -g -O2 -pipe -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
-c -o
osdep/usb2storage.o osdep/usb2storage.c
In file included from /devkitPPC/libogc/include/gccore.h:62,
from osdep/usb2storage.c:33:
/devkitPPC/libogc/include/ogc/system.h:318: warning: redundant redeclaration of
'SYS_GetArena1Size'
/devkitPPC/libogc/include/ogc/system.h:311: note: previous declaration of
'SYS_GetArena1Size' was here
osdep/usb2storage.c:84: error: conflicting type qualifiers for
'__io_usb1storage'
/devkitPPC/libogc/include/ogc/usbstorage.h:67: note: previous declaration of
'__io_usb1storage' was here
osdep/usb2storage.c:86: warning: redundant redeclaration of '__io_usb2storage'
/devkitPPC/libogc/include/ogc/usbstorage.h:68: note: previous declaration of
'__io_usb2storage' was here
make: *** [osdep/usb2storage.o] Error 1
and
/devkitPPC/bin/powerpc-eabi-gcc -I/devkitPPC/libogc/include
-I/devkitPPC/portlibs/ppc/include -Ilibdvdread4 -Ilibdvdnav
-I/devkitPPC/portlibs/ppc/include/freetype2
-I/devkitPPC/libogc/include/freetype2
-I/devkitPPC/libogc/include/ogc/machine
-I/devkitPPC/../buildscripts/powerpc-eabi/gcc/gcc/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -mpaired -ffast-math -Wdisabled-optimization
-Wno-pointer-sign
-I. -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith
-Wredundant-decls -g -O2 -pipe -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float
-c -o
osdep/di2.o osdep/di2.c
osdep/di2.c: In function '_cover_callback':
osdep/di2.c:376: error: 'LIBDI_MAX_RETRIES' undeclared (first use in this
function)
osdep/di2.c:376: error: (Each undeclared identifier is reported only once
osdep/di2.c:376: error: for each function it appears in.)
osdep/di2.c: In function 'DI2_ReadDVDDiscKey':
osdep/di2.c:655: error: 'LIBDI_MAX_RETRIES' undeclared (first use in this
function)
osdep/di2.c: In function 'DI2_ReadDVDPhysical':
osdep/di2.c:694: error: 'LIBDI_MAX_RETRIES' undeclared (first use in this
function)
osdep/di2.c: In function 'DI2_UnencryptedRead':
osdep/di2.c:894: error: 'LIBDI_MAX_RETRIES' undeclared (first use in this
function)
make: *** [osdep/di2.o] Error 1
I don't understand the cause of this last error as LIBDI_MAX_RETRIES is defined
in
<di/di.h> which is being loaded by the compiler (I verified this with -E) and
the
typedefs and stuff in that file are being defined with no problems.
Original comment by arp...@gmail.com
on 15 Oct 2009 at 1:43
yes a quick update for which versions of which libraries would be nice, or at
least
update the trunk with versions that compile
Original comment by mrplow...@gmail.com
on 17 Oct 2009 at 8:40
Instructions on devkitpro r17 is no longer needed, but as well as updating the
compiling page it would be nice if the libraries that do need compiled used the
new
powerpc-eabi tools, as well as, installing to their portlibs folder.
Original comment by shalar...@gmail.com
on 22 Oct 2009 at 11:41
Original issue reported on code.google.com by
shalar...@gmail.com
on 7 Oct 2009 at 8:04