bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bayonne-devel] Compile error, ccaudio2-0.7.6 on SuSE 9.2, cstring, gsm.


From: Beng Tan
Subject: [Bayonne-devel] Compile error, ccaudio2-0.7.6 on SuSE 9.2, cstring, gsm.h, proto.h
Date: Thu, 21 Jul 2005 15:44:37 +1000

Hi,

Tried compiling bayonne on vanilla SuSE 9.2. I was able to compile and install commoncpp2-1.3.14. I was able to run configure on ccaudio2-0.7.6 without any apparent errors. When I do a make, I get the following error:

make[2]: Leaving directory `/home/beng/bayonne/ccaudio2-0.7.6/src'
Making all in gsm
make[2]: Entering directory `/home/beng/bayonne/ccaudio2-0.7.6/gsm'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c add.c
In file included from add.c:16:
../private.h:137: error: parse error before "ccAudio_Mutex_"
../private.h:138: error: syntax error before '{' token
../private.h:149: error: parse error before '}' token
In file included from add.c:16:
../private.h:198:19: cstring: No such file or directory
add.c:17:24: gsm.h: No such file or directory
add.c:18:26: proto.h: No such file or directory
add.c:23: error: parse error before "gsm_add"

(Larger excerpt below)

I believe I'm missing files gsm.h and proto.h from elsewhere. I did some research, and found libgsm which provides gsm.h (but hasn't installed it yet). Any idea on what provides proto.h? Plus, are there are any other mandatory packages required to build ccaudio2? I think pkg_config was also needed (which I subsequently installed).

And if it's a short answer, any ideas on the include <cstring> failure?

Just a few pointers so I know where to start looking will be fine. I don't need a full blown bulletproof answer (though you are welcome to provide that if you wish).


Thanks,
Beng Tan

address@hidden



g++ -shared -nostdlib /usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../crti.o /usr/lib/gcc-lib/i586-suse-linux/3.3.4/crtbeginS.o  .libs/audiofile.o .libs/friends.o .libs/codec.o .libs/tone.o .libs/fileio.o .libs/buffer.o .libs/stream.o .libs/oss.o .libs/w32.o .libs/osx.o .libs/mapper.o .libs/dialers.o .libs/teltones.o .libs/detect.o .libs/audiobase.o  -pthread -ldl -lpthread -L/usr/lib/gcc-lib/i586-suse-linux/3.3.4 -L/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/lib -L/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../.. /usr/lib/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc-lib/i586-suse-linux/3.3.4/crtendS.o /usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../crtn.o  -Wl,-soname -Wl,libccaudio2-0.7.so.0 -o .libs/libccaudio2-0.7.so.0.0.6
(cd .libs && rm -f libccaudio2-0.7.so.0 && ln -s libccaudio2-0.7.so.0.0.6 libccaudio2-0.7.so.0)
(cd .libs && rm -f libccaudio2.so && ln -s libccaudio2-0.7.so.0.0.6 libccaudio2.so)
ar cru .libs/libccaudio2.a  audiofile.o friends.o codec.o tone.o fileio.o buffer.o stream.o oss.o w32.o osx.o mapper.o dialers.o teltones.o detect.o audiobase.o
ranlib .libs/libccaudio2.a
creating libccaudio2.la
(cd .libs && rm -f libccaudio2.la && ln -s ../libccaudio2.la libccaudio2.la)
make[2]: Leaving directory `/home/beng/bayonne/ccaudio2-0.7.6/src'
Making all in gsm
make[2]: Entering directory `/home/beng/bayonne/ccaudio2-0.7.6/gsm'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c add.c
In file included from add.c:16:
../private.h:137: error: parse error before "ccAudio_Mutex_"
../private.h:138: error: syntax error before '{' token
../private.h:149: error: parse error before '}' token
In file included from add.c:16:
../private.h:198:19: cstring: No such file or directory
add.c:17:24: gsm.h: No such file or directory
add.c:18:26: proto.h: No such file or directory
add.c:23: error: parse error before "gsm_add"
add.c:23: error: parse error before "a"
add.c:29: error: parse error before "a"
add.c:35: error: parse error before "a"
add.c:41: error: parse error before "a"
add.c:51: error: parse error before "a"
add.c:56: error: parse error before "a"
add.c:62: error: parse error before "a"
add.c:78: error: parse error before "a"
add.c:117: error: parse error before "gsm_norm"
add.c:117: error: parse error before "a"
add.c:141: error: initializer element is not constant
add.c:141: warning: data definition has no type or storage class
add.c:142: error: parse error before '}' token
add.c:153: error: parse error before "a"
add.c:161: error: parse error before "a"
add.c:169: error: parse error before "a"
add.c:183: error: parse error before "a"
add.c:206: error: parse error before "num"
add.c:209: error: `denum' undeclared here (not in a function)
add.c:209: warning: data definition has no type or storage class
add.c:210: error: parse error before "div"
add.c:210: warning: data definition has no type or storage class
add.c:220: error: parse error before "void"
make[2]: *** [add.o] Error 1
make[2]: Leaving directory `/home/beng/bayonne/ccaudio2-0.7.6/gsm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/beng/bayonne/ccaudio2-0.7.6'
make: *** [all-recursive-am] Error 2
address@hidden:~/bayonne/ccaudio2-0.7.6>                         





reply via email to

[Prev in Thread] Current Thread [Next in Thread]