[MPlayer-dev-eng] Recent CVS versions don't compile under FreeBSD.

pl p_l at gmx.fr
Fri Nov 9 03:15:38 CET 2001


On Fri, Nov 09, 2001 at 02:10:12AM +0100, Felix Buenemann wrote:
[...]
> > MPlayer as of late doesn't compile here (FreeBSD, perhaps other BSD's?)
> > because of memalign(). It silently suggests this function is present (in
> > libmpdemux/video.c
> > dll_init.c
> > postproc/postprocess.c
> > libmpeg2/decode.c
> > dec_video.c
> > and what's funny it's #ifdef'ed in libvo/vo_vesa.c which doesn't work yet
> > under anything but Linux :-). A pity we haven't got this function but...
> > When replaced by malloc() everything compiles/runs nice.
> >
> hmm, please chek if including main/config.h in those files helps, I added 
> remapping to malloc there if memlaing not supported, but many files seem to 
> ignore it (means don't use config.h).
> 
> If it works create patch and mail it.
[...]

I've applied what could be fixes (I hope).
As usual, test && complain :)

--
Regards,
  pl




More information about the MPlayer-dev-eng mailing list