ccrtp-devel
[Top][All Lists]
Advanced

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

Re: [Ccrtp-devel] ccrtp-1.5.0 and Solaris 10 x86 errors


From: Aaron Wilson
Subject: Re: [Ccrtp-devel] ccrtp-1.5.0 and Solaris 10 x86 errors
Date: Wed, 08 Nov 2006 10:20:22 -0800
User-agent: Thunderbird 1.5.0.7 (X11/20060915)

I wasn't sure what to do to correct the include path so I rebuilt Common C++ and put it in /usr instead of /usr/local

That correct the previous error, but now I get an entirely new error and I am not sure what to do to correct it.

incqueue.cpp:692: error: 'timersub' was not declared in this scope
gmake[3]: *** [incqueue.lo] Error 1
gmake[3]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src'
gmake: *** [all-recursive] Error 1

Here is the entire output of configure and make:

-bash-3.00# ./configure --prefix=/usr
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for a sed that does not truncate output... /opt/csw/bin/gsed
checking for egrep... egrep
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... yes
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /opt/csw/i386-pc-solaris2.8/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 262144
checking command to parse /opt/csw/i386-pc-solaris2.8/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /opt/csw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking dependency style of g++... none
checking for gcry_cipher_open in -lgcrypt... yes
checking for ranlib... (cached) ranlib
checking for genorated automake files... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for pkg-config... /opt/csw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for COMMON... yes
checking for debugging... no
checking for profiling... no
checking gcrypt.h usability... yes
checking gcrypt.h presence... yes
checking for gcrypt.h... yes
checking for doxygen... /opt/csw/bin/doxygen
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/ccrtp/Makefile
config.status: creating m4/Makefile
config.status: creating doc/Makefile
config.status: creating demo/Makefile
config.status: creating phone/Makefile
config.status: creating w32/Makefile
config.status: creating ccrtp.spec
config.status: creating ccrtp.list
config.status: creating libccrtp1.pc
config.status: creating src/ccrtp/crypto/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
-bash-3.00# gmake
Making all in src
gmake[1]: Entering directory `/usr/share/src/ccrtp-1.5.0/src'
gmake  all-recursive
gmake[2]: Entering directory `/usr/share/src/ccrtp-1.5.0/src'
Making all in ccrtp
gmake[3]: Entering directory `/usr/share/src/ccrtp-1.5.0/src/ccrtp'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src/ccrtp'
Making all in ccrtp/crypto
gmake[3]: Entering directory `/usr/share/src/ccrtp-1.5.0/src/ccrtp/crypto'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src/ccrtp/crypto'
gmake[3]: Entering directory `/usr/share/src/ccrtp-1.5.0/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c -o rtppkt.lo rtppkt.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c rtppkt.cpp -fPIC -DPIC -o .libs/rtppkt.o g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c rtppkt.cpp -o rtppkt.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c -o rtcppkt.lo rtcppkt.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c rtcppkt.cpp -fPIC -DPIC -o .libs/rtcppkt.o g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c rtcppkt.cpp -o rtcppkt.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c -o source.lo source.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c source.cpp -fPIC -DPIC -o .libs/source.o g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c source.cpp -o source.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c -o data.lo data.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c data.cpp -fPIC -DPIC -o .libs/data.o g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c data.cpp -o data.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c -o incqueue.lo incqueue.cpp g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE -I/usr/include/cc++2 -c incqueue.cpp -fPIC -DPIC -o .libs/incqueue.o incqueue.cpp: In member function 'bool ost::IncomingDataQueue::recordReception(ost::MembershipBookkeeping::SyncSourceLink&, const ost::IncomingRTPPkt&, timeval)':
incqueue.cpp:692: error: 'timersub' was not declared in this scope
gmake[3]: *** [incqueue.lo] Error 1
gmake[3]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src'
gmake: *** [all-recursive] Error 1
-bash-3.00#

David Sugar wrote:
Is it possible the include directory that Common C++ headers were installed into are not part of a standard include path? Normally common c++ does not export a -I... flag in it's .pc file unless a non-standard include path is used.

Aaron Wilson wrote:
I'm trying to compile and install ccrtp on Solaris 10. The configure
seems to work fine but it errors almost immediately when trying to
perform make.

Here is the output of configure and make

-bash-3.00# ./configure
checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for a sed that does not truncate output... /opt/csw/bin/gsed
checking for egrep... egrep
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... yes
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /opt/csw/i386-pc-solaris2.8/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 262144
checking command to parse /opt/csw/i386-pc-solaris2.8/bin/nm -B output
from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... solaris2.10 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for a BSD-compatible install... /opt/csw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking dependency style of g++... none
checking for gcry_cipher_open in -lgcrypt... yes
checking for ranlib... (cached) ranlib
checking for genorated automake files... found
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for pkg-config... /opt/csw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for COMMON... yes
checking for debugging... no
checking for profiling... no
checking gcrypt.h usability... yes
checking gcrypt.h presence... yes
checking for gcrypt.h... yes
checking for doxygen... /opt/csw/bin/doxygen
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/ccrtp/Makefile
config.status: creating m4/Makefile
config.status: creating doc/Makefile
config.status: creating demo/Makefile
config.status: creating phone/Makefile
config.status: creating w32/Makefile
config.status: creating ccrtp.spec
config.status: creating ccrtp.list
config.status: creating libccrtp1.pc
config.status: creating src/ccrtp/crypto/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
-bash-3.00#


-bash-3.00# gmake
Making all in src
gmake[1]: Entering directory `/usr/share/src/ccrtp-1.5.0/src'
gmake  all-recursive
gmake[2]: Entering directory `/usr/share/src/ccrtp-1.5.0/src'
Making all in ccrtp
gmake[3]: Entering directory `/usr/share/src/ccrtp-1.5.0/src/ccrtp'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src/ccrtp'
Making all in ccrtp/crypto
gmake[3]: Entering directory
`/usr/share/src/ccrtp-1.5.0/src/ccrtp/crypto'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory
`/usr/share/src/ccrtp-1.5.0/src/ccrtp/crypto'
gmake[3]: Entering directory `/usr/share/src/ccrtp-1.5.0/src'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I.  -Wall -ansi -pedantic -g -O2 -D_REENTRANT -D_GNU_SOURCE
-I/usr/local/include/cc++2   -c -o rtppkt.lo rtppkt.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2
-D_REENTRANT -D_GNU_SOURCE -I/usr/local/include/cc++2 -c rtppkt.cpp -fPIC -DPIC -o .libs/rtppkt.oIn file included from rtppkt.cpp:44:
private.h:88:25: error: cc++/config.h: No such file or directory
private.h:89:25: error: cc++/thread.h: No such file or directory
private.h:90:25: error: cc++/socket.h: No such file or directory
private.h:91:26: error: cc++/process.h: No such file or directory
private.h:92:25: error: cc++/export.h: No such file or directory
private.h:143: error: 'uint32' does not name a type
private.h:145: error: 'uint32' does not name a type
private.h:146: error: 'uint16' does not name a type
./ccrtp/base.h:66: error: 'uint8' does not name a type
./ccrtp/base.h:69: error: 'uint32' does not name a type
./ccrtp/base.h:72: error: 'uint32' does not name a type
./ccrtp/base.h:81: error: '__EXPORT' does not name a type
./ccrtp/base.h:91: error: 'microtimeout_t' does not name a type
./ccrtp/base.h:103: error: 'microtimeout_t' does not name a type
./ccrtp/base.h:111: error: 'tpport_t' does not name a type
./ccrtp/base.h:114: error: 'tpport_t' does not name a type
./ccrtp/formats.h:65: error: 'uint8' does not name a type
./ccrtp/formats.h:68: error: 'PayloadType' does not name a type
./ccrtp/formats.h:132: error: invalid function declaration
./ccrtp/formats.h:189: error: extra ';'
./ccrtp/formats.h:203: error: invalid function declaration
./ccrtp/formats.h:224: error: extra ';'
./ccrtp/formats.h:237: error: invalid function declaration
./ccrtp/formats.h:248: error: extra ';'
./ccrtp/CryptoContext.h:72: error: invalid function declaration
./ccrtp/CryptoContext.h:384: error: extra ';'
./ccrtp/rtppkt.h:75: error: invalid function declaration
./ccrtp/rtppkt.h:485: error: extra ';'
./ccrtp/rtppkt.h:497: error: invalid function declaration
./ccrtp/rtppkt.h:685: error: extra ';'
./ccrtp/rtppkt.h:699: error: invalid function declaration
./ccrtp/rtppkt.h:809: error: extra ';'
rtppkt.cpp:53: error: 'uint32' does not name a type
rtppkt.cpp:56: error: 'uint32' does not name a type
rtppkt.cpp:88: error: extra ';'
rtppkt.cpp:90: error: 'StaticPayloadFormat' has not been declared
rtppkt.cpp:90: error: ISO C++ forbids declaration of
'StaticPayloadFormat' with no type
rtppkt.cpp: In function 'int StaticPayloadFormat(StaticPayloadType)':
rtppkt.cpp:92: error: 'setPayloadType' was not declared in this scope
rtppkt.cpp:95: error: 'staticAudioTypesRates' was not declared in this
scope
rtppkt.cpp:95: error: 'setRTPClockRate' was not declared in this scope
rtppkt.cpp:98: error: 'setRTPClockRate' was not declared in this scope
rtppkt.cpp: At global scope:
rtppkt.cpp:102: error: 'DynamicPayloadFormat' has not been declared
rtppkt.cpp:102: error: expected constructor, destructor, or type
conversion before '(' token
rtppkt.cpp:109: error: 'size_t' has not been declared
rtppkt.cpp:110: error: invalid use of undefined type 'struct RTPPacket'
./ccrtp/CryptoContext.h:42: error: forward declaration of 'struct
RTPPacket'
rtppkt.cpp: In constructor 'RTPPacket::RTPPacket(const unsigned char*,
int, bool)':
rtppkt.cpp:111: error: class 'RTPPacket' does not have any field named
'total'
rtppkt.cpp:111: error: 'uint32' was not declared in this scope
rtppkt.cpp:112: error: class 'RTPPacket' does not have any field named
'duplicated'
rtppkt.cpp:115: error: expected initializer before '*' token
rtppkt.cpp:117: error: 'hdrSize' was not declared in this scope
rtppkt.cpp:117: error: 'RTPFixedHeader' was not declared in this scope
rtppkt.cpp:117: error: 'header' was not declared in this scope
rtppkt.cpp:119: error: 'RTPHeaderExt' was not declared in this scope
rtppkt.cpp:119: error: 'ext' was not declared in this scope
rtppkt.cpp:119: error: expected primary-expression before ')' token
rtppkt.cpp:120: error: 'ntohs' was not declared in this scope
rtppkt.cpp:124: error: 'payloadSize' was not declared in this scope
rtppkt.cpp:127: error: 'buffer' was not declared in this scope
rtppkt.cpp:128: error: 'setbuffer' was not declared in this scope
rtppkt.cpp:130: error: 'buffer' was not declared in this scope
rtppkt.cpp: At global scope:
rtppkt.cpp:135: error: expected constructor, destructor, or type
conversion before '(' token
rtppkt.cpp:173: error: invalid use of undefined type 'struct RTPPacket'
./ccrtp/CryptoContext.h:42: error: forward declaration of 'struct
RTPPacket'
rtppkt.cpp: In member function 'void RTPPacket::endPacket()':
rtppkt.cpp:178: error: 'buffer' was not declared in this scope
rtppkt.cpp: At global scope:
rtppkt.cpp:184: error: 'OutgoingRTPPkt' has not been declared
rtppkt.cpp:185: error: expected ',' or '...' before '*' token
rtppkt.cpp:188: error: ISO C++ forbids declaration of 'OutgoingRTPPkt'
with no type
rtppkt.cpp:188: error: ISO C++ forbids declaration of 'uint32' with no
type
rtppkt.cpp: In function 'int OutgoingRTPPkt(int)':
rtppkt.cpp:188: error: only constructors take base initializers
rtppkt.cpp:189: error: 'getSizeOfFixedHeader' was not declared in this
scope
rtppkt.cpp:189: error: 'numcsrc' was not declared in this scope
rtppkt.cpp:190: error: 'hdrextlen' was not declared in this scope
rtppkt.cpp:190: error: 'datalen' was not declared in this scope
rtppkt.cpp:190: error: 'paddinglen' was not declared in this scope
rtppkt.cpp:190: error: 'pcc' was not declared in this scope
rtppkt.cpp:192: error: expected `;' before 'pointer'
rtppkt.cpp:192: warning: statement has no effect
rtppkt.cpp:194: error: 'csrcs' was not declared in this scope
rtppkt.cpp:194: error: 'setCSRCArray' was not declared in this scope
rtppkt.cpp:195: error: 'pointer' was not declared in this scope
rtppkt.cpp:198: error: 'hdrext' was not declared in this scope
rtppkt.cpp:198: error: 'setbuffer' was not declared in this scope
rtppkt.cpp:199: error: 'setExtension' was not declared in this scope
rtppkt.cpp:203: error: 'data' was not declared in this scope
rtppkt.cpp:204: error: 'zrtpChecksumLength' was not declared in this
scope
rtppkt.cpp: At global scope:
rtppkt.cpp:207: error: 'OutgoingRTPPkt' is not a class or namespace
rtppkt.cpp:208: error: expected ',' or '...' before '*' token
rtppkt.cpp:210: error: ISO C++ forbids declaration of 'OutgoingRTPPkt'
with no type
rtppkt.cpp:210: error: ISO C++ forbids declaration of 'uint32' with no
type
rtppkt.cpp: In function 'int OutgoingRTPPkt(int)':
rtppkt.cpp:210: error: redefinition of 'int OutgoingRTPPkt(int)'
rtppkt.cpp:188: error: 'int OutgoingRTPPkt(int)' previously defined here
rtppkt.cpp:210: error: only constructors take base initializers
rtppkt.cpp:211: error: 'getSizeOfFixedHeader' was not declared in this
scope
rtppkt.cpp:211: error: 'numcsrc' was not declared in this scope
rtppkt.cpp:211: error: 'datalen' was not declared in this scope
rtppkt.cpp:212: error: 'paddinglen' was not declared in this scope
rtppkt.cpp:212: error: 'pcc' was not declared in this scope
rtppkt.cpp:214: error: expected `;' before 'pointer'
rtppkt.cpp:214: warning: statement has no effect
rtppkt.cpp:216: error: 'csrcs' was not declared in this scope
rtppkt.cpp:216: error: 'setCSRCArray' was not declared in this scope
rtppkt.cpp:217: error: 'pointer' was not declared in this scope
rtppkt.cpp:224: error: 'data' was not declared in this scope
rtppkt.cpp:224: error: 'setbuffer' was not declared in this scope
rtppkt.cpp:225: error: 'zrtpChecksumLength' was not declared in this
scope
rtppkt.cpp: At global scope:
rtppkt.cpp:228: error: 'OutgoingRTPPkt' is not a class or namespace
rtppkt.cpp:228: error: 'size_t' has not been declared
rtppkt.cpp:229: error: 'uint8' has not been declared
rtppkt.cpp:229: error: ISO C++ forbids declaration of 'OutgoingRTPPkt'
with no type
rtppkt.cpp: In function 'int OutgoingRTPPkt(const unsigned char*, int,
int, CryptoContext*)':
rtppkt.cpp:229: error: only constructors take base initializers
rtppkt.cpp:230: error: 'getSizeOfFixedHeader' was not declared in this
scope
rtppkt.cpp:237: error: 'setbuffer' was not declared in this scope
rtppkt.cpp:238: error: 'zrtpChecksumLength' was not declared in this
scope
rtppkt.cpp: At global scope:
rtppkt.cpp:242: error: 'OutgoingRTPPkt' is not a class or namespace
rtppkt.cpp:242: error: expected ',' or '...' before '*' token
rtppkt.cpp:242: error: ISO C++ forbids declaration of 'uint32' with no
type
rtppkt.cpp: In function 'void setCSRCArray(int)':
rtppkt.cpp:244: error: 'csrcs' was not declared in this scope
rtppkt.cpp:244: error: 'numcsrc' was not declared in this scope
rtppkt.cpp:244: error: 'getSizeOfFixedHeader' was not declared in this
scope
rtppkt.cpp:244: error: 'setbuffer' was not declared in this scope
rtppkt.cpp:245: error: 'csrc' was not declared in this scope
rtppkt.cpp:245: error: expected type-specifier before 'uint32'
rtppkt.cpp:245: error: expected `>' before 'uint32'
rtppkt.cpp:245: error: expected `(' before 'uint32'
rtppkt.cpp:245: error: expected primary-expression before '>' token
rtppkt.cpp:245: error: 'getCSRCs' was not declared in this scope
rtppkt.cpp:245: error: expected `)' before ';' token
rtppkt.cpp:247: error: 'htonl' was not declared in this scope
rtppkt.cpp:248: error: 'getHeader' was not declared in this scope
rtppkt.cpp: At global scope:
rtppkt.cpp:252: error: 'OutgoingRTPPkt' is not a class or namespace
rtppkt.cpp:252: error: variable or field 'protect' declared void
rtppkt.cpp:252: error: 'uint32' was not declared in this scope
rtppkt.cpp:252: error: expected primary-expression before '*' token
rtppkt.cpp:252: error: 'pcc' was not declared in this scope
rtppkt.cpp:252: error: initializer expression list treated as compound
expression
rtppkt.cpp:253: error: expected ',' or ';' before '{' token
rtppkt.cpp:280: error: 'OutgoingRTPPkt' is not a class or namespace
rtppkt.cpp: In function 'void computeZrtpChecksum()':
rtppkt.cpp:282: error: 'uint8' was not declared in this scope
rtppkt.cpp:282: error: 'cdata' was not declared in this scope
rtppkt.cpp:282: error: expected type-specifier before 'uint8'
rtppkt.cpp:282: error: expected `>' before 'uint8'
rtppkt.cpp:282: error: expected `(' before 'uint8'
rtppkt.cpp:282: error: expected primary-expression before '>' token
rtppkt.cpp:282: error: 'getRawPacket' was not declared in this scope
rtppkt.cpp:282: error: expected `)' before ';' token
rtppkt.cpp:283: error: 'uint16' was not declared in this scope
rtppkt.cpp:283: error: 'data' was not declared in this scope
rtppkt.cpp:283: error: expected primary-expression before ')' token
rtppkt.cpp:283: error: expected `;' before 'cdata'
rtppkt.cpp:285: error: 'int32' was not declared in this scope
rtppkt.cpp:285: error: expected `;' before 'length'
rtppkt.cpp:287: error: 'uint32_t' was not declared in this scope
rtppkt.cpp:287: error: expected `;' before 'sum'
rtppkt.cpp:288: error: 'uint16_t' was not declared in this scope
rtppkt.cpp:288: error: expected `;' before 'ans'
rtppkt.cpp:290: error: 'length' was not declared in this scope
rtppkt.cpp:291: error: 'sum' was not declared in this scope
rtppkt.cpp:294: error: 'length' was not declared in this scope
rtppkt.cpp:295: error: 'uint8_t' was not declared in this scope
rtppkt.cpp:295: error: expected primary-expression before ')' token
rtppkt.cpp:295: error: 'ans' was not declared in this scope
rtppkt.cpp:295: error: expected primary-expression before ')' token
rtppkt.cpp:295: error: expected `;' before 'data'
rtppkt.cpp:296: error: 'sum' was not declared in this scope
rtppkt.cpp:298: error: expected `;' before 'ret'
rtppkt.cpp:300: error: 'tmp' was not declared in this scope
rtppkt.cpp:300: error: expected type-specifier before 'uint8'
rtppkt.cpp:300: error: expected `>' before 'uint8'
rtppkt.cpp:300: error: expected `(' before 'uint8'
rtppkt.cpp:300: error: expected primary-expression before '>' token
rtppkt.cpp:300: error: expected `)' before ';' token
rtppkt.cpp:301: error: 'total' was not declared in this scope
rtppkt.cpp:301: error: 'srtpLength' was not declared in this scope
rtppkt.cpp:301: error: 'zrtpChecksumLength' was not declared in this
scope
rtppkt.cpp:301: error: 'ret' was not declared in this scope
rtppkt.cpp:301: error: 'memcpy' was not declared in this scope
rtppkt.cpp: At global scope:
rtppkt.cpp:305: error: 'uint16' does not name a type
rtppkt.cpp:306: error: 'uint16' does not name a type
rtppkt.cpp:308: error: 'IncomingRTPPkt' has not been declared
rtppkt.cpp:308: error: 'size_t' has not been declared
rtppkt.cpp:308: error: ISO C++ forbids declaration of 'IncomingRTPPkt'
with no type
rtppkt.cpp: In function 'int IncomingRTPPkt(const unsigned char*, int)':
rtppkt.cpp:308: error: only constructors take base initializers
rtppkt.cpp:316: error: 'getProtocolVersion' was not declared in this
scope
rtppkt.cpp:316: error: 'CCRTP_VERSION' was not declared in this scope
rtppkt.cpp:318: error: 'getPayloadType' was not declared in this scope
rtppkt.cpp:318: error: 'RTP_INVALID_PT_MASK' was not declared in this
scope
rtppkt.cpp:318: error: 'RTP_INVALID_PT_VALUE' was not declared in this
scope
rtppkt.cpp:323: error: 'headerValid' was not declared in this scope
rtppkt.cpp:324: error: return-statement with no value, in function
returning 'int'
rtppkt.cpp:326: error: 'headerValid' was not declared in this scope
rtppkt.cpp:327: error: 'cachedTimestamp' was not declared in this scope
rtppkt.cpp:327: error: 'getRawTimestamp' was not declared in this scope
rtppkt.cpp:328: error: 'cachedSeqNum' was not declared in this scope
rtppkt.cpp:328: error: 'getHeader' was not declared in this scope
rtppkt.cpp:328: error: 'ntohs' was not declared in this scope
rtppkt.cpp:329: error: 'cachedSSRC' was not declared in this scope
rtppkt.cpp:329: error: 'ntohl' was not declared in this scope
rtppkt.cpp: At global scope:
rtppkt.cpp:333: error: 'IncomingRTPPkt' is not a class or namespace
rtppkt.cpp: In function 'bool checkZrtpChecksum(bool)':
rtppkt.cpp:336: error: 'total' was not declared in this scope
rtppkt.cpp:337: error: 'payloadSize' was not declared in this scope
rtppkt.cpp: At global scope:
rtppkt.cpp:343: error: 'int32' does not name a type
rtppkt.cpp: In function 'int StaticPayloadFormat(StaticPayloadType)':
rtppkt.cpp:100: warning: control reaches end of non-void function
rtppkt.cpp: In function 'int OutgoingRTPPkt(int)':
rtppkt.cpp:205: warning: control reaches end of non-void function
rtppkt.cpp: In function 'int OutgoingRTPPkt(int)':
rtppkt.cpp:226: warning: control reaches end of non-void function
rtppkt.cpp: In function 'int OutgoingRTPPkt(const unsigned char*, int,
int, CryptoContext*)':
rtppkt.cpp:239: warning: control reaches end of non-void function
rtppkt.cpp: In function 'int IncomingRTPPkt(const unsigned char*, int)':
rtppkt.cpp:330: warning: control reaches end of non-void function
gmake[3]: *** [rtppkt.lo] Error 1
gmake[3]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/share/src/ccrtp-1.5.0/src'
gmake: *** [all-recursive] Error 1
-bash-3.00#

Thanks,

Aaron



_______________________________________________
Ccrtp-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/ccrtp-devel




reply via email to

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