[Mplayer-users] memalign & FreeBSD

Christoph Lampert lampert at math.chalmers.se
Thu Aug 23 21:00:25 CEST 2001


>last CVS doesn't compile on FreeBSD :(
>
>dec_video.o: In function `init_video':
>dec_video.o(.text+0x190): undefined reference to `memalign'
>dec_video.o: In function `decode_video':
>dec_video.o(.text+0x544): undefined reference to `memalign'
>dec_video.o: In function `video_read_properties':
>dec_video.o(.text+0x9c1): undefined reference to `memalign'
>dll_init.o: In function `init_video_codec':
>dll_init.o(.text+0x8b9): undefined reference to `memalign'
>libmpeg2/libmpeg2.a(decode.o): In function
>`mpeg2_allocate_image_buffers':
>decode.o(.text+0x507): undefined reference to `memalign'
>gmake: *** [mplayer] Error 1

Didn't somebody ask about support for memalign support in BSD 
a few days ago and nobody shouted 'No'? Or was that on [ffmpeg] ?

Try adding a 

#define memalign(A,B)  malloc(B) 

somewhere, after all, there should be a 'malloc' even in BSD ;-) 

gruel

-- 
Dipl. math. Christoph Lampert (complex analysis, integral formulae)
Email: gruel at gmx.de                |     Email: lampert at math.chalmers.se


_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list