John Brown | 8 Mar 2007 18:13
Picon
Favicon

svn 22490 on Windows - not declared stream_fill_buffer, stream_seek_long

I am using gcc-4.1.1 [Sherpya] on Windows XP. Latest svn (22490) does not 
compile:

make -C libmpdemux libmpdemux.a
make[1]: Entering directory `/c/progra~1/multimedia/mplayer/svn/libmpdemux'
g++ -I../stream -I../loader -I../libavutil -I../libavcodec -I../libavformat 
-I.
-I..  -W -Wall -Wno-unused-parameter -O2 -march=prescott -mtune=prescott -g3 
  -D
_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-I/mingw/include/
-I/mingw/include -I/mingw/include/dvdnav -I/mingw/include/freetype2 
-I/mingw/in
clude -I/mingw/lib/live/liveMedia/include                   
-I/mingw/lib/live/Us
ageEnvironment/include                   
-I/mingw/lib/live/BasicUsageEnvironment
/include                   -I/mingw/lib/live/groupsock/include 
-D__STDC_LIMIT_MA
CROS   -c -o demux_rtp.o demux_rtp.cpp
../stream/stream.h: In function 'int stream_read_char(stream_t*)':
../stream/stream.h:131: error: 'stream_fill_buffer' was not declared in this 
sco
pe
../stream/stream.h: In function 'int stream_read(stream_t*, char*, int)':
../stream/stream.h:212: error: 'stream_fill_buffer' was not declared in this 
sco
pe
../stream/stream.h: In function 'unsigned char* stream_read_line(stream_t*, 
unsi
(Continue reading)

Thomas Plank | 9 Mar 2007 01:05
Picon
Picon

Re: svn 22490 on Windows - not declared stream_fill_buffer, stream_seek_long

John Brown (johnbrown105 <at> hotmail.com) wrote:

> I am using gcc-4.1.1 [Sherpya] on Windows XP. Latest svn (22490) does not 
> compile:

> /include                   -I/mingw/lib/live/groupsock/include
> -D__STDC_LIMIT_MA
> CROS   -c -o demux_rtp.o demux_rtp.cpp

I think that's a problem with live555.
Try to compile without enabling live555.
--

-- 
mfg Thomas
Gianluigi Tiesi | 9 Mar 2007 01:54
Picon
Favicon

Re: svn 22490 on Windows - not declared stream_fill_buffer, stream_seek_long

On Fri, Mar 09, 2007 at 01:05:35AM +0100, Thomas Plank wrote:
> John Brown (johnbrown105 <at> hotmail.com) wrote:
> 
> > I am using gcc-4.1.1 [Sherpya] on Windows XP. Latest svn (22490) does not 
> > compile:
> 
> > /include                   -I/mingw/lib/live/groupsock/include
> > -D__STDC_LIMIT_MA
> > CROS   -c -o demux_rtp.o demux_rtp.cpp
> 
> I think that's a problem with live555.
> Try to compile without enabling live555.
> -- 
I've posted a patch on devel-eng, it's attached also here

Regards

--

-- 
Gianluigi Tiesi <sherpya <at> netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
diff -NuBr -x.svn -xhelp_mp.h -xlibdha -x'*.so' -x'*.log' -x'*.a' -x'*.exe' -x'*.o' -xconfigure.log
-xconfig.mak -x.cvsignore -xconfig.h -xcodecs.conf.h -xversion.h -x.depend main/stream/stream.h sherpya/stream/stream.h
--- main/stream/stream.h	2006-12-19 04:03:06.642481600 +0100
+++ sherpya/stream/stream.h	2007-03-06 06:43:22.803419200 +0100
 <at>  <at>  -119,6 +119,8  <at>  <at> 
 int cache_stream_seek_long(stream_t *s,off_t pos);
(Continue reading)

John Brown | 9 Mar 2007 19:19
Picon
Favicon

Re: svn 22490 on Windows - not declaredstream_fill_buffer, stre

Gianluigi Tiesi wrote:
>On Fri, Mar 09, 2007 at 01:05:35AM +0100, Thomas Plank wrote:
>>John Brown (johnbrown105 <at> hotmail.com) wrote:
>>
>>>I am using gcc-4.1.1 [Sherpya] on Windows XP. Latest svn (22490) does not 
>>>compile:
>>>/include                   -I/mingw/lib/live/groupsock/include
>>>-D__STDC_LIMIT_MA
>>>CROS   -c -o demux_rtp.o demux_rtp.cpp
>>I think that's a problem with live555.
>>Try to compile without enabling live555.
>>--
>I've posted a patch on devel-eng, it's attached also here
>
>Regards
>

--disable-live worked. The patch also worked. Thanks Gianluigi, Thomas.

_________________________________________________________________
Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month. 
Intro*Terms  
https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f6&disc=y&vers=743&s=4056&p=5117
John Brown | 15 Mar 2007 03:35
Picon
Favicon

No cache2 support in mingw32

Hello All,

When I run "mplayer -cache 8192 movie.avi", MPlayer displays "MPlayer was 
compiled without cache2 support" and quits.

In the configure script, I see:
if mingw32 ; then
  _stream_cache=no
  _def_stream_cache="#undef USE_STREAM_CACHE"
fi

What is this all about? It was not always like that. MPlayer 1.0pre7-3.4.2 
tells me:
Cache fill: 19.82% (1662976 bytes).

_________________________________________________________________
Get a FREE Web site, company branded e-mail and more from Microsoft Office 
Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/
Enzo | 15 Mar 2007 18:22

Re: MPlayer-cygwin Digest, Vol 51, Issue 4

Dear all,

after a few weeks, today I svn'ed the latest release and tried to compile it on my Win-XP laptop under cygwin.
There seems to be an undefined reference to _open_osfhandle (see below for the last few lines of the output
of make). How may I solve this?

Thanks in advance, greetings

Enzo

make[1]: Leaving directory `/home/Vincenz/trunk/osdep'
cc -o mplayer.exe mplayer.o m_property.o mp_msg.o mixer.o parser-mpcmd.o
subopt-helper.o command.o osdep/mplayer-rc.o asxparser.o codec-cfg.o
cpudetect.o edl.o find_sub.o m_config.o m_option.o m_struct.o mpcommon.o
parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o
vobsub.o unrarlib.o libvo/libvo.a libao2/libao2.a input/libinput.a
libmenu/libmenu.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 mp3lib/libMP3.a
liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a
tremor/libvorbisidec.a osdep/libosdep.a -lopengl32 -lgdi32 -lwinmm
-lwinmm  -liconv -lncurses -lpng -lz -L/usr/local/lib  -static -lm
-lstdc++ -lm /home/Vincenz/x264/libx264.a
/home/Vincenz/live2/live/BasicUsageEnvironment/libBasicUsageEnvironment.a
/home/Vincenz/live2/live/UsageEnvironment/libUsageEnvironment.a
/home/Vincenz/live2/live/groupsock/libgroupsock.a
/usr/X11R6/lib/libX11-6.dll.a /usr/local/lib/libdvdnav.dll.a
/usr/local/lib/xvidcore.a
/home/Vincenz/live2/live/liveMedia/libliveMedia.a
(Continue reading)

