[MPlayer-users] Bug in 'configure' script? (Was: Re: Can't biuild the latest svn)
Masaru Nomiya
nomiya at galaxy.dti.ne.jp
Sat Jan 27 09:49:21 CET 2007
Hello,
In the Message;
Subject : [MPlayer-users] Can't biuild the latest svn
Message-ID : <87odom55b5.wl%nomiya at galaxy.dti.ne.jp>
Date & Time: Fri, 26 Jan 2007 21:41:02 +0900
[Me] == Masaru Nomiya <nomiya at galaxy.dti.ne.jp> has written:
Me> First of all. the latest configure script can't find "live directory".
Me> So, I added options for ./configure;
Me> --with-extraincdir=/usr/lib64/live/liveMedia/include:/usr/lib64/live/BasicUsageEnvironment/include:/usr/lib64/live/UsageEnvironment/include:/usr/lib64/live/groupsock/include
By applying patch;
--- configure.orig 2007-01-27 17:38:02.000000000 +0900
+++ configure 2007-01-27 17:27:52.000000000 +0900
@@ -6097,11 +6097,11 @@
int main(void) {}
EOF
- _live=no
+ _live=yes
for I in $_inc_extra "-I$_libdir/live" "-I/usr/lib64/live" "-I/usr/local/live" "-I/usr/local/lib/live" ; do
cxx_check $I/usr/lib64/live/liveMedia/include $I/usr/lib64/live/UsageEnvironment/include \
$I/usr/lib64/live/groupsock/include && _livelibdir=`echo $I| sed s/-I//` && \
- _live=yes && break
+ _live=no && break
done
if test "$_live" != yes ; then
if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock; then
The option of 'configure'
--with-extraincdir=/usr/lib64/live/liveMedia/include:/usr/lib64/live/BasicUsageEnvironment/include:/usr/lib64/live/UsageEnvironment/include:/usr/lib64/live/groupsock/include
becomes unnecessary. Is the above patch right?
Nevertheless, I couldn't avoid the compile error;
[...]
cc -I. -I.. -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib64/live/liveMedia/include -I/usr/lib64/live/BasicUsageEnvironment/include -I/usr/lib64/live/UsageEnvironment/include -I/usr/lib64/live/groupsock/include -I/usr/include/directfb -I/usr/X11/include -I/usr/include/SDL -D_REENTRANT -I/opt/kde3/include/artsc -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include -I/usr/include -I/usr/include/dvdnav -I/usr/include/freetype2 -I/usr/include -I/liveMedia/include -I/UsageEnvironment/include -I/BasicUsageEnvironment/include -I/groupsock/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib64/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/i!
nclude -c -o ftello.o ftello.c
ftello.c: In function 'ftello':
ftello.c:18: error: incompatible types in return
make[1]: *** [ftello.o] Error 1
make[1]: Leaving directory `/tmp/mplayer/osdep'
make: *** [osdep/libosdep.a] Error 2
Any hint?
Regards,
---
Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp
"Bill! You married with Computers.
Not with Me!"
"No..., with money."
More information about the MPlayer-users
mailing list