Hello,

Michael Riepe wrote:
> Hi!
>
> Claus Buchberger wrote:
>
>   
>> After installing the liba52 into /usr/local/lib I tried an autoconf and 
>> ./configure.
>> The configure script keeps complaining
>>
>> checking for a52_init in -la52... no
>> configure: error: Did not find required a52 library
>>
>> Can you give me an hint what I can do to compile dvbcut.
>>     
>
> The compiler/linker probably doesn't look for libraries in
> /usr/local/lib. You can fix that by using a command like
>
>       LDFLAGS='-L/path/to/lib' ./configure
>
> If that doesn't work either, I need to have a look at your config.log file.
>
>   

in config.log is the resolution:
configure:3705: gcc -o conftest -g -O2  
-L/home/download/dvbcut/dvbcut/ffmpeg/lib  conftest.c -la52   -lmad >&5
/usr/local/lib/liba52.a(imdct.o): In function `a52_imdct_init':
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:372: 
undefined reference to `sqrt'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:372: 
undefined reference to `sqrt'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:375: 
undefined reference to `cos'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:375: 
undefined reference to `cos'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:378: 
undefined reference to `cos'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:378: 
undefined reference to `cos'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:381: 
undefined reference to `cos'
/usr/local/lib/liba52.a(imdct.o):/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:381:
 
more undefined references to `cos' follow
/usr/local/lib/liba52.a(imdct.o): In function `a52_imdct_init':
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:389: 
undefined reference to `sin'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:394: 
undefined reference to `cos'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:395: 
undefined reference to `sin'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:399: 
undefined reference to `cos'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:400: 
undefined reference to `sin'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:399: 
undefined reference to `cos'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:400: 
undefined reference to `sin'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:405: 
undefined reference to `cos'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:406: 
undefined reference to `sin'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:410: 
undefined reference to `cos'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:411: 
undefined reference to `sin'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:410: 
undefined reference to `cos'
/home/download/dvbcut/liba52/a52dec-0.7.5-cvs/liba52/imdct.c:411: 
undefined reference to `sin'
collect2: ld returned 1 exit status
configure:3711: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIB_MAD 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char a52_init ();
| int
| main ()
| {
| return a52_init ();
|   ;
|   return 0;
| }
configure:3729: result: no
configure:3739: error: Did not find required a52 library
 


Is it a bug in the configure script or do I need the the previous 
version of liba52?

Claus

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
DVBCUT-devel mailing list
DVBCUT-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-devel

Reply via email to