Xuebin Wu | 15 Mar 2007 20:43
Picon

Re: No cache2 support in mingw32

I think it is ok after I comment this area in the configure file and compile
mplayer.exe using MinGW again. I've used it for quite a long time and found
no problem with cache option on.

2007/3/15, mplayer-cygwin-request <at> mplayerhq.hu <
mplayer-cygwin-request <at> mplayerhq.hu>:
>
> Send MPlayer-cygwin mailing list submissions to
>        mplayer-cygwin <at> mplayerhq.hu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.mplayerhq.hu/mailman/listinfo/mplayer-cygwin
> or, via email, send a message with subject or body 'help' to
>        mplayer-cygwin-request <at> mplayerhq.hu
>
> You can reach the person managing the list at
>        mplayer-cygwin-owner <at> mplayerhq.hu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MPlayer-cygwin digest..."
>
>
> Today's Topics:
>
>   1. No cache2 support in mingw32 (John Brown)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
(Continue reading)

Thomas Plank | 17 Mar 2007 01:46
Picon
Picon

Re: svn 22490 on Windows - not declared stream_fill_buffer, stream_seek_long

Gianluigi Tiesi (mplayer <at> netfarm.it) wrote:

>> I think that's a problem with live555.
>> Try to compile without enabling live555.
>> -- 
> I've posted a patch on devel-eng, it's attached also here

Now I have trouble compiling mplayer.
I applied your patch, but now compilation fails here:

gcc  -I. -I.. -Wdeclaration-after-statement -O4 -march=pentium4 -mtune=pentium4
-pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=6
4 -D_LARGEFILE64_SOURCE -D__CYGWIN__ -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr
/local/include/freetype2 -I/usr/local/include   -c -o ass_font.o ass_font.c
ar r libass.a ass.o ass_cache.o ass_fontconfig.o ass_render.o ass_utils.o ass_mp
.o ass_bitmap.o ass_library.o ass_font.o
ar: creating libass.a
ranlib libass.a
make[1]: Leaving directory `/cygdrive/d/cdrtools/mplayer/mplayer/libass'
make -C osdep
make[1]: Entering directory `/cygdrive/d/cdrtools/mplayer/mplayer/osdep'
gcc  -I. -I.. -Wdeclaration-after-statement -O4 -march=pentium4 -mtune=pentium4
-pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=6
4 -D_LARGEFILE64_SOURCE -D__CYGWIN__ -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr
/local/include/freetype2 -I/usr/local/include   -c -o timer-win2.o timer-win2.c
gcc  -I. -I.. -Wdeclaration-after-statement -O4 -march=pentium4 -mtune=pentium4
-pipe -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=6
4 -D_LARGEFILE64_SOURCE -D__CYGWIN__ -I/cygdrive/d/cdrtools/mplayer/live/ -I/usr
/local/include/freetype2 -I/usr/local/include   -c -o getch2.o getch2.c
gcc  -I. -I.. -Wdeclaration-after-statement -O4 -march=pentium4 -mtune=pentium4
(Continue reading)

Gianluigi Tiesi | 17 Mar 2007 02:57
Picon
Favicon

Re: svn 22490 on Windows - not declared stream_fill_buffer, stream_seek_long

On Sat, Mar 17, 2007 at 01:46:23AM +0100, Thomas Plank wrote:
> Gianluigi Tiesi (mplayer <at> netfarm.it) wrote:
> 
> >> I think that's a problem with live555.
> >> Try to compile without enabling live555.
> >> -- 
> > I've posted a patch on devel-eng, it's attached also here
> 
> Now I have trouble compiling mplayer.
> I applied your patch, but now compilation fails here:
> 
I think it's related to the recent work in progress vcd support on
windows

Regards

--

-- 
Gianluigi Tiesi <sherpya <at> netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/
Asonganyi D. | 18 Mar 2007 15:46
Picon
Favicon

Re: svn 22490 on Windows - not declared stream_fill_buffer, stream_seek_long


--- Gianluigi Tiesi <mplayer <at> netfarm.it> wrote:
> I think it's related to the recent work in progress
> vcd support on
> windows
> 
> Regards
> 

The problem still persists with today's svn.
Is there no way to disable the vcd support on windows
other than editing the configure file?

A.D.

 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

Gmane