[MPlayer-users] Problems while compiling...
Alexey Prohorenko
green at usa.dp.ua
Wed Oct 24 23:10:01 CEST 2001
green at pacific:~$ uname -v
FreeBSD 3.4-RELEASE #1: Fri Sep 29 12:20:06 EEST 2000 root at pacific.usa.dp.ua:/usr/src/sys/compile/PACIFIC
green at pacific:~$ uname -a
FreeBSD pacific.usa.dp.ua 3.4-RELEASE FreeBSD 3.4-RELEASE #1: Fri Sep 29 12:20:06 EEST 2000 root at pacific.usa.dp.ua:/usr/src/sys/compile/PACIFIC i386
green at pacific:~$ ls -l /lib/libc[.-]*
ls: /lib/libc[.-]*: No such file or directory
green at pacific:~$ ls -l /usr/lib/libc[.-]*
-r--r--r-- 1 root wheel 1051796 30 дек 1999 /usr/lib/libc.a
lrwxrwxrwx 1 root wheel 9 14 июл 2000 /usr/lib/libc.so -> libc.so.3
-r--r--r-- 1 root wheel 520040 30 дек 1999 /usr/lib/libc.so.3
green at pacific:~$ X -version
XFree86 Version 3.3.5 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: August 23 1999
If the server is older than 6-12 months, or if your card is newer
than the above date, look for a newer version before reporting
problems. (see http://www.XFree86.Org/FAQ)
Operating System: FreeBSD 3.1-STABLE i386 [ELF]
Configured drivers:
SVGA: server for SVGA graphics adaptors (Patchlevel 0):
NV1, STG2000, RIVA 128, RIVA TNT, RIVA TNT2, RIVA ULTRA TNT2,
RIVA VANTA, RIVA ULTRA VANTA, RIVA INTEGRATED, ET4000, ET4000W32,
ET4000W32i, ET4000W32i_rev_b, ET4000W32i_rev_c, ET4000W32p,
ET4000W32p_rev_a, ET4000W32p_rev_b, ET4000W32p_rev_c,
ET4000W32p_rev_d, ET6000, ET6100, et3000, pvga1, wd90c00, wd90c10,
wd90c30, wd90c24, wd90c31, wd90c33, gvga, ati, sis86c201, sis86c202,
sis86c205, sis86c215, sis86c225, sis5597, sis5598, sis6326, sis530,
sis620, tvga8200lx, tvga8800cs, tvga8900b, tvga8900c, tvga8900cl,
tvga8900d, tvga9000, tvga9000i, tvga9100b, tvga9200cxr, tgui9400cxi,
tgui9420, tgui9420dgi, tgui9430dgi, tgui9440agi, cyber9320, tgui9660,
tgui9680, tgui9682, tgui9685, cyber9382, cyber9385, cyber9388,
cyber9397, cyber9520, cyber9525, 3dimage975, 3dimage985, cyber9397dvd,
blade3d, cyberblade, clgd5420, clgd5422, clgd5424, clgd5426, clgd5428,
clgd5429, clgd5430, clgd5434, clgd5436, clgd5446, clgd5480, clgd5462,
clgd5464, clgd5465, clgd6205, clgd6215, clgd6225, clgd6235, clgd7541,
clgd7542, clgd7543, clgd7548, clgd7555, clgd7556, ncr77c22, ncr77c22e,
cpq_avga, mga2064w, mga1064sg, mga2164w, mga2164w AGP, mgag200,
mgag100, mgag400, oti067, oti077, oti087, oti037c, al2101, ali2228,
ali2301, ali2302, ali2308, ali2401, cl6410, cl6412, cl6420, cl6440,
video7, ark1000vl, ark1000pv, ark2000pv, ark2000mt, mx, realtek,
s3_virge, AP6422, AT24, AT3D, s3_svga, NM2070, NM2090, NM2093, NM2097,
NM2160, NM2200, ct65520, ct65525, ct65530, ct65535, ct65540, ct65545,
ct65546, ct65548, ct65550, ct65554, ct65555, ct68554, ct69000,
ct64200, ct64300, mediagx, V1000, V2100, V2200, p9100, spc8110, i740,
i740_pci, Voodoo Banshee, Voodoo3, generic
green at pacific:~$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-unknown-freebsdelf/2.95.2/specs
gcc version 2.95.2 19991024 (release)
green at pacific:~$ ld -v
GNU ld version 2.9.1 (with BFD 2.9.1)
green at pacific:~$ as --version
GNU assembler 2.9.1
Copyright 1997 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i386-unknown-freebsdelf'.
green at pacific:~$ cat /proc/cpuinfo
cat: /proc/cpuinfo: No such file or directory
green at pacific:~$ dmesg
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.4-RELEASE #1: Fri Sep 29 12:20:06 EEST 2000
root at pacific.usa.dp.ua:/usr/src/sys/compile/PACIFIC
Timecounter "i8254" frequency 1193182 Hz
CPU: Celeron (434.32-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x665 Stepping = 5
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory = 134217728 (131072K bytes)
config> en matcdc0
config> po matcdc0 0x320
config> f matcdc0 0
config> q
avail memory = 127778816 (124784K bytes)
Preloaded elf kernel "kernel" at 0xc02a8000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02a809c.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.4.1
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
rl0: <RealTek 8139 10/100BaseTX> rev 0x10 int a irq 10 on pci0.13.0
rl0: Ethernet address: 00:60:52:0a:df:55
rl0: autoneg complete, link status good (full-duplex, 100Mbps)
Probing for devices on PCI bus 1:
vga0: <VGA-compatible display device> rev 0x21 int a irq 11 on pci1.0.0
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALLlct10 15>
wd0: 14324MB (29336832 sectors), 29104 cyls, 16 heads, 63 S/T, 512 B/S
matcd - Matsushita (Panasonic) CD-ROM Driver by FDIV, Version 1(26) 18-Oct-95
matcdc0 at 0x320-0x323 on isa
matcdc0 Host interface type 1
matcd0: [CR-5625.00]
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
sb0 at 0x220 irq 7 drq 1 on isa
Hmm... Could this be an ESS688 based card (rev 6)
snd0: <SoundBlaster Pro 3.1>
sbxvi0 not found
sbmidi0 not found at 0x330
opl0 at 0x388 on isa
snd0: <Yamaha OPL3 FM>
npx0 on motherboard
npx0: INT 16 interface
changing root device to wd0s2a
video card manufacturer and model: Nvidia
video driver type&version: X built-in driver
sound card type & driver: ESS688
green at pacific:/usr/DivX/software/MPlayer-0.50$ gmake distclean
green at pacific:/usr/DivX/software/MPlayer-0.50$ ./configure --with-win32libdir=/usr/DivX/software/w32codec --with-extralibdir=/usr/DivX/software/SDL-1.1.6
You can get detailed help on configure with: ./configure --help
Please wait while ./configure discovers your software and hardware environment!
Detected operating system: FreeBSD
Detected host architecture: i386
Checking version of gcc ... 2.95.2, ok
Checking for language ... en
Using ... help_mp-en.h file
DivX4Linux includes (decore.h) not found!
Checking assembler (as) ... 2.9.1, ok
Checking mmx support in Kernel ... ok
Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Checking for cpu vendor ... GenuineIntel ( 6:6:5 )
Checking for cpu type ... Unknown Intel CPU
Optimizing to ... i686
Checking for mmx support ... yes
Checking for mmx2 support ... no
Checking for 3dnow support ... no
Checking for 3dnowex support ... no
Checking for sse support ... no
Checking for mtrr support ... yes
Screen size ... 1x1
Checking for X11 libs ... -L/usr/X11R6/lib
Checking for X11 headers ... -I/usr/X11R6/include
Checking mga_vid device ... no
Checking for xmga ... no
Checking for SDL ... no
Checking for AA ... no
Checking for GGI ... no
Checking for OpenGL ... yes
Checking for Xv ... no
Checking for X11 ... yes
Checking for DGA ... yes
Checking for DGA 2.0 .. no
Checking for Xf86VM ... yes
Checking for SVGAlib ... no
Checking for FBDev ... no
Checking for OSS Audio ... no
Checking for ALSA Audio ... no
Checking for ESD Audio ... yes
Checking for Sun Audio ... no
Checking for Sun mediaLib ... no
Checking for DeCSS support ... no
Checking for DVDread support ... no
Checking for PNG support ... yes
Checking for OggVorbis support ... no
Checking for Win32 DLL support ... yes
Checking for DirectShow ... yes
Checking if your compiler 'gcc' supports C++ ... yes
Checking for proper C++ runtime enviroment ... yes
Checking for libavcodec ... yes
Checking for divx4linux ... no
Checking for fastmemcpy ... yes
Extra libs : -L/usr/DivX/software/SDL-1.1.6
Extra headers : -I/usr/local/include
Creating config.h
Creating config.mak
Creating libvo/config.mak
Creating libao2/config.mak
Config files successfully generated by ./configure !
Please check config.h and config.mak files, tune CPU
and optimization flags if you don't like these defaults.
You can compile the program with 'make' and
install with 'make install'. Good luck!
Note: On non-Linux systems you might need to use gmake
instead of make.
Creating help_mp.h
Please check mtrr settings at /proc/mtrr (see DOCS/video.html#2.2.1.1)
Ok, found Win32 codecs directory at /usr/DivX/software/w32codec.
green at pacific:/usr/DivX/software/MPlayer-0.50$ gmake > /tmp/gmake.log
open.c:13: warning: No include path in which to find sys/cdrio.h
In file included from stream.c:20:
vcd_read_fbsd.c:2: warning: No include path in which to find sys/cdrio.h
In file included from utils.c:26:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
DS_VideoDecoder.cpp:498: warning: #warning NOT SURE
DS_VideoDecoder.cpp:513: warning: #warning FIXME
open.c:13: sys/cdrio.h: No such file or directory
open.c: In function `open_stream':
open.c:103: `CDRIOCSETBLOCKSIZE' undeclared (first use in this function)
open.c:103: (Each undeclared identifier is reported only once
open.c:103: for each function it appears in.)
gmake: *** [open.o] Error 1
green at pacific:/usr/DivX/software/MPlayer-0.50$ cat /tmp/gmake.log
./version.sh
gmake distclean
gmake[1]: Entering directory `/usr/DivX/software/MPlayer-0.50'
rm -f *~ mplayer fibmap_mplayer mplayerHQ aviparse tvision mp_msg.o open.o parse_es.o ac3-iec958.o find_sub.o aviprint.o dec_audio.o dec_video.o aviwrite.o aviheader.o asfheader.o demux_avi.o demux_asf.o demux_mpg.o demux_mov.o demuxer.o stream.o codec-cfg.o subreader.o linux/getch2.o linux/timer-lx.o linux/shmem.o xa/xa_gsm.o xa/rle8.o lirc_mp.o cfgparser.o mixer.o dvdauth.o spudec.o dll_init.o *.o *.a .depend
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/mp3lib'
rm -f *~ *.o *.a Makefile.bak .depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/mp3lib'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/libac3'
rm -f Makefile.bak *.o *.a *~ downmix/*.o downmix/*~ .depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/libac3'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/libmpeg2'
rm -f Makefile.bak *.o *.a *~ .depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/libmpeg2'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/opendivx'
rm -f Makefile.bak *.o *.a *~ .depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/opendivx'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/libavcodec'
rm -f *.o *~ *.a i386/*.o i386/*~ \
armv4l/*.o armv4l/*~ \
mlib/*.o mlib/*~ \
libac3/*.o libac3/*~ \
apiexample imgresample-test dct-test motion-test
rm -f Makefile.bak .depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/libavcodec'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/encore'
rm -f Makefile.bak *.o *.a *~ .depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/encore'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/libvo'
rm -f Makefile.bak *.o *.a *~ .depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/libvo'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/libao2'
rm -f Makefile.bak *.o *.a *~ .depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/libao2'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/drivers'
rm -f *.o *~
rm -f mga_vid_test
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/drivers'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/drivers/syncfb'
rm -f *.o
rm -f syncfb_test syncfbtv syncfb_off
rm -f *~
rm -f *.bak
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/drivers/syncfb'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/loader'
rm -f *.o libloader.a
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/loader'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/loader/DirectShow'
rm -f Makefile.bak *.o *.a *~ .depend test test.raw
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/loader/DirectShow'
gmake[1]: Leaving directory `/usr/DivX/software/MPlayer-0.50'
gmake depend
gmake[1]: Entering directory `/usr/DivX/software/MPlayer-0.50'
./version.sh
gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iloader -Ilibvo -I/usr/local/include mplayer.c mp_msg.c open.c parse_es.c ac3-iec958.c find_sub.c aviprint.c dec_audio.c dec_video.c aviwrite.c aviheader.c asfheader.c demux_avi.c demux_asf.c demux_mpg.c demux_mov.c demuxer.c stream.c codec-cfg.c subreader.c linux/getch2.c linux/timer-lx.c linux/shmem.c xa/xa_gsm.c xa/rle8.c lirc_mp.c cfgparser.c mixer.c dvdauth.c spudec.c dll_init.c 1>.depend
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/mp3lib'
gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include sr1.c d_cpu.s decode_i586.s decode_MMX.s dct64_MMX.s tabinit_MMX.s 1>.depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/mp3lib'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/libac3'
gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I/usr/local/include -DHAVE_CONFIG_H bit_allocate.c bitstream.c coeff.c crc.c debug.c decode.c dither.c exponent.c imdct.c parse.c rematrix.c sanity_check.c srfft.c stats.c downmix/downmix.c 1>.depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/libac3'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/libmpeg2'
gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I../libvo -I.. -I/usr/local/include -DMPG12PLAY header.c idct.c idct_mmx.c idct_mlib.c motion_comp.c motion_comp_mmx.c motion_comp_mlib.c slice.c stats.c decode.c 1>.depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/libmpeg2'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/opendivx'
gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I../libmpeg2 -I/usr/local/include -D_DECORE -DO_BINARY=0 -DLINUX postprocess.c basic_prediction.c decore.c getbits.c idct.c mp4_block.c mp4_decoder.c mp4_header.c mp4_mblock.c mp4_picture.c mp4_predict.c mp4_recon.c mp4_vld.c 1>.depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/opendivx'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/libavcodec'
gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -g -DHAVE_AV_CONFIG_H common.c utils.c mpegvideo.c h263.c jrevdct.c jfdctfst.c mpegaudio.c ac3enc.c mjpeg.c resample.c dsputil.c motion_est.c imgconvert.c imgresample.c msmpeg4.c mpeg12.c h263dec.c rv10.c mpegaudiodec.c pcm.c i386/fdct_mmx.c i386/cputest.c i386/dsputil_mmx.c i386/mpegvideo_mmx.c i386/idct_mmx.c i386/motion_est_mmx.c 1>.depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/libavcodec'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/encore'
gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/usr/local/include encore.c mom_access.c bitstream.c mom_util.c mot_code.c mot_est_comp.c mot_est_mb.c mot_util.c putvlc.c rc_hist.c rc_q2.c rgb2yuv.c text_bits.c text_code.c text_code_mb.c text_dct.c vop_code.c 1>.depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/encore'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/libvo'
gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I/usr/X11R6/include -I/usr/local/include -DMPG12PLAY aspect.c aclib.c osd.c font_load.c yuv2rgb.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_mpegpes.c vo_odivx.c x11_common.c vo_png.c vo_gl.c vo_gl2.c vo_x11.c vo_dga.c rgb15to16mmx.c yuv2rgb_mmx.c 1>.depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/libvo'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/libao2'
gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I/usr/local/include audio_out.c ao_null.c ao_pcm.c 1>.depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/libao2'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/drivers'
gmake[2]: Nothing to be done for `dep'.
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/drivers'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/drivers/syncfb'
gmake[2]: Nothing to be done for `dep'.
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/drivers/syncfb'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/loader'
echo "dependency not required/supported"
dependency not required/supported
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/loader'
gmake[2]: Entering directory `/usr/DivX/software/MPlayer-0.50/loader/DirectShow'
gcc -MM -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I.. -I/usr/local/include -DNOAVIFILE_HEADERS -fexceptions DS_AudioDec.cpp DS_AudioDecoder.cpp DS_VideoDec.cpp DS_Filter.cpp DS_VideoDecoder.cpp allocator.cpp cmediasample.cpp guids.cpp inputpin.cpp outputpin.cpp 1>.depend
gmake[2]: Leaving directory `/usr/DivX/software/MPlayer-0.50/loader/DirectShow'
gmake[1]: Leaving directory `/usr/DivX/software/MPlayer-0.50'
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iloader -Ilibvo -I/usr/local/include -o mplayer.o mplayer.c
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iloader -Ilibvo -I/usr/local/include -o mp_msg.o mp_msg.c
gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Iloader -Ilibvo -I/usr/local/include -o open.o open.c
So, the problem is that THERE IS NO any sys/cdrio.h in my FreeBSD 3.4.
--
green
[http://www.extrasy.net]
/* -------- Generated by ./configure ----------- */
#define USE_OSD
#define USE_SUB
#undef MP_DEBUG
#undef USE_DVDREAD
/* Common data directory (for fonts, etc) */
#define DATADIR "/usr/local/share/mplayer"
/* Define for using new DivX4Linux library, instead of open-source OpenDivX */
/* You have to change DECORE_LIBS in config.mak too! */
#undef NEW_DECORE
/* Define this to enable avg. byte/sec-based AVI sync method by default:
(use -bps or -nobps commandline option for run-time method selection)
-bps gives better sync for vbr mp3 audio, it is now default */
#define AVI_SYNC_BPS
/* Undefine this if you want soundcard-only timing by default:
You can still change this with the -alsa or -noalsa command-line option!
(This function was originally impemented to solve ALSA driver's big
buffer problems, but it seems to be useful for every soundcard drivers) */
#define ALSA_TIMER
/* Undefine this if you don't want to select mono audio (left or right)
with a stereo MPEG layer 2/3 audio stream. The command-line option
-stereo has three possible values (0 for stereo, 1 for left-only, 2 for
right-only), with 0 being the default.
*/
#define USE_FAKE_MONO
/* Undefine this if your soundcard driver has no working select().
If you have kernel Oops, player hangups, or just no audio, you should
try to recompile MPlayer with this option disabled! */
#define HAVE_AUDIO_SELECT
/* XMMP support: (test code) */
#undef USE_XMMP_AUDIO
#define LIBDIR "/usr/local/lib"
#define PLUGINDIR LIBDIR "/xmmp/Plugins"
#define XMMP_AUDIO_DRIVER PLUGINDIR "/Sound/oss.so"
/* set up max. outburst. use 65536 for ALSA 0.5, for others 16384 is enough */
#define MAX_OUTBURST 65536
/* set up audio OUTBURST. Do not change this! */
#ifdef USE_XMMP_AUDIO
#define OUTBURST 4096
#else
//#define OUTBURST 1024
#define OUTBURST 512
#endif
/* Define this if your system has the header file for the OSS sound interface */
#undef HAVE_SYS_SOUNDCARD_H
/* Define this if your system has the "malloc.h" header file */
#define HAVE_MALLOC_H 1
/* memalign is mapped to malloc here, if unsupported */
#define memalign(a,b) malloc(b)
#undef HAVE_MEMALIGN
/* Define this if your system has the "alloca.h" header file */
#undef HAVE_ALLOCA_H
/* Define this if your system has the "sys/mman.h" header file */
#define HAVE_SYS_MMAN_H 1
/* Define this if you have the elf dynamic linker -ldl library */
#undef HAVE_LIBDL
/* Define this if you have the kstat kernel statistics library */
#undef HAVE_LIBKSTAT
/* LIRC (remote control, see www.lirc.org) support: */
#undef HAVE_LIRC
/* DeCSS support using libcss */
#undef HAVE_LIBCSS
/* Define this to enable MPEG 1/2 image postprocessing (requires FAST cpu!) */
#define MPEG12_POSTPROC
/* Win32 DLL support */
#define USE_WIN32DLL 1
/* DirectShow support */
#define USE_DIRECTSHOW
/* ffmpeg's libavcodec support (requires libavcodec source) */
#define USE_LIBAVCODEC
/* use only decoders from libavcodec: */
#define CONFIG_DECODERS
/* Use 3dnow/mmxext/sse/mmx optimized fast memcpy() [maybe buggy... signal 4]*/
#define USE_FASTMEMCPY
/* gui support, please do not edit this option */
#undef HAVE_GUI
#define PREFIX "/usr/local"
/* Audio lib drivers */
#undef USE_OSS_AUDIO
#undef HAVE_ALSA5
#undef HAVE_ALSA9
#undef HAVE_ESD
#undef USE_SUN_AUDIO
/* Enable fast OSD/SUB renderer (looks ugly, but uses less CPU power) */
#undef FAST_OSD
#undef FAST_OSD_TABLE
/* Define if your processor stores words with the most significant
byte first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
#define ARCH_X86 1
/* Define this to any prefered value from 386 up to infinity with step 100 */
#define __CPU__ 686
#ifdef sun
#define DEFAULT_CDROM_DEVICE "/vol/dev/aliases/cdrom0"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
#else
#define DEFAULT_CDROM_DEVICE "/dev/cdrom"
#define DEFAULT_DVD_DEVICE "/dev/dvd"
#endif
/*----------------------------------------------------------------------------
**
** NOTE: Instead of modifying these definitions here, use the
** --enable/--disable options of the ./configure script!
** See ./configure --help for details.
**
*---------------------------------------------------------------------------*/
/* termcap flag for getch2.c */
#define USE_TERMCAP
/* enable PNG support */
#define HAVE_PNG
/* enable OggVorbis support */
#undef HAVE_OGGVORBIS
#undef STREAMING
/* Extension defines */
#undef HAVE_3DNOW // only define if you have 3DNOW (AMD k6-2, AMD Athlon, iDT WinChip, etc.)
#undef HAVE_3DNOWEX // only define if you have 3DNOWEX (AMD Athlon, etc.)
#define HAVE_MMX // only define if you have MMX (newer x86 chips, not P54C/PPro)
#undef HAVE_MMX2 // only define if you have MMX2 (Athlon/PIII/4/CelII)
#undef HAVE_SSE // only define if you have SSE (Intel Pentium III/4 or Celeron II)
#ifdef HAVE_MMX
#define USE_MMX_IDCT
#endif
#undef HAVE_MLIB // Sun mediaLib, available only on solaris
/* libmpeg2 uses a different feature test macro for mediaLib */
#ifdef HAVE_MLIB
#define LIBMPEG2_MLIB
#endif
/* libvo options */
#define SCREEN_SIZE_X 1
#define SCREEN_SIZE_Y 1
#define HAVE_X11
#undef HAVE_XV
#define HAVE_XF86VM
#define HAVE_GL
#define HAVE_DGA
#undef HAVE_DGA2
#undef HAVE_SDL
/* defined for SDLlib with keyrepeat bugs (before 1.2.1) */
#undef HAVE_GGI
#undef HAVE_3DFX
#undef HAVE_TDFXFB
#undef HAVE_MGA
#undef HAVE_XMGA
#undef HAVE_SYNCFB
#undef HAVE_FBDEV
#undef HAVE_SVGALIB
#define HAVE_XDPMS 1
#undef HAVE_AA
/* used by GUI: */
#define HAVE_XSHAPE
#if defined(HAVE_GL)||defined(HAVE_X11)||defined(HAVE_XV)
#define X11_FULLSCREEN
#endif
# -------- Generated by ./configure -----------
prefix = /usr/local
AR=ar
CC=gcc
# OPTFLAGS=-O4 -march=i686 -mcpu=i686 -pipe -fomit-frame-pointer -ffast-math
OPTFLAGS=-O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
EXTRA_INC=-I/usr/local/include
WIN32_PATH=-DWIN32_PATH=\"/usr/DivX/software/w32codec\"
X11_INC=-I/usr/X11R6/include
X11DIR=-L/usr/X11R6/lib
X_LIBS=-L/usr/X11R6/lib -L/usr/DivX/software/SDL-1.1.6 -lGL -lXxf86dga -lX11 -lXext -lXdpms -lXxf86vm -lpng -lz
TERMCAP_LIB=-ltermcap
XMM_LIBS =
LIRC_LIBS =
CSS_USE=no
CSS_LIB =
CSS_INC =
SDL_INC =
W32_DEP = loader/libloader.a
W32_LIB = -Lloader -lloader
DS_DEP = loader/DirectShow/libDS_Filter.a
DS_LIB = -Lloader/DirectShow -lDS_Filter -lstdc++
AV_DEP = libavcodec/libavcodec.a
AV_LIB = -Llibavcodec -lavcodec
ALSA_LIB =
ESD_LIB =
ARCH_LIBS = -rdynamic -pthread
STREAM_SRCS =
DECORE_LIBS = -Lopendivx -ldecore
DIVX4LINUX=no
MLIB_INC =
MLIB_LIB =
# --- Some stuff for autoconfigure ----
TARGET_ARCH_X86=yes
TARGET_CYGWIN=no
TARGET_CPU=686
TARGET_MMX=yes
TARGET_MMX2=no
TARGET_3DNOW=no
TARGET_3DNOWEX=no
TARGET_SSE=no
BINUTILS=no
HAVE_MLIB=no
# --- GUI stuff ---
GTKLIB=
GLIBLIB=
GUI_LIBS =
GUI=no
DEBUG=-DDEBUG
include ../config.mak
OPTIONAL_SRCS= vo_png.c vo_gl.c vo_gl2.c vo_x11.c vo_dga.c
OPTIONAL_OBJS=vo_png.o vo_gl.o vo_gl2.o vo_x11.o vo_dga.o
--
green
[http://www.extrasy.net]
More information about the MPlayer-users
mailing list