libpng doesn't build for x86
http://bugs.openembedded.org/show_bug.cgi?id=1326
------- Comment #8 from [email protected] 2006-09-13 08:23 -------
I build "libxine-fb" failed today. I digg into it and find that, the "libpng-config" report the wrong path. Please look at the following message:
----------------------------------------------------------------------------
ccache arm-linux-gcc -march=armv5te -mtune=xscale -DHAVE_CONFIG_H -I.
-I/home/leon/oe/test.dev/tmp/work/armv5te-linux/libxine-fb-1.0-r1/xine-lib-1.0/src/libxinevdec -I../.. -I/home/leon/oe/test.dev/tmp/work/armv5te-linux/libxine-fb-1.0-r1/xine-lib-1.0 -I../../include -I/home/leon/oe/test.dev/tmp/work/armv5te-linux/libxine-fb-1.0-r1/xine-lib-1.0/include -I/home/leon/oe/test.dev/tmp/work/armv5te-linux/libxine-fb-1.0-r1/xine-lib-1.0/src -I../../src/xine-engine -I/home/leon/oe/test.dev/tmp/work/armv5te-linux/libxine-fb-1.0-r1/xine-lib-1.0/src/xine-engine -I/home/leon/oe/test.dev/tmp/work/armv5te-linux/libxine-fb-1.0-r1/xine-lib-1.0/src/xine-utils -I../../src/input -I/home/leon/oe/test.dev/tmp/work/armv5te-linux/libxine-fb-1.0-r1/xine-lib-1.0/src/input -I/home/leon/oe/test.dev/tmp/work/armv5te-linux/libxine-fb-1.0-r1/xine-lib-1.0/lib -isystem/home/leon/oe/test.dev/tmp/staging/arm-linux/include -O2 -fsigned-char -ffast-math -march=armv4 -mtune=xscale -fomit-frame-pointer -fthread-jumps -fregmove -Wall -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -isystem/home/leon/oe/test.dev/tmp/staging/arm-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -MT bitplane.lo -MD -MP -MF .deps/bitplane.Tpo -c bitplane.c -fPIC -DPIC -o .libs/bitplane.o
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/libpng12
cc1: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [xineplug_decode_image_la-image.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
---------------------------------------------------------------------------
And , here is detail information for this bug:
---------------------------------------------------------------------------
leon@build-server:~/oe/test.dev$ vi tmp/work/armv5te-linux/libxine-fb-1.0-r1/xine-lib-1.0/configure.ac
1010 dnl --------------------------------------------- 1011 dnl PNG lib.
1012 dnl --------------------------------------------- 1013
1014 AC_PATH_PROG(LIBPNG_CONFIG, libpng-config, no) 1015 if test "$LIBPNG_CONFIG" = "no" ; then
1016 AC_CHECK_LIB(png, png_create_read_struct,
1017 have_libpng=yes
1018 PNG_LIBS="-lpng",
1019 AC_MSG_RESULT([*** All libpng dependent parts will be disabled ***]))
1020 else
1021 PNG_CFLAGS=`$LIBPNG_CONFIG --cflags` 1022 PNG_LIBS=`$LIBPNG_CONFIG --libs` 1023 have_libpng="yes" 1024 AC_DEFINE(HAVE_LIBPNG,1,[Define this if you have png library])
1025 fi
leon@build-server:~/oe/test.dev$ ./tmp/staging/i686-linux/bin/libpng-config --cflags -I/usr/include/libpng12 leon@build-server:~/oe/test.dev$ ./tmp/staging/i686-linux/bin/libpng-config --I_opts -I/usr/include/libpng12
Signature · 3 lines
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.