[MPlayer-dev-eng] libmp1e bugreport

Bohdan Horst nexus at hoth.amu.edu.pl
Sat Dec 8 18:01:27 CET 2001


On Sat, Dec 08, 2001 at 05:44:54PM +0100, David Holm wrote:

> Bohdan Horst wrote:
> 
> >On Sat, Dec 08, 2001 at 04:44:08PM +0100, David Holm wrote:
> >
> >>Ok, try now...
> >>perhaps I should install freebsd in vmware or something ;)
> >>
> >>Bohdan Horst wrote:
> >>
> >>>On Sat, Dec 08, 2001 at 04:28:03PM +0100, David Holm wrote:
> >>>
> >>>>Ok, I commited some more fixes, could you try again?
> >>>>I haven't changed the malloc.h stuff yet. I'm working on a new lib to 
> >>>>replace libmp1e (hopefully). So I don't want to spend more time than 
> >>>>needed to make libmp1e compile on the used platforms right now...
> >>>>
> >>>common/alloc.c:32: syntax error before `bool'
> >>>common/alloc.c: In function `alloc_aligned':
> >>>common/alloc.c:36: `align' undeclared (first use in this function)
> >>>common/alloc.c:36: (Each undeclared identifier is reported only once
> >>>common/alloc.c:36: for each function it appears in.)
> >>>common/alloc.c:39: `size' undeclared (first use in this function)
> >>>common/alloc.c:46: `clear' undeclared (first use in this function)
> >>>gmake[1]: *** [common/alloc.o] Error 1
> >>>
> >
> >common/alloc.c:33: syntax error before `bool'
> >common/alloc.c: In function `alloc_aligned':
> >common/alloc.c:37: `align' undeclared (first use in this function)
> >common/alloc.c:37: (Each undeclared identifier is reported only once
> >common/alloc.c:37: for each function it appears in.)
> >common/alloc.c:40: `size' undeclared (first use in this function)
> >common/alloc.c:47: `clear' undeclared (first use in this function)
> >gmake[1]: *** [common/alloc.o] Error 1
> >
> >
> The only thing that comes to my mind is that size_t isn't defined in 
> unistd.h as it is in linux. I uploaded yet another patch to the cvs 
> where I replaced it with off_t, could you try that one out as well, and 
> if that doesn't do it I'll have to call in help from someone with more 
> BSD knowledge than me.
> 

doesn't help :(

compile after:

#ifndef HAVE_MEMALIGN
#ifndef __FreeBSD__
...
#endif
#endif // !HAVE_MEMALIGN


-- 
 / 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