road block updating sdlimage

Laurent Blume laurent at opencsw.org
Thu Dec 11 10:46:58 CET 2014


Hello,

Just replacing the compiler with GCC4, it builds. Since there's no C++ 
involved AFAICT, I advise you to just do that. It can only be faster in 
any case than using an obsolete, unsupported compiler.

I'm committing that small change so you can fully test.

Laurent

Le 2014/12/11 00:15 +0100, Jake Goerzen a écrit:
> Hello,
>
>    I can successfully build updated sdlimage packages on unstable10x but
> I'm having trouble building them on unstable10s.  The problem is
> undefined symbol during linking on sparc.   The missing symbols are
> provided by it's self and seem to be included (.libs/IMG_webp.o). Would
> someone take the current recipe for a spin and see if can find what is
> wrong?
>
> Here's a snip of where the compile stops on sparc:
>
>
> libtool: link: /opt/SUNWspro/bin/cc -G -z defs -h libSDL_image-1.2.so.0
> -o .libs/libSDL_image-1.2.so.0.8.4 .libs/IMG.o .libs/IMG_bmp.o
> .libs/IMG_gif.o .libs/IMG_jpg.o .libs/IMG_lbm.o .libs/IMG_pcx.o
> .libs/IMG_png.o .libs/IMG_pnm.o .libs/IMG_tga.o .libs/IMG_tif.o
> .libs/IMG_xcf.o .libs/IMG_xpm.o .libs/IMG_xv.o .libs/IMG_webp.o
> -R/opt/csw/lib -L/opt/csw/lib -lSDL -lpthread -lposix4 -lc  -m32
> -xarch=sparc -m32 -xarch=sparc
> Undefined                       first referenced
>   symbol                             in file
> WebPInitDecBufferInternal           .libs/IMG_webp.o
> WebPGetFeaturesInternal             .libs/IMG_webp.o
> WebPInitDecoderConfigInternal       .libs/IMG_webp.o
> WebPIDecGetYUVA                     .libs/IMG_webp.o
> ld: fatal: symbol referencing errors. No output written to
> .libs/libSDL_image-1.2.so.0.8.4
>
>
> Best regards,
> Jake
>





More information about the maintainers mailing list