[MPlayer-dev-eng] libmp1e bugreport

Bohdan Horst nexus at hoth.amu.edu.pl
Sat Dec 8 15:55:24 CET 2001


On Sat, Dec 08, 2001 at 03:17:04PM +0100, David Holm wrote:

> Bohdan Horst wrote:
> 
> >On Fri, Dec 07, 2001 at 03:41:18PM +0100, David Holm wrote:
> >
> >>can you checkout a clean cvs (perhaps to another dir if you want to 
> >>preserve your current version) and try to compile that?
> >>
> >
> >I always do that ..
> >
> >copy_mplayer:
> >rm -r /home/src/main
> >cp -Rp main /home/src
> >
> >best regards
> >
> 
> Ok, what errormsg do you get now?

depend:

In file included from audio/../common/alloc.h:31,
                 from audio/fft.c:27:
/usr/include/malloc.h:2: warning: #warning "this file includes
<malloc.h> which is depreca
ted, use <stdlib.h> instead"
In file included from audio/filter.c:26:
audio/audio.h:22: warning: No include path in which to find stdint.h
In file included from audio/../common/alloc.h:31,
                 from audio/mp2.c:30:
/usr/include/malloc.h:2: warning: #warning "this file includes
<malloc.h> which is depreca
ted, use <stdlib.h> instead"
In file included from audio/mp2.c:31:
audio/audio.h:22: warning: No include path in which to find stdint.h
In file included from audio/psycho.c:28:
audio/audio.h:22: warning: No include path in which to find stdint.h
In file included from common/alloc.h:31,
                 from common/fifo.c:32:
/usr/include/malloc.h:2: warning: #warning "this file includes
<malloc.h> which is depreca
ted, use <stdlib.h> instead"
In file included from video/../common/alloc.h:31,
                 from video/mpeg1.c:40:
/usr/include/malloc.h:2: warning: #warning "this file includes
<malloc.h> which is depreca
ted, use <stdlib.h> instead"
global_data.c:29: warning: No include path in which to find getopt.h
global_data.c:34: warning: No include path in which to find asm/types.h
global_data.c:35: warning: No include path in which to find
linux/soundcard.h


compile:

In file included from audio/../common/alloc.h:31,
                 from audio/fft.c:27:
/usr/include/malloc.h:2: warning: #warning "this file includes
<malloc.h> which is depreca
ted, use <stdlib.h> instead"
In file included from audio/filter.c:26:
audio/audio.h:22: stdint.h: No such file or directory
gmake[1]: *** [audio/filter.o] Error 1


> And if I use this #ifdef HAVE_MALLOC_H you mentioned. What will happen 
> to any malloc:s in the source?  (I have little freebsd programming 
> experience)

FreeBSD malloc.h:
---
#if __GNUC__
#warning "this file includes <malloc.h> which is deprecated, use
<stdlib.h> instead"
#endif
#include <stdlib.h>
---

best regards

-- 
 / irl:Bohdan 'Nexus' Horst | mailto:nexus at irc.pl | irc:Nexus \
{---------------------------^----------v----------^------------}
 \ http://www.physd.amu.edu.pl/~nexus/ | Instytut Fizyki  UAM /



More information about the MPlayer-dev-eng mailing list