I ran into this problem too.  As a workaround, I symlinked
plugins/libmp3lamebin_audioenc to include/lame, which allowed the compile
to proceed.

On Tue, Apr 16, 2002 at 02:54:37PM +0400, Patrakov wrote:
> Hi,
> 
> I have recently downloaded avifile0.7-20020405 and tried to 
> compile it. I have RedHat 7.2, and that buggy gcc 2.96, and, 
> more importantly, Qt 3.0.4 / KDE 3.0 final. Avifile0.6 
> recompiles without problems and works. (Yes, I had to 
> recompile it after the upgrade of KDE and Qt.)
> 
> The problem is compile-time:
> in the file
> 
> avifile0.7-
> 20020405/plugins/libffmpeg/libavcodec/mp3lameaudio.c 
> 
> there is a line #include <lame/lame.h>, but the file is not 
> found. There are two lame.h files in the archive. I made a 
> symlink to lame3.70 directory for that file to be found, 
> because I want to rebuild with lame 3.70, and not with 
> lamebin.
> 
> The function lame_init() is called without arguments in the 
> above mentioned source file. However, it is declared as
> 
> void lame_init(lame_global_flags *);
> 
> in lame3.70 headers and there is no void lame_init() there. 
> A bug?
> 
> However, the lame.h file from lamebin declares the function 
> as follows (it is newer):
> 
> /* That is what we need - A.P. */
> lame_global_flags * CDECL lame_init(void); 
> /* obsolete version */
> int CDECL lame_init_old(lame_global_flags *);
> 
> I have not tried to use this file because I have chosen to 
> build with lame 3.70 (suppose I have no other versions) and 
> not with lamebin which relies upon some lame version being 
> found as a shared library.
> 
> So, I want the following things to be done:
> 1) Fix the "lame.h not found" error.
> 2) Make two lame.h files consistent with each other.
> 
> Also, I have a question:
> 
> Is it possible to rebuild the avifile library in such a way 
> that it does not depend upon divx4linux and uses only win32 
> codecs for DivX?
> 
> Please notify me by mailing to [EMAIL PROTECTED] if it is not 
> a bug but I have done something wrong. Or just send a 
> confirmation.
> 
> Alexander Patrakov.
> 
> __________
> www.newmail.ru -- ���� ��������� ������������.
> 
> _______________________________________________
> Avifile mailing list
> [EMAIL PROTECTED]
> http://prak.org/mailman/listinfo/avifile

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to