From: SourceForge.net <no...@so...> - 2007-04-11 20:01:56
|
Bugs item #1698627, was opened at 2007-04-11 20:04 Message generated for change (Comment added) made by scop You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1698627&group_id=9655 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: xine-lib Group: current cvs version Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ville Skyttä (scop) Assigned to: Nobody/Anonymous (nobody) Summary: 1.1.5 build failure Initial Comment: 1.1.5 + m4/pthreads.m4 fixes from hg doesn't build for me on Fedora Core 6, x86_64, gcc 4.1.1, glibc 2.5 (using the standard rpm optimization flags for that distro): gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include -I../../include -I../../src -I../../src/xine-engine -I../../src/xine-engine -I../../src/xine-utils -I../../src/input -I../../src/input -I../../lib -I../../lib -DXINE_LIBRARY_COMPILE -fvisibility=hidden -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wall -Wpointer-arith -Wnested-externs -Wcast-align -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c cpu_accel.c -fPIC -DPIC -o .libs/cpu_accel.o In file included from ../../lib/os_internal.h:5, from ../../config.h:711, from cpu_accel.c:23: /usr/lib/gcc/x86_64-redhat-linux/4.1.1/include/stddef.h:152: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' In file included from xineutils.h:36, from cpu_accel.c:42: /usr/include/string.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern' In file included from xineutils.h:44, from cpu_accel.c:42: xmlparser.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' make[3]: *** [cpu_accel.lo] Error 1 make[3]: Leaving directory `/usr/src/rpm/BUILD/xine-lib-1.1.5/src/xine-utils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/rpm/BUILD/xine-lib-1.1.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/rpm/BUILD/xine-lib-1.1.5' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.52515 (%build) ---------------------------------------------------------------------- >Comment By: Ville Skyttä (scop) Date: 2007-04-11 23:01 Message: Logged In: YES user_id=32457 Originator: YES The pthread problems have been fixed in hg today, see http://hg.debian.org/hg/xine-lib/xine-lib?fl=e68b45ce82a4;file=m4/pthreads.m4;style=gitweb I'm also running autogen.sh before getting the broken build. That's with FC6's autoconf 2.59. Out of curiosity, I updated autoconf to 2.61 and m4 to 1.48 from Fedora development, and it fixes the problem, so I guess there should be a versioned dependency on autoconf somewhere. ---------------------------------------------------------------------- Comment By: Sammy (sambo57u) Date: 2007-04-11 22:08 Message: Logged In: YES user_id=1767080 Originator: NO I am getting the exact same problem on FC6. The problem seems to happen during the execution of autogen.sh since if you use the existing configure with the existing templates you do not get the problem, however the template vales are not the same for me, so I need to run autogen.sh. Also, when I run the configure script after autogen.sh it stops with a message saying pthread is not available, but it actually is. It turns out that the small test program that configure runs is giving some warning messages and we have the -Werror flag that kills the test program. Removing the flag solves this problem. Is there a required version of autoconf etc for xine-lib 1.1.5? Thanks ---------------------------------------------------------------------- Comment By: Sammy (sambo57u) Date: 2007-04-11 22:08 Message: Logged In: YES user_id=1767080 Originator: NO I am getting the exact same problem on FC6. The problem seems to happen during the execution of autogen.sh since if you use the existing configure with the existing templates you do not get the problem, however the template vales are not the same for me, so I need to run autogen.sh. Also, when I run the configure script after autogen.sh it stops with a message saying pthread is not available, but it actually is. It turns out that the small test program that configure runs is giving some warning messages and we have the -Werror flag that kills the test program. Removing the flag solves this problem. Is there a required version of autoconf etc for xine-lib 1.1.5? Thanks ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1698627&group_id=9655 |