Hello there,
Trying to compile Audacity 1.3.8 on Slackware with gcc 4.3.3:
make[3]: Entering directory `/tmp/slackpack/audacity-1.3.8/audacity-1.3.8/lib-src/twolame/libtwolame'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../build -I ../build/ -O2 -march=i686 -mtune=i686 -std=c99 -Wunused -Wall -g -Werror -pedantic -MT crc.lo -MD -MP -MF .deps/crc.Tpo -c -o crc.lo crc.c
gcc -DHAVE_CONFIG_H -I. -I../build -I ../build/ -O2 -march=i686 -mtune=i686 -std=c99 -Wunused -Wall -g -Werror -pedantic -MT crc.lo -MD -MP -MF .deps/crc.Tpo -c crc.c -fPIC -DPIC -o .libs/crc.o
cc1: warnings being treated as errors
bitbuffer.h:47: error: inline function 'buffer_sstell' declared but never defined
bitbuffer.h:46: error: inline function 'buffer_putbits' declared but never defined
bitbuffer.h:45: error: inline function 'buffer_put1bit' declared but never defined
make[3]: *** [crc.lo] Error 1
make[3]: Leaving directory `/tmp/slackpack/audacity-1.3.8/audacity-1.3.8/lib-src/twolame/libtwolame'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/slackpack/audacity-1.3.8/audacity-1.3.8/lib-src/twolame'
make[1]: *** [libtwolame-recursive] Error 2
make[1]: Leaving directory `/tmp/slackpack/audacity-1.3.8/audacity-1.3.8/lib-src'
make: *** [audacity] Error 2
Any idea?
Thanks,
tadi
Compillation error (Fixed)
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
Re: Compillation error
Fixed!!!
After some time spent I managed to fix that compilation error. Here is the patch I did:
--- lib-src/twolame/libtwolame/common.h 2009-07-16 06:27:35.000000000 +0300
+++ lib-src/twolame/libtwolame/common.h 2009-07-25 13:52:57.412328582 +0300
@@ -41,7 +41,7 @@
* extern inline. This fix appears earlier in Apple GCC than in main-line GCC
*/
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
-#define NO_DLL_INLINE extern inline
+#define NO_DLL_INLINE extern
#elif (__APPLE_CC__ >= 5465)
#define NO_DLL_INLINE extern inline
# else
After some time spent I managed to fix that compilation error. Here is the patch I did:
--- lib-src/twolame/libtwolame/common.h 2009-07-16 06:27:35.000000000 +0300
+++ lib-src/twolame/libtwolame/common.h 2009-07-25 13:52:57.412328582 +0300
@@ -41,7 +41,7 @@
* extern inline. This fix appears earlier in Apple GCC than in main-line GCC
*/
#if (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))
-#define NO_DLL_INLINE extern inline
+#define NO_DLL_INLINE extern
#elif (__APPLE_CC__ >= 5465)
#define NO_DLL_INLINE extern inline
# else