[MPlayer-users] latest mplayer/libavcodec SVN doesn't compile on FreeBSD (imc.c)
Bohdan Horst
nexus at hoth.amu.edu.pl
Sun Dec 10 01:09:36 CET 2006
On Sat, Dec 09, 2006 at 04:07:02PM +0100, Reimar Döffinger wrote:
> Hello,
> On Sat, Dec 09, 2006 at 03:53:33PM +0100, Bohdan Horst wrote:
> > imc.c: In function `imc_decode_init':
> > imc.c:127: error: syntax error before '<<' token
> > imc.c:129: error: structure has no member named `flcf2'
> > imc.c:130: error: syntax error before '==' token
> > imc.c:135: error: syntax error before ')' token
> > gmake[1]: *** [imc.o] Error 1
>
> You have a merge conflict due to some changes you made on your local
> copy. Either fix it or just do a new, clean SVN checkout.
ehh sorry, my fault..
but now:
cc -o mencoder mencoder.o mp_msg-mencoder.o asxparser.o codec-cfg.o
cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o
parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o
vobsub.o unrarlib.o parser-mecmd.o xvid_vbr.o
libmpcodecs/libmpencoders.a libmpdemux/libmpmux.a
libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a
stream/stream.a libswscale/libswscale.a libvo/libosd.a
libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a
libpostproc/libpostproc.a loader/libloader.a mp3lib/libMP3.a
liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a
tremor/libvorbisidec.a libass/libass.a osdep/libosdep.a -lx264 -lpthread
-lmp3lame -Wl,-z,noexecstack -L/usr/local/lib -liconv -lncurses -lpng
-lz -ljpeg -lungif -L/usr/local/lib -ldvdnav -L/usr/local/lib -pthread
-lcdda_interface -lcdda_paranoia -L/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib -lfreetype -lz -lfontconfig -lz -lmad -lspeex -ldts
-lxvidcore -lm -lpthread -rdynamic -lm
/usr/bin/ld: cannot find -lfontconfig
gmake: *** [mencoder] Error 1
FreeBSD needs -L/usr/X11R6/lib ..
mplayer compiled fine (only mencoder fail)
patch (proposal):
--- configure.new Sun Dec 10 00:17:53 2006
+++ configure Sun Dec 10 00:18:03 2006
@@ -651,7 +651,7 @@
# resonable to have only /usr/include or only /usr/local/include.
if freebsd ; then
- _ld_extra="$_ld_extra -L/usr/local/lib"
+ _ld_extra="$_ld_extra -L/usr/local/lib -L/usr/X11R6/lib"
_inc_extra="$_inc_extra -I/usr/local/include"
fi
mplayer compile fine (only mencoder fail)
--
Bohdan 'Nexus' Horst
More information about the MPlayer-users
mailing list