Hi!
First of all i relay appreciate that you are willing to help. Very nice of you.
An second, here is the output if you have any idea what could be wrong:
**** Build of configuration gcc-debug for project voiptool ****
make MODE=debug CONFIGNAME=gcc-debug all
g++ -c -g -Wall -fno-stack-protector -DHAVE_PCAP -DXMLPARSER=libxml -DWITH_PARSIM -DWITH_NETBUILDER -I../../inet/src/networklayer/ipv4 -I../../inet/src/networklayer/common -I../../inet/src/networklayer/rsvp_te -I../../inet/src/networklayer/icmpv6 -I../../inet/src/transport/tcp -I../../inet/src/networklayer/mpls -I../../inet/src/base -I../../inet/src/networklayer/ted -I../../inet/src/util/headerserializers -I../../inet/src/networklayer/contract -I../../inet/src/util -I../../inet/src/transport/contract -I../../inet/src/linklayer/mfcore -I../../inet/src/transport/sctp -I../../inet/src/networklayer/ipv6 -I../../inet/src/world -I../../inet/src/applications/pingapp -I../../inet/src/linklayer/contract -I../../inet/src/networklayer/arp -I../../inet/src/networklayer/ldp -I../../inet/src/transport/udp -I../../inet/src/applications/udpapp -I. -I/home/jure/omnetpp-4.1/include -o ../out/gcc-debug/src/VoIPSourceApp.o VoIPSourceApp.cc
In file included from /usr/local/include/libavutil/avutil.h:96,
from /usr/local/include/libavcore/avcore.h:27,
from /usr/local/include/libavcore/samplefmt.h:22,
from /usr/local/include/libavcodec/avcodec.h:30,
from VoIPSourceApp.h:28,
from VoIPSourceApp.cc:19:
/usr/local/include/libavutil/common.h: In function ‘int32_t av_clipl_int32_c(int64_t)’:
/usr/local/include/libavutil/common.h:168: error: ‘UINT64_C’ was not declared in this scope
VoIPSourceApp.cc: In member function ‘virtual void VoIPSourceApp::openSoundFile(const char*)’:
VoIPSourceApp.cc:200: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc:200: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc:201: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc:201: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc:213: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc:213: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc:214: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc:214: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc: In member function ‘virtual VoIPPacket* VoIPSourceApp::generatePacket()’:
VoIPSourceApp.cc:223: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc:223: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc: In member function ‘virtual void VoIPSourceApp::readFrame()’:
VoIPSourceApp.cc:348: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc:348: warning: ‘int av_get_bits_per_sample_format(AVSampleFormat)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3828)
VoIPSourceApp.cc:387: warning: ‘int avcodec_decode_audio2(AVCodecContext*, int16_t*, int*, const uint8_t*, int)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3594)
VoIPSourceApp.cc:387: warning: ‘int avcodec_decode_audio2(AVCodecContext*, int16_t*, int*, const uint8_t*, int)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3594)
make: *** [../out/gcc-debug/src/VoIPSourceApp.o] Error 1