[libextractor] Error compiling 0.6.x on opensolaris. 0.5.22/23 compiles
From:
eon storage
Subject:
[libextractor] Error compiling 0.6.x on opensolaris. 0.5.22/23 compiles fine
Date:
Tue, 6 Jul 2010 01:49:34 -0400
Greets,
Please pardon me if this is being sent to the wrong place. If so kindly point me to the right place to file this. I have not been able to compile libextractor starting since 0.6.0 (0.6.0, 0.6.1 and 0.6.2) on opensolaris(error below). I can successfully compile 0.5.22 and 0.5.23 without this problem. Can you provide any guidance? Thanks in advance.
0.6.x fails with the following error:
gmake all-recursive gmake[1]: Entering directory `/export/home/andrel/mtomb/libextractor-0.6.1' Making all in m4 gmake[2]: Entering directory `/export/home/andrel/mtomb/libextractor-0.6.1/m4'
gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/export/home/andrel/mtomb/libextractor-0.6.1/m4' Making all in po gmake[2]: Entering directory `/export/home/andrel/mtomb/libextractor-0.6.1/po'
gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/export/home/andrel/mtomb/libextractor-0.6.1/po' Making all in src gmake[2]: Entering directory `/export/home/andrel/mtomb/libextractor-0.6.1/src'
Making all in include gmake[3]: Entering directory `/export/home/andrel/mtomb/libextractor-0.6.1/src/include' Making all in . gmake[4]: Entering directory `/export/home/andrel/mtomb/libextractor-0.6.1/src/include'
gmake[4]: Nothing to be done for `all-am'. gmake[4]: Leaving directory `/export/home/andrel/mtomb/libextractor-0.6.1/src/include' gmake[3]: Leaving directory `/export/home/andrel/mtomb/libextractor-0.6.1/src/include'
Making all in main gmake[3]: Entering directory `/export/home/andrel/mtomb/libextractor-0.6.1/src/main' Making all in . gmake[4]: Entering directory `/export/home/andrel/mtomb/libextractor-0.6.1/src/main'
/usr/bin/bash ../../libtool --tag=CC --mode=compile /opt/gcc44/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../libltdl -DPLUGINDIR=\"libextractor\" -DPLUGININSTDIR=\"/opt/mediatomb/lib/libextractor\" -I/opt/mediatomb/include -fno-strict-aliasing -D_POSIX_PTHREAD_SEMANTICS -g -O2 -MT libextractor_la-extractor.lo -MD -MP -MF .deps/libextractor_la-extractor.Tpo -c -o libextractor_la-extractor.lo `test -f 'extractor.c' || echo './'`extractor.c
libtool: compile: /opt/gcc44/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../libltdl -DPLUGINDIR=\"libextractor\" -DPLUGININSTDIR=\"/opt/mediatomb/lib/libextractor\" -I/opt/mediatomb/include -fno-strict-aliasing -D_POSIX_PTHREAD_SEMANTICS -g -O2 -MT libextractor_la-extractor.lo -MD -MP -MF .deps/libextractor_la-extractor.Tpo -c extractor.c -fPIC -DPIC -o .libs/libextractor_la-extractor.o
extractor.c: In function 'plugin_load': extractor.c:706:3: error: 'lt_dladvise' undeclared (first use in this function) extractor.c:706:3: error: (Each undeclared identifier is reported only once
extractor.c:706:3: error: for each function it appears in.) extractor.c:706:15: error: expected ';' before 'advise' extractor.c:720:22: error: 'advise' undeclared (first use in this function)
extractor.c:723:25: warning: assignment makes pointer from integer without a cast gmake[4]: *** [libextractor_la-extractor.lo] Error 1 gmake[4]: Leaving directory `/export/home/andrel/mtomb/libextractor-0.6.1/src/main'
gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/export/home/andrel/mtomb/libextractor-0.6.1/src/main' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/export/home/andrel/mtomb/libextractor-0.6.1/src'
gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/export/home/andrel/mtomb/libextractor-0.6.1' gmake: *** [all] Error 2
configure info: checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/gnu/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11 checking for style of include used by make... GNU checking for gcc... /opt/gcc44/bin/gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes
checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /opt/gcc44/bin/gcc accepts -g... yes
checking for /opt/gcc44/bin/gcc option to accept ISO C89... none needed checking dependency style of /opt/gcc44/bin/gcc... gcc3 checking how to run the C preprocessor... /opt/gcc44/bin/gcc -E checking for grep that handles long lines and -e... /usr/gnu/bin/grep
checking for egrep... /usr/gnu/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes
checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no
checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for gawk... (cached) gawk checking for gcc... (cached) /opt/gcc44/bin/gcc checking whether we are using the GNU C compiler... (cached) yes
checking whether /opt/gcc44/bin/gcc accepts -g... (cached) yes checking for /opt/gcc44/bin/gcc option to accept ISO C89... (cached) none needed checking dependency style of /opt/gcc44/bin/gcc... (cached) gcc3 checking how to run the C preprocessor... /opt/gcc44/bin/gcc -E
checking whether we are using the GNU C++ compiler... yes checking whether /opt/gcc44/bin/g++ accepts -g... yes checking dependency style of /opt/gcc44/bin/g++... gcc3 checking for /opt/gcc44/bin/g++... no checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes checking for a sed that does not truncate output... /usr/gnu/bin/sed checking for fgrep... /usr/gnu/bin/grep -F checking for ld used by /opt/gcc44/bin/gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p checking the name lister (/usr/bin/nm -p) interface... BSD nm checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/ccs/bin/ld option to reload object files... -r checking for objdump... no
checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -p output from /opt/gcc44/bin/gcc object... ok
checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether /opt/gcc44/bin/g++ accepts -g... (cached) yes checking dependency style of /opt/gcc44/bin/g++... (cached) gcc3
checking how to run the C++ preprocessor... /opt/gcc44/bin/g++ -E checking for objdir... .libs checking if /opt/gcc44/bin/gcc supports -fno-rtti -fno-exceptions... no checking for /opt/gcc44/bin/gcc option to produce PIC... -fPIC -DPIC
checking if /opt/gcc44/bin/gcc PIC flag -fPIC -DPIC works... yes checking if /opt/gcc44/bin/gcc static flag -static works... no checking if /opt/gcc44/bin/gcc supports -c -o file.o... yes checking if /opt/gcc44/bin/gcc supports -c -o file.o... (cached) yes
checking whether the /opt/gcc44/bin/gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes
checking whether to build static libraries... no checking for ld used by /opt/gcc44/bin/g++... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the /opt/gcc44/bin/g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for /opt/gcc44/bin/g++ option to produce PIC... -fPIC -DPIC checking if /opt/gcc44/bin/g++ PIC flag -fPIC -DPIC works... yes checking if /opt/gcc44/bin/g++ static flag -static works... no checking if /opt/gcc44/bin/g++ supports -c -o file.o... yes
checking if /opt/gcc44/bin/g++ supports -c -o file.o... (cached) yes checking whether the /opt/gcc44/bin/g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate checking which extension is used for runtime loadable modules... .so checking which variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... /lib /usr/lib checking for library containing dlopen... none required checking for dlerror... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... no checking for error_t... no checking for argz_add... no
checking for argz_append... no checking for argz_count... no checking for argz_create_sep... no checking for argz_insert... no checking for argz_next... no checking for argz_stringify... no checking whether libtool supports -dlopen/-dlpreopen... yes
checking for ltdl.h... yes checking whether lt_dlinterface_register is declared... no checking where to find libltdl headers... -I${top_srcdir}/libltdl checking where to find libltdl library... ${top_build_prefix}libltdl/libltdlc.la
checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... yes checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes
checking for opendir... yes checking for readdir... yes checking for strlcat... yes checking for strlcpy... yes checking for res_init in -lresolv... yes checking for ld used by GCC... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for shared library run path origin... done checking for iconv... yes checking how to link with libiconv... /opt/mediatomb/lib/libiconv.so -R/opt/mediatomb/lib checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
/usr checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGEFILE_SOURCE value needed for large files... no checking for fclose in -lstdc++... yes
checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for ov_open_callbacks in -lvorbisfile... yes checking vorbis/vorbisfile.h usability... yes checking vorbis/vorbisfile.h presence... yes
checking for vorbis/vorbisfile.h... yes checking for FLAC__stream_decoder_init_stream in -lFLAC... yes checking FLAC/all.h usability... yes checking FLAC/all.h presence... yes checking for FLAC/all.h... yes
checking for FLAC__stream_decoder_init_ogg_stream in -lFLAC... yes checking for vorbis_comment_query in -lvorbisfile... no checking for inflate in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes
checking for zlib.h... yes checking for BZ2_decompress in -lbz2... no checking for rpmReadPackageFile in -lrpm... no checking for mpeg2_init in -lmpeg2... no checking for _ZTI9MemStream in -lpoppler... no checking for ImageFactory::iptcData in -lexiv2... no
checking for getPDFMajorVersion in -lpoppler... no checking whether /opt/gcc44/bin/gcc accepts -no-cpp-precomp... no checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for ltdl.h... (cached) yes checking iconv.h usability... yes checking iconv.h presence... yes
checking for iconv.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes
checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for zlib.h... (cached) yes
checking for inline... inline checking for size_t... yes checking for pid_t... yes checking endianess... little checking for working memcmp... yes checking for vprintf... yes checking for _doprnt... yes
checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no checking for error_at_line... no checking for library containing dlopen... (cached) none required checking for library containing shm_open... none required checking for mkstemp... yes
checking for strndup... no checking for munmap... yes checking for strcasecmp... yes checking for strdup... yes checking for strncasecmp... yes checking for memmove... yes checking for memset... yes checking for strtoul... yes
checking for floor... no checking for getcwd... yes checking for pow... no checking for setenv... yes checking for sqrt... no checking for strchr... yes checking for strcspn... yes checking for strrchr... yes
checking for strnlen... yes checking for strndup... (cached) no checking for ftruncate... yes checking for shm_open... yes checking for shm_unlink... yes checking whether NLS is requested... yes checking for msgfmt... /usr/gnu/bin/msgfmt
checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/gnu/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no checking for glib... checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.0.0... yes (version 2.18.3) checking whether glib is disabled... checking for gtk... checking for pkg-config... (cached) /usr/bin/pkg-config checking for GTK+ - version >= 2.6.0... yes (version 2.14.5)
checking pkg-config is at least version 0.9.0... yes checking for GSF... yes checking for GSF_GNOME... yes