Yes, i tried doing 'make clean' and then 'make' again. But the same error exists... I tried different source file as told by ivanatora. I think the installation was success. how to check that actually? hmm... i checked in /usr/local/include. it had created a directory alpp and all the .h files are available there. so, that means the installation is fine right? but....
In the src directory there are some .cpp files. when i make and run them it says 'segmentation fault'
Also, when i compile the test programs it gives some error. I also checked if there are some errors in ./configure. it tells the following...
**********************************************
loading cache ./config.cache
checking for c++... (cached) g++
checking whether the C++ compiler (g++ ) works... yes
checking whether the C++ compiler (g++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached) g++ -E
checking how to run the C preprocessor... (cached) cc -E
checking whether ln -s works... (cached) yes
checking for main in -lopenal... (cached) yes
checking for main in -lccgnu... (cached) no
Excluding streaming and capture capabilities (CommonC++ 1.9 not found)
checking for ANSI C header files... (cached) yes
checking for working const... (cached) no
creating ./config.status
creating Makefile
creating src/Makefile
**********************************************************
it tells that CommonC++ 1.9 is not installed but my
#rpm -qa | grep CommonC++ shows
CommonC++-devel-1.9.5-33
CommonC++-1.9.5-33
and one of my test program error is like this...
___________________________________-
g++ testmic.cpp -o testmic
In file included from /usr/include/cc++/config.h:452,
from /usr/include/cc++/thread.h:49,
from ../include/streamupdater.h:28,
from ../include/stream.h:27,
from ../include/source.h:28,
from ../include/alpp.h:34,
from testmic.cpp:1:
/usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in userland program. BAD!
/tmp/ccGyeEzL.o(.text+0x19): In function `main':
: undefined reference to `openalpp::InputDevice::InputDevice[in-charge]()'
/tmp/ccGyeEzL.o(.text+0x32): In function `main':
: undefined reference to `openalpp::Source::Source[in-charge](openalpp::Stream const&, float, float, float)'
/tmp/ccGyeEzL.o(.text+0x41): In function `main':
: undefined reference to `openalpp::Source::Play()'
/tmp/ccGyeEzL.o(.text+0x75): In function `main':
: undefined reference to `openalpp::Source::~Source [in-charge]()'
/tmp/ccGyeEzL.o(.text+0x84): In function `main':
: undefined reference to `openalpp::InputDevice::~InputDevice [in-charge]()'
/tmp/ccGyeEzL.o(.text+0x9b): In function `main':
: undefined reference to `openalpp::Source::~Source [in-charge]()'
/tmp/ccGyeEzL.o(.text+0xb5): In function `main':
: undefined reference to `openalpp::InputDevice::~InputDevice [in-charge]()'
collect2: ld returned 1 exit status
make: *** [testmic] Error 1
____________________
it clearly takes the .h files from /usr/include/c++... then where is the error? can anyone help me?
thanks