linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] Compiling Linphone 3.5.2 on OpenSuse 12.1


From: Ghislain Mary
Subject: Re: [Linphone-developers] Compiling Linphone 3.5.2 on OpenSuse 12.1
Date: Mon, 4 Mar 2013 11:30:20 +0100

Hi,

What this configure result says is that the Xvlib.h header has been found but that the XvCreateImage symbol has not been found in the libXv.so dynamic library even if it is defined in the Xvlib.h header file.
You can check the content of the libXv.so library on your system and will see that the XvCreateImage symbol is not in it. For example on my system:

objdump -T /usr/lib32/libXv.so.1

/usr/lib32/libXv.so.1:     file format elf32-i386

DYNAMIC SYMBOL TABLE:
00000000      DF *UND*  00000000              _XReply
00000000      DF *UND*  00000000  GLIBC_2.0   sprintf
00000000  w   D  *UND*  00000000              __gmon_start__
00000000  w   D  *UND*  00000000              _Jv_RegisterClasses
00000000      DF *UND*  00000000              _XFlushGCCache
00000000      DF *UND*  00000000  GLIBC_2.0   strncpy
00000000      DF *UND*  00000000              XMissingExtension
00000000      DF *UND*  00000000              _XFlush
00000000      DF *UND*  00000000              _XEatData
00000000      DF *UND*  00000000  GLIBC_2.0   free
00000000      DF *UND*  00000000              XextRemoveDisplay
00000000      DF *UND*  00000000              XGetErrorDatabaseText
00000000      DF *UND*  00000000              XextCreateExtension
00000000      DF *UND*  00000000  GLIBC_2.0   memcpy
00000000      DF *UND*  00000000              _XRead
00000000      DF *UND*  00000000              _XSetLastRequestRead
00000000      DF *UND*  00000000  GLIBC_2.0   malloc
00000000      DF *UND*  00000000              XextFindDisplay
00000000      DF *UND*  00000000  GLIBC_2.0   memmove
00000000      DF *UND*  00000000              _XSend
00000000      DF *UND*  00000000              XextAddDisplay
00000000  w   DF *UND*  00000000  GLIBC_2.1.3 __cxa_finalize
000024f0 g    DF .text  00000319  Base        XvListImageFormats
000016c0 g    DF .text  0000014f  Base        XvPutStill
00003248 g    DF .fini  00000000  Base        _fini
00001340 g    DF .text  000000d9  Base        XvStopVideo
00000b10 g    DF .init  00000000  Base        _init
000022d0 g    DF .text  000001ca  Base        XvCreateImage
00001810 g    DF .text  0000014f  Base        XvPutVideo
00001180 g    DF .text  000000d9  Base        XvSelectVideoNotify
0000448c g    D  *ABS*  00000000  Base        __bss_start
00001420 g    DF .text  0000014f  Base        XvGetStill
000044a0 g    D  *ABS*  00000000  Base        _end
00001b50 g    DF .text  00000287  Base        XvPutImage
00002070 g    DF .text  00000101  Base        XvGrabPort
00001570 g    DF .text  0000014f  Base        XvGetVideo
000010a0 g    DF .text  000000d9  Base        XvSelectPortNotify
00002aa0 g    DF .text  0000006f  Base        XvFreeAdaptorInfo
0000448c g    D  *ABS*  00000000  Base        _edata
00002810 g    DF .text  00000229  Base        XvQueryPortAttributes
00000e30 g    DF .text  0000018f  Base        XvShmPutImage
00000fc0 g    DF .text  000000d9  Base        XvSetPortAttribute
00001260 g    DF .text  000000d9  Base        XvUngrabPort
00002180 g    DF .text  0000014f  Base        XvQueryExtension
00001de0 g    DF .text  0000015f  Base        XvQueryBestSize
000024a0 g    DF .text  00000050  Base        XvShmCreateImage
00002a40 g    DF .text  00000060  Base        XvFreeEncodingInfo
00002b10 g    DF .text  0000033a  Base        XvQueryEncodings
00001f40 g    DF .text  0000012f  Base        XvGetPortAttribute
00002e50 g    DF .text  000003bd  Base        XvQueryAdaptors

I don't know about opensuse, but maybe this symbol is defined in an other library. You should check with the opensuse guys to find out where you can find this symbol.

Cheers,
Ghislain

On 2 March 2013 16:26, <address@hidden> wrote:
Hello,
  Below is the output from the running the configure command.

 === configuring in mediastreamer2 (/home/rich/Downloads/linphone/linphone-3.5.2/mediastreamer2)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  --cache-file=/dev/null --srcdir=.
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
configure: mediastreamer-2.8.2          A mediastreaming library for telephony application.
configure: licensed under the terms of the General Public License (GPL)
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Building Package on linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking warning make an error on compilation... checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
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 -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
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 g++... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether byte ordering is bigendian... no
checking whether NLS is requested... yes
checking for intltool >= 0.40... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking for ld used by GCC... /usr/x86_64-suse-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
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 whether fixed point arithmetic is preferred... false
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for clock_gettime in -lrt... yes
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking sys/audio.h usability... no
checking sys/audio.h presence... no
checking for sys/audio.h... no
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking for snd_pcm_open in -lasound... yes
checking for LIBPULSE... no
checking for SPEEX... yes
checking for SPEEX... yes
checking for SPEEXDSP... yes
checking gsm/gsm.h usability... yes
checking gsm/gsm.h presence... yes
checking for gsm/gsm.h... yes
checking for gsm_create in -lgsm... yes
checking for SPANDSP... no
checking for FFMPEG... yes
checking for SWSCALE... yes
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking for avcodec_register_all in -lavcodec... no
checking libswscale/swscale.h usability... yes
checking libswscale/swscale.h presence... yes
checking for libswscale/swscale.h... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/extensions/Xv.h usability... yes
checking X11/extensions/Xv.h presence... yes
checking for X11/extensions/Xv.h... yes
checking for X11/extensions/Xvlib.h... yes
checking for XvCreateImage in -lXv... no
configure: error: No X video output API found. Please install X11+Xv headers.
configure: error: ./configure failed for mediastreamer2

/usr/include/X11/extensions/Xvlib.h defines XvCreateImage as:
extern XvImage * XvCreateImage (
   Display *display,
   XvPortID port,
   int id,
   char *data,
   int width,
   int height
);

Why can the configure program not find XvCreateImage? How can I force it to use the Xvlib.h file (which it found)?

Thank you.


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]