GNOME Bugzilla – Bug 165502
GStreamer FLAC configure test do not work with FC3 flac package
Last modified: 2005-01-28 12:20:31 UTC
Please describe the problem: configure:43413: checking for FLAC__seekable_stream_encoder_new in -lFLAC configure:43443: gcc -o conftest -g -O2 conftest.c -lFLAC -lm >&5 configure:43449: $? = 0 configure:43453: test -z || test ! -s conftest.err configure:43456: $? = 0 configure:43459: test -s conftest configure:43462: $? = 0 configure:43475: result: yes configure:43494: checking FLAC/all.h usability configure:43506: gcc -c -g -O2 conftest.c >&5 configure:43512: $? = 0 configure:43516: test -z || test ! -s conftest.err configure:43519: $? = 0 configure:43522: test -s conftest.o configure:43525: $? = 0 configure:43535: result: yes configure:43539: checking FLAC/all.h presence configure:43549: gcc -E conftest.c configure:43555: $? = 0 configure:43575: result: yes configure:43610: checking for FLAC/all.h configure:43617: result: yes configure:43640: checking whether FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR is declared configure:43667: gcc -c -g -O2 conftest.c >&5 conftest.c: In function `main': conftest.c:81: error: `FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR' undeclared (first use in this function) conftest.c:81: error: (Each undeclared identifier is reported only once conftest.c:81: error: for each function it appears in.) configure:43673: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define GST_PLUGINS_VERSION "0.8.7.1" | #define GST_PLUGINS_VERSION_RELEASE "0.20050128.131551" | #define PACKAGE "gst-plugins" | #define VERSION "0.8.7.1" | #define PACKAGE "gst-plugins" | #define VERSION "0.8.7.1" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #ifdef __cplusplus | extern "C" void std::exit (int) throw (); using std::exit; | #endif | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define GETTEXT_PACKAGE "gst-plugins-0.8" | #define LOCALEDIR "/usr/local/share/locale" | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_PRETTY_FUNCTION 1 | #define HAVE_FUNCTION 1 | #define HAVE_FUNC 1 | #define GST_FUNCTION __PRETTY_FUNCTION__ | #define GST_LEVEL_DEFAULT GST_LEVEL_ERROR | #define HAVE_FIONREAD_IN_SYS_IOCTL 1 | #define HAVE_EXTERNAL | #define HAVE_CPU_I386 1 | #define HAVE_RDTSC 1 | #define HAVE_GCONFTOOL | #define HAVE_GCONF | #define HAVE_LRINT 1 | #define HAVE_LRINTF 1 | #define HAVE_OSS_INCLUDE_IN_SYS | #define HAVE_OSS | #define HAVE_QCAM | #define HAVE_VCD | #define HAVE_OPENGL | #define HAVE_LINUX_CDROM_H 1 | #define HAVE_CDROM_SOLARIS | #define HAVE_CDROM | #define HAVE_X | #define HAVE_XVIDEO | #define HAVE_XSHM | #define HAVE_GST_V4L | #define HAVE_A52DEC | #define HAVE_ALSA | #define HAVE_ARTS | #define HAVE_ARTSC | #define HAVE_AUDIOFILE | #define CDPARANOIA_HEADERS_IN_DIR | #define HAVE_CDPARANOIA | #define HAVE_DIRAC | #define HAVE_DVDREAD | #define HAVE_DVDNAV | #define HAVE_ESD | #define HAVE_FAAD | /* end confdefs.h. */ | | #include <FLAC/seekable_stream_encoder.h> | | | int | main () | { | #ifndef FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR | char *p = (char *) FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR; | #endif | | ; | return 0; | } configure:43697: result: no configure:43730: *** These plugins will not be built: flacenc flacdec Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
This is valid and expected, update your flac package, their API changed.