Sorry if this isn't the place to ask for help.  I don't think this is a bug so 
much as it is that I'm doing something wrong.  I try to compile gettext for the 
PS3Toolchain and it errors out with the following message:
In file included from ../../../gettext-runtime/intl/gettextP.h:36:0,

                 from ../../../gettext-runtime/intl/bindtextdom.c:26:
../../../gettext-runtime/intl/lock.h:772:13: error: conflicting types for 
'gl_lock_t'
 typedef int gl_lock_t;
             ^
In file included from ../../../gettext-runtime/intl/bindtextdom.c:19:0:
../config.h:1524:41: note: previous declaration of 'gl_lock_t' was here
 #define __libc_lock_t                   gl_lock_t
                                         ^
In file included from ../../../gettext-runtime/intl/gettextP.h:36:0,
                 from ../../../gettext-runtime/intl/bindtextdom.c:26:
../../../gettext-runtime/intl/lock.h:793:13: error: conflicting types for 
'gl_recursive_lock_t'
 typedef int gl_recursive_lock_t;
             ^
In file included from ../../../gettext-runtime/intl/bindtextdom.c:19:0:
../config.h:1530:51: note: previous declaration of 'gl_recursive_lock_t' was 
here
 #define __libc_lock_recursive_t                   gl_recursive_lock_t

There's a bunch of them but they all say the same thing.   I make a build-ppu 
directory and I configure using this:


CPPFLAGS="-I${PSL1GHT}/ppu/include -I${PS3DEV}/portlibs/ppu/include" \
LDFLAGS="-L${PSL1GHT}/ppu/lib -L${PS3DEV}/portlibs/ppu/lib" \
LIBS="-lrt -llv2" \
PKG_CONFIG_PATH="${PS3DEV}/portlibs/ppu/lib/pkgconfig" \
../configure --prefix="${PS3DEV}/portlibs/ppu" \
--host="powerpc64-ps3-elf" --disable-shared --with-included-gettext \
--disable-threads --disable-libasprintf

I added the --disable-shared --with-included-gettext --disable-threads 
--disable-libasprintf thinking it might help but it doesn't, I get the same 
error with or without it.  There is no pthreads or anything available for the 
toolchain at this point in time.  Does anyone have any suggestions?  Sorry if 
this is the wrong place to send this.  Thanks.

Reply via email to