pkgsrc-WIP-discuss archive

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

Re: ccrtp



On Sun, Aug 05, 2007 at 11:14:04AM -0400, othyro%freeshell.org@localhost wrote:
> On Sat, Jul 07, 2007 at 04:08:10PM +0200, Thomas Klausner wrote:
> > On Sat, Jul 07, 2007 at 04:23:58AM -0400, othyro%freeshell.org@localhost 
> > wrote:
> > > pkg-config is installed. I saw something about this on the list awhile 
> > > back and
> > > none of the solutions i found there or in any other Makefiles for other 
> > > packages
> > > worked. What's the best way to solve this so it works across many systems?
> > 
> > Add
> > USE_TOOLS+= pkg-config
> > to the package's Makefile, that should solve this problem.
> >  Thomas
> 
> 
> I tried that and the build got farther, but still errored.
> 
> 
> => Required installed package digest>=20010302: digest-20060826 found
> ===> Skipping vulnerability checks.
> WARNING: No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found.
> WARNING: To fix, install the pkgsrc/security/audit-packages
> WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
> => Checksum SHA1 OK for ccrtp-1.5.0.tar.gz
> => Checksum RMD160 OK for ccrtp-1.5.0.tar.gz
> ===> Installing dependencies for ccrtp-1.5.0
> => Required installed package pkg-config>=0.19: pkg-config-0.21nb1 found
> => Required installed package commoncpp2>=1.3.16: commoncpp2-1.5.3 found
> ===> Overriding tools for ccrtp-1.5.0
> ===> Extracting for ccrtp-1.5.0
> ===> Patching for ccrtp-1.5.0
> ===> Creating toolchain wrappers for ccrtp-1.5.0
> ===> Configuring for ccrtp-1.5.0
> => Modifying GNU configure scripts to avoid --recheck
> => Replacing config-guess with pkgsrc versions
> => Replacing config-sub with pkgsrc versions
> => Adding run-time search paths to pkg-config files.
> INFO: [subst.mk:pkgconfig] Nothing changed in ./libccrtp1.pc.in.
> => Fixing locale directory references.
> INFO: [subst.mk:pkglocaledir] Nothing changed in ./Makefile.in.
> INFO: [subst.mk:pkglocaledir] Nothing changed in ./demo/Makefile.in.
> INFO: [subst.mk:pkglocaledir] Nothing changed in ./doc/Makefile.in.
> INFO: [subst.mk:pkglocaledir] Nothing changed in ./m4/Makefile.in.
> INFO: [subst.mk:pkglocaledir] Nothing changed in ./phone/Makefile.in.
> INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/Makefile.in.
> INFO: [subst.mk:pkglocaledir] Nothing changed in ./src/ccrtp/Makefile.in.
> INFO: [subst.mk:pkglocaledir] Nothing changed in 
> ./src/ccrtp/crypto/Makefile.in.
> INFO: [subst.mk:pkglocaledir] Nothing changed in ./w32/Makefile.in.
> configure: WARNING: If you wanted to set the --build type, don't use --host.
>     If a cross compiler is detected then cross compile mode will be used.
> checking build system type... i386-unknown-netbsdelf3.1
> checking host system type... i386--netbsdelf
> checking target system type... i386--netbsdelf
> checking for i386--netbsdelf-gcc... cc
> 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 cc accepts -g... yes
> checking for cc option to accept ANSI C... none needed
> checking how to run the C preprocessor... cc -E
> checking for i386--netbsdelf-g++... c++
> checking whether we are using the GNU C++ compiler... yes
> checking whether c++ accepts -g... yes
> checking how to run the C++ preprocessor... c++ -E
> checking for i386--netbsdelf-g++... (cached) c++
> checking whether we are using the GNU C++ compiler... (cached) yes
> checking whether c++ accepts -g... (cached) yes
> checking for a sed that does not truncate output... 
> /usr/pkgsrc/wip/ccrtp/work/.tools/bin/sed
> checking for egrep... grep -E
> checking for ld used by cc... /usr/pkgsrc/wip/ccrtp/work/.wrapper/bin/ld
> checking if the linker (/usr/pkgsrc/wip/ccrtp/work/.wrapper/bin/ld) is GNU 
> ld... yes
> checking for /usr/pkgsrc/wip/ccrtp/work/.wrapper/bin/ld option to reload 
> object files... -r
> checking for BSD-compatible nm... nm
> checking whether ln -s works... yes
> checking how to recognise dependent libraries... match_pattern 
> /lib[^/]+(\.so|_pic\.a)$
> 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... c++ -E
> checking for i386--netbsdelf-g77... f77
> checking whether we are using the GNU Fortran 77 compiler... yes
> checking whether f77 accepts -g... yes
> checking the maximum length of command line arguments... 196608
> checking command to parse nm output from cc object... ok
> checking for objdir... .libs
> checking for i386--netbsdelf-ar... no
> checking for ar... ar
> checking for i386--netbsdelf-ranlib... no
> checking for ranlib... ranlib
> checking for i386--netbsdelf-strip... no
> checking for strip... strip
> checking if cc supports -fno-rtti -fno-exceptions... no
> checking for cc option to produce PIC... -fPIC
> checking if cc PIC flag -fPIC works... yes
> checking if cc static flag -static works... yes
> checking if cc supports -c -o file.o... yes
> checking whether the cc linker (/usr/pkgsrc/wip/ccrtp/work/.wrapper/bin/ld) 
> supports shared libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking dynamic linker characteristics... NetBSD ld.elf_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 c++... /usr/pkgsrc/wip/ccrtp/work/.wrapper/bin/ld
> checking if the linker (/usr/pkgsrc/wip/ccrtp/work/.wrapper/bin/ld) is GNU 
> ld... yes
> checking whether the c++ linker (/usr/pkgsrc/wip/ccrtp/work/.wrapper/bin/ld) 
> supports shared libraries... yes
> checking for c++ option to produce PIC... -fPIC
> checking if c++ PIC flag -fPIC works... yes
> checking if c++ static flag -static works... yes
> checking if c++ supports -c -o file.o... yes
> checking whether the c++ linker (/usr/pkgsrc/wip/ccrtp/work/.wrapper/bin/ld) 
> supports shared libraries... yes
> checking dynamic linker characteristics... NetBSD ld.elf_so
> checking how to hardcode library paths into programs... immediate
> appending configuration tag "F77" to libtool
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for f77 option to produce PIC... -fPIC
> checking if f77 PIC flag -fPIC works... yes
> checking if f77 static flag -static works... no
> checking if f77 supports -c -o file.o... yes
> checking whether the f77 linker (/usr/pkgsrc/wip/ccrtp/work/.wrapper/bin/ld) 
> supports shared libraries... yes
> checking dynamic linker characteristics... NetBSD ld.elf_so
> checking how to hardcode library paths into programs... immediate
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
> checking whether build environment is sane... yes
> checking for gawk... /usr/bin/awk
> checking whether make sets $(MAKE)... yes
> checking for style of include used by make... GNU
> checking dependency style of cc... none
> checking dependency style of c++... none
> checking for gcry_cipher_open in -lgcrypt... no
> checking for EVP_CipherInit_ex in -lcrypto... yes
> checking for i386--netbsdelf-ranlib... ranlib
> checking for genorated automake files... found
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking pkg-config is at least version 0.9.0... yes
> checking for COMMON... yes
> checking for debugging... no
> checking for profiling... no
> checking openssl/bn.h usability... yes
> checking openssl/bn.h presence... yes
> checking for openssl/bn.h... yes
> checking openssl/aes.h usability... yes
> checking openssl/aes.h presence... yes
> checking for openssl/aes.h... yes
> checking openssl/sha.h usability... yes
> checking openssl/sha.h presence... yes
> checking for openssl/sha.h... yes
> checking for doxygen... /usr/pkg/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
> ===> Building for ccrtp-1.5.0
> Making all in src
> /usr/pkg/bin/bmake  all-recursive
> Making all in ccrtp
> Making all in ccrtp/crypto
> /bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H  -I. -I. -I.  
>  -I/usr/pkg/include  -Wall -ansi -pedantic -O2 -I/usr/pkg/include 
> -D_GNU_SOURCE -I/usr/pkg/include -c -o rtppkt.lo rtppkt.cpp
> mkdir .libs
>  c++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/pkg/include -Wall -ansi -pedantic -O2 
> -I/usr/pkg/include -D_GNU_SOURCE -I/usr/pkg/include -c rtppkt.cpp  -fPIC 
> -DPIC -o .libs/rtppkt.o
> In file included from rtppkt.cpp:44:
> private.h:88:25: cc++/config.h: No such file or directory
> private.h:89:25: cc++/thread.h: No such file or directory
> private.h:90:25: cc++/socket.h: No such file or directory
> private.h:91:26: cc++/process.h: No such file or directory
> private.h:92:25: cc++/export.h: No such file or directory
> In file included from rtppkt.cpp:44:
> private.h:143: error: syntax error before `=' token
> private.h:145: error: parse error before `)' token
> private.h:146: error: parse error before `)' token
> In file included from ccrtp/rtppkt.h:41,
>                  from rtppkt.cpp:45:
> ccrtp/base.h:42:25: cc++/config.h: No such file or directory
> ccrtp/base.h:43:25: cc++/socket.h: No such file or directory
> In file included from ccrtp/rtppkt.h:41,
>                  from rtppkt.cpp:45:
> ccrtp/base.h:66: error: syntax error before `=' token
> ccrtp/base.h:69: error: syntax error before `;' token
> ccrtp/base.h:72: error: syntax error before `;' token
> ccrtp/base.h:82: error: parse error before `(' token
> ccrtp/base.h:92: error: syntax error before `(' token
> ccrtp/base.h:104: error: syntax error before `(' token
> ccrtp/base.h:111: error: syntax error before `=' token
> ccrtp/base.h:114: error: syntax error before `=' token
> In file included from ccrtp/rtppkt.h:42,
>                  from rtppkt.cpp:45:
> ccrtp/formats.h:65: error: syntax error before `;' token
> ccrtp/formats.h:68: error: syntax error before `=' token
> ccrtp/formats.h:133: error: syntax error before `{' token
> ccrtp/formats.h:151: error: syntax error before `(' token
> ccrtp/formats.h:165: error: destructors must be member functions
> ccrtp/formats.h:165: error: virtual outside class declaration
> ccrtp/formats.h:172: error: `PayloadType' was not declared in this scope
> ccrtp/formats.h:172: error: parse error before `)' token
> ccrtp/formats.h: In function `void setPayloadType(...)':
> ccrtp/formats.h:173: error: `payloadType' undeclared (first use this function)
> ccrtp/formats.h:173: error: (Each undeclared identifier is reported only once 
>    for each function it appears in.)
> ccrtp/formats.h:173: error: `pt' undeclared (first use this function)
> ccrtp/formats.h: At global scope:
> ccrtp/formats.h:180: error: `uint32' was not declared in this scope
> ccrtp/formats.h:180: error: parse error before `)' token
> ccrtp/formats.h: In function `void setRTPClockRate(...)':
> ccrtp/formats.h:181: error: `RTPClockRate' undeclared (first use this 
> function)
> ccrtp/formats.h:181: error: `rate' undeclared (first use this function)
> ccrtp/formats.h: At global scope:
> ccrtp/formats.h:184: error: syntax error before `;' token
> ccrtp/formats.h:188: error: 'uint32' is used as a type, but is not defined as 
> a 
>    type.
> ccrtp/formats.h:189: error: parse error before `}' token
> ccrtp/formats.h:203: error: syntax error before `:' token
> ccrtp/formats.h:237: error: syntax error before `:' token
> In file included from ccrtp/rtppkt.h:43,
>                  from rtppkt.cpp:45:
> ccrtp/CryptoContext.h:24:25: cc++/config.h: No such file or directory
> In file included from ccrtp/rtppkt.h:43,
>                  from rtppkt.cpp:45:
> ccrtp/CryptoContext.h:72: error: syntax error before `{' token
> ccrtp/CryptoContext.h:159: error: `uint32' was not declared in this scope
> ccrtp/CryptoContext.h:159: error: parse error before `,' token
> ccrtp/CryptoContext.h:170: error: ISO C++ forbids declaration of 
> `CryptoContext
>    ' with no type
> ccrtp/CryptoContext.h:177: error: destructors must be member functions
> ccrtp/CryptoContext.h:189: error: `uint32' was not declared in this scope
> ccrtp/CryptoContext.h:189: error: parse error before `)' token
> ccrtp/CryptoContext.h: In function `void setRoc(...)':
> ccrtp/CryptoContext.h:190: error: `roc' undeclared (first use this function)
> ccrtp/CryptoContext.h:190: error: `r' undeclared (first use this function)
> ccrtp/CryptoContext.h: At global scope:
> ccrtp/CryptoContext.h:201: error: syntax error before `(' token
> ccrtp/CryptoContext.h:220: error: type specifier omitted for parameter 
> `uint64'
> ccrtp/CryptoContext.h:220: error: parse error before `,' token
> ccrtp/CryptoContext.h:238: error: type specifier omitted for parameter 
> `uint32'
> ccrtp/CryptoContext.h:238: error: parse error before `,' token
> ccrtp/CryptoContext.h:251: error: `uint64' was not declared in this scope
> ccrtp/CryptoContext.h:251: error: parse error before `)' token
> ccrtp/CryptoContext.h:265: error: `uint16' was not declared in this scope
> ccrtp/CryptoContext.h:265: error: parse error before `)' token
> ccrtp/CryptoContext.h:282: error: `uint16' was not declared in this scope
> ccrtp/CryptoContext.h:282: error: parse error before `)' token
> ccrtp/CryptoContext.h:293: error: `uint16' was not declared in this scope
> ccrtp/CryptoContext.h:293: error: parse error before `)' token
> ccrtp/CryptoContext.h:301: error: syntax error before `(' token
> ccrtp/CryptoContext.h:311: error: syntax error before `(' token
> ccrtp/CryptoContext.h:320: error: syntax error before `(' token
> ccrtp/CryptoContext.h:345: error: syntax error before `*' token
> ccrtp/CryptoContext.h:351: error: 'uint32' is used as a type, but is not 
>    defined as a type.
> ccrtp/CryptoContext.h:352: error: syntax error before `*' token
> ccrtp/CryptoContext.h:354: error: 'uint32' is used as a type, but is not 
>    defined as a type.
> ccrtp/CryptoContext.h:355: error: 'uint32' is used as a type, but is not 
>    defined as a type.
> ccrtp/CryptoContext.h:356: error: 'uint16' is used as a type, but is not 
>    defined as a type.
> ccrtp/CryptoContext.h:357: error: 'int64' is used as a type, but is not 
> defined 
>    as a type.
> ccrtp/CryptoContext.h:360: error: 'uint64' is used as a type, but is not 
>    defined as a type.
> ccrtp/CryptoContext.h:362: error: syntax error before `*' token
> ccrtp/CryptoContext.h:363: error: 'uint32' is used as a type, but is not 
>    defined as a type.
> ccrtp/CryptoContext.h:364: error: 'uint32' is used as a type, but is not 
>    defined as a type.
> ccrtp/CryptoContext.h:365: error: 'uint32' is used as a type, but is not 
>    defined as a type.
> ccrtp/CryptoContext.h:366: error: syntax error before `*' token
> ccrtp/CryptoContext.h:367: error: 'uint32' is used as a type, but is not 
>    defined as a type.
> ccrtp/CryptoContext.h:370: error: 'int32' is used as a type, but is not 
> defined 
>    as a type.
> ccrtp/CryptoContext.h:371: error: syntax error before `*' token
> ccrtp/CryptoContext.h:372: error: 'int32' is used as a type, but is not 
> defined 
>    as a type.
> ccrtp/CryptoContext.h:373: error: syntax error before `*' token
> ccrtp/CryptoContext.h:374: error: 'int32' is used as a type, but is not 
> defined 
>    as a type.
> ccrtp/CryptoContext.h:375: error: syntax error before `*' token
> ccrtp/CryptoContext.h:377: error: 'uint8' is used as a type, but is not 
> defined 
>    as a type.
> ccrtp/CryptoContext.h:378: error: 'uint8' is used as a type, but is not 
> defined 
>    as a type.
> ccrtp/CryptoContext.h:379: error: 'uint8' is used as a type, but is not 
> defined 
>    as a type.
> ccrtp/CryptoContext.h:380: error: 'uint8' is used as a type, but is not 
> defined 
>    as a type.
> ccrtp/CryptoContext.h:381: error: 'uint8' is used as a type, but is not 
> defined 
>    as a type.
> ccrtp/CryptoContext.h:382: error: 'uint8' is used as a type, but is not 
> defined 
>    as a type.
> ccrtp/CryptoContext.h:384: error: parse error before `}' token
> In file included from rtppkt.cpp:45:
> ccrtp/rtppkt.h:76: error: syntax error before `{' token
> ccrtp/rtppkt.h:81: error: parse error before `public'
> ccrtp/rtppkt.h:108: error: parse error before `,' token
> ccrtp/rtppkt.h:117: error: syntax error before `(' token
> ccrtp/rtppkt.h:123: error: syntax error before `*' token
> ccrtp/rtppkt.h:131: error: syntax error before `(' token
> ccrtp/rtppkt.h:138: error: syntax error before `(' token
> ccrtp/rtppkt.h:145: error: syntax error before `(' token
> ccrtp/rtppkt.h:152: error: syntax error before `(' token
> ccrtp/rtppkt.h:159: error: syntax error before `(' token
> ccrtp/rtppkt.h:168: error: non-member function `bool isPadded()' cannot have `
>    const' method qualifier
> ccrtp/rtppkt.h: In function `bool isPadded()':
> ccrtp/rtppkt.h:168: error: `getHeader' undeclared (first use this function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:177: error: syntax error before `(' token
> ccrtp/rtppkt.h:188: error: non-member function `bool isMarked()' cannot have `
>    const' method qualifier
> ccrtp/rtppkt.h:197: error: non-member function `bool isExtended()' cannot 
> have 
>    `const' method qualifier
> ccrtp/rtppkt.h:204: error: syntax error before `(' token
> ccrtp/rtppkt.h:214: error: syntax error before `*' token
> ccrtp/rtppkt.h:231: error: syntax error before `(' token
> ccrtp/rtppkt.h:246: error: syntax error before `(' token
> ccrtp/rtppkt.h:259: error: non-member function `const unsigned char* 
>    getHdrExtContent()' cannot have `const' method qualifier
> ccrtp/rtppkt.h: In function `const unsigned char* getHdrExtContent()':
> ccrtp/rtppkt.h:260: error: `getHeaderExt' undeclared (first use this function)
> ccrtp/rtppkt.h:261: error: invalid application of `sizeof' to an incomplete 
>    type
> ccrtp/rtppkt.h:262: error: `NULL' undeclared (first use this function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:272: error: non-member function `const unsigned char* const 
>    getRawPacket()' cannot have `const' method qualifier
> ccrtp/rtppkt.h: In function `const unsigned char* const getRawPacket()':
> ccrtp/rtppkt.h:272: error: `buffer' undeclared (first use this function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:281: error: syntax error before `(' token
> ccrtp/rtppkt.h:285: error: syntax error before `(' token
> ccrtp/rtppkt.h:289: error: syntax error before `(' token
> ccrtp/rtppkt.h:310: error: syntax error before `*' token
> ccrtp/rtppkt.h:327: error: non-member function `const RTPHeaderExt* 
>    getHeaderExt()' cannot have `const' method qualifier
> ccrtp/rtppkt.h: In function `const RTPHeaderExt* getHeaderExt()':
> ccrtp/rtppkt.h:327: error: `const RTPHeaderExt* getHeaderExt()' used prior to 
>    declaration
> ccrtp/rtppkt.h:328: error: `uint32' undeclared (first use this function)
> ccrtp/rtppkt.h:328: error: parse error before `=' token
> ccrtp/rtppkt.h:329: error: `fixsize' undeclared (first use this function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:338: error: syntax error before `(' token
> ccrtp/rtppkt.h:342: error: type specifier omitted for parameter `size_t'
> ccrtp/rtppkt.h:342: error: parse error before `,' token
> ccrtp/rtppkt.h: In function `void setbuffer(...)':
> ccrtp/rtppkt.h:343: error: `pos' undeclared (first use this function)
> ccrtp/rtppkt.h:343: error: `src' undeclared (first use this function)
> ccrtp/rtppkt.h:343: error: `len' undeclared (first use this function)
> ccrtp/rtppkt.h:343: error: `memcpy' undeclared (first use this function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:346: error: 'uint16' is used as a type, but is not defined as 
> a 
>    type.
> ccrtp/rtppkt.h:348: error: 'uint32' is used as a type, but is not defined as 
> a 
>    type.
> ccrtp/rtppkt.h:356: error: 'uint32' is used as a type, but is not defined as 
> a 
>    type.
> ccrtp/rtppkt.h:363: error: 'int32' is used as a type, but is not defined as a 
>    type.
> ccrtp/rtppkt.h:366: error: 'uint32' is used as a type, but is not defined as 
> a 
>    type.
> ccrtp/rtppkt.h:369: error: 'uint32' is used as a type, but is not defined as 
> a 
>    type.
> ccrtp/rtppkt.h:371: error: parse error before `private'
> ccrtp/rtppkt.h:375: error: 'uint32' is used as a type, but is not defined as 
> a 
>    type.
> ccrtp/rtppkt.h:411: error: 'uint16' is used as a type, but is not defined as 
> a 
>    type.
> ccrtp/rtppkt.h:412: error: 'uint32' is used as a type, but is not defined as 
> a 
>    type.
> ccrtp/rtppkt.h:413: error: parse error before `[' token
> ccrtp/rtppkt.h:424: error: parse error before `public'
> ccrtp/rtppkt.h:429: error: syntax error before `:' token
> ccrtp/rtppkt.h:430: error: syntax error before `:' token
> ccrtp/rtppkt.h:431: error: parse error before `:' token
> ccrtp/rtppkt.h:432: error: parse error before `:' token
> ccrtp/rtppkt.h:453: error: 'uint16' is used as a type, but is not defined as 
> a 
>    type.
> ccrtp/rtppkt.h:454: error: parse error before `}' token
> ccrtp/rtppkt.h:475: error: syntax error before `(' token
> ccrtp/rtppkt.h:483: error: `uint16' was not declared in this scope
> ccrtp/rtppkt.h:483: error: parse error before `)' token
> ccrtp/rtppkt.h: In function `void set2833Duration(...)':
> ccrtp/rtppkt.h:484: error: `getRaw2833Payload' undeclared (first use this 
>    function)
> ccrtp/rtppkt.h:484: error: `timestamp' undeclared (first use this function)
> ccrtp/rtppkt.h:484: error: `htons' undeclared (first use this function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:485: error: parse error before `}' token
> ccrtp/rtppkt.h:497: error: syntax error before `:' token
> ccrtp/rtppkt.h:551: error: parse error before `*' token
> ccrtp/rtppkt.h:553: error: ISO C++ forbids declaration of `OutgoingRTPPkt' 
> with 
>    no type
> ccrtp/rtppkt.h:571: error: type specifier omitted for parameter `size_t'
> ccrtp/rtppkt.h:571: error: parse error before `,' token
> ccrtp/rtppkt.h:572: error: ISO C++ forbids declaration of `OutgoingRTPPkt' 
> with 
>    no type
> ccrtp/rtppkt.h:575: error: destructors must be member functions
> ccrtp/rtppkt.h:581: error: parse error before `)' token
> ccrtp/rtppkt.h: In function `void setPayloadType(...)':
> ccrtp/rtppkt.h:582: error: redefinition of `void setPayloadType(...)'
> ccrtp/formats.h:173: error: `void setPayloadType(...)' previously defined here
> ccrtp/rtppkt.h:582: error: redefinition of `void setPayloadType(...)'
> ccrtp/formats.h:173: error: `void setPayloadType(...)' previously defined here
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:590: error: `uint16' was not declared in this scope
> ccrtp/rtppkt.h:590: error: parse error before `)' token
> ccrtp/rtppkt.h: In function `void setSeqNum(...)':
> ccrtp/rtppkt.h:592: error: `cachedSeqNum' undeclared (first use this function)
> ccrtp/rtppkt.h:592: error: `seq' undeclared (first use this function)
> ccrtp/rtppkt.h:593: error: `htons' undeclared (first use this function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:600: error: `uint32' was not declared in this scope
> ccrtp/rtppkt.h:600: error: parse error before `)' token
> ccrtp/rtppkt.h: In function `void setTimestamp(...)':
> ccrtp/rtppkt.h:602: error: `cachedTimestamp' undeclared (first use this 
>    function)
> ccrtp/rtppkt.h:602: error: `pts' undeclared (first use this function)
> ccrtp/rtppkt.h:603: error: `htonl' undeclared (first use this function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:613: error: `uint32' was not declared in this scope
> ccrtp/rtppkt.h:613: error: parse error before `)' token
> ccrtp/rtppkt.h:614: error: non-member function `void setSSRC(...)' cannot 
> have 
>    `const' method qualifier
> ccrtp/rtppkt.h: In function `void setSSRC(...)':
> ccrtp/rtppkt.h:614: error: `ssrc' undeclared (first use this function)
> ccrtp/rtppkt.h:614: error: `htonl' undeclared (first use this function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:624: error: parse error before `)' token
> ccrtp/rtppkt.h:625: error: non-member function `void setSSRCNetwork(...)' 
>    cannot have `const' method qualifier
> ccrtp/rtppkt.h:644: error: parse error before `,' token
> ccrtp/rtppkt.h:650: error: parse error before `&' token
> ccrtp/rtppkt.h:651: error: non-member function `bool operator==(...)' cannot 
>    have `const' method qualifier
> ccrtp/rtppkt.h:651: error: `bool operator==(...)' must have an argument of 
>    class or enumerated type
> ccrtp/rtppkt.h:651: error: `bool operator==(...)' must take exactly two 
>    arguments
> ccrtp/rtppkt.h: In function `bool operator==(...)':
> ccrtp/rtppkt.h:651: error: invalid use of `this' in non-member function
> ccrtp/rtppkt.h:651: error: `p' undeclared (first use this function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:657: error: parse error before `&' token
> ccrtp/rtppkt.h:658: error: non-member function `bool operator!=(...)' cannot 
>    have `const' method qualifier
> ccrtp/rtppkt.h:658: error: `bool operator!=(...)' must have an argument of 
>    class or enumerated type
> ccrtp/rtppkt.h:658: error: `bool operator!=(...)' must take exactly two 
>    arguments
> ccrtp/rtppkt.h: In function `bool operator!=(...)':
> ccrtp/rtppkt.h:658: error: invalid use of `this' in non-member function
> ccrtp/rtppkt.h: In function `void enableZrtpChecksum()':
> ccrtp/rtppkt.h:660: error: `zrtpChecksumLength' undeclared (first use this 
>    function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:663: error: parse error before `private'
> ccrtp/rtppkt.h:674: error: syntax error before `&' token
> ccrtp/rtppkt.h:681: error: parse error before `*' token
> ccrtp/rtppkt.h:683: error: 'int32' is used as a type, but is not defined as a 
>    type.
> ccrtp/rtppkt.h:685: error: parse error before `}' token
> ccrtp/rtppkt.h:699: error: syntax error before `:' token
> ccrtp/rtppkt.h:717: error: destructors must be member functions
> ccrtp/rtppkt.h: In function `bool isHeaderValid()':
> ccrtp/rtppkt.h:726: error: `headerValid' undeclared (first use this function)
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:735: error: syntax error before `(' token
> ccrtp/rtppkt.h:749: error: `pcc' was not declared in this scope
> ccrtp/rtppkt.h:749: error: 'int32' is used as a type, but is not defined as a 
>    type.
> ccrtp/rtppkt.h:756: error: parse error before `&' token
> ccrtp/rtppkt.h:757: error: non-member function `bool operator==(...)' cannot 
>    have `const' method qualifier
> ccrtp/rtppkt.h:757: error: `bool operator==(...)' must have an argument of 
>    class or enumerated type
> ccrtp/rtppkt.h:757: error: `bool operator==(...)' must take exactly two 
>    arguments
> ccrtp/rtppkt.h: In function `bool operator==(...)':
> ccrtp/rtppkt.h:757: error: redefinition of `bool operator==(...)'
> ccrtp/rtppkt.h:651: error: `bool operator==(...)' previously defined here
> ccrtp/rtppkt.h:757: error: redefinition of `bool operator==(...)'
> ccrtp/rtppkt.h:651: error: `bool operator==(...)' previously defined here
> ccrtp/rtppkt.h:757: error: invalid use of `this' in non-member function
> ccrtp/rtppkt.h:758: error: invalid use of `this' in non-member function
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:765: error: parse error before `&' token
> ccrtp/rtppkt.h:766: error: non-member function `bool operator!=(...)' cannot 
>    have `const' method qualifier
> ccrtp/rtppkt.h:766: error: `bool operator!=(...)' must have an argument of 
>    class or enumerated type
> ccrtp/rtppkt.h:766: error: `bool operator!=(...)' must take exactly two 
>    arguments
> ccrtp/rtppkt.h: In function `bool operator!=(...)':
> ccrtp/rtppkt.h:766: error: redefinition of `bool operator!=(...)'
> ccrtp/rtppkt.h:658: error: `bool operator!=(...)' previously defined here
> ccrtp/rtppkt.h:766: error: redefinition of `bool operator!=(...)'
> ccrtp/rtppkt.h:658: error: `bool operator!=(...)' previously defined here
> ccrtp/rtppkt.h:766: error: invalid use of `this' in non-member function
> ccrtp/rtppkt.h: At global scope:
> ccrtp/rtppkt.h:786: error: parse error before `private'
> ccrtp/rtppkt.h:797: error: syntax error before `&' token
> ccrtp/rtppkt.h:801: error: `bool headerValid' used prior to declaration
> ccrtp/rtppkt.h:803: error: 'uint32' is used as a type, but is not defined as 
> a 
>    type.
> ccrtp/rtppkt.h:807: error: syntax error before `;' token
> ccrtp/rtppkt.h:808: error: syntax error before `;' token
> rtppkt.cpp:53: error: syntax error before `::' token
> rtppkt.cpp:56: error: parse error before `::' token
> rtppkt.cpp:90: error: syntax error before `::' token
> rtppkt.cpp:102: error: syntax error before `::' token
> rtppkt.cpp:105: error: ISO C++ forbids declaration of `setRTPClockRate' with 
> no 
>    type
> rtppkt.cpp:105: error: `int setRTPClockRate' redeclared as different kind of 
>    symbol
> ccrtp/formats.h:181: error: previous declaration of `void 
> setRTPClockRate(...)'
> rtppkt.cpp:106: error: parse error before `}' token
> rtppkt.cpp:109: error: type specifier omitted for parameter `size_t'
> rtppkt.cpp:109: error: parse error before `,' token
> 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(...)':
> rtppkt.cpp:111: error: class `RTPPacket' does not have any field named `total'
> rtppkt.cpp:111: error: parse error before `)' token
> rtppkt.cpp:112: error: class `RTPPacket' does not have any field named `
>    duplicated'
> rtppkt.cpp:112: error: `duplicate' undeclared (first use this function)
> rtppkt.cpp:116: error: `block' undeclared (first use this function)
> rtppkt.cpp:117: error: `hdrSize' undeclared (first use this function)
> rtppkt.cpp:120: error: invalid use of undefined type `struct RTPHeaderExt'
> ccrtp/rtppkt.h:79: error: forward declaration of `struct RTPHeaderExt'
> rtppkt.cpp:120: error: `ntohs' undeclared (first use this function)
> rtppkt.cpp:124: error: `payloadSize' undeclared (first use this function)
> rtppkt.cpp: At global scope:
> rtppkt.cpp:135: error: `size_t' was not declared in this scope
> rtppkt.cpp:135: error: parse error before `,' token
> rtppkt.cpp:135: error: invalid use of undefined type `struct RTPPacket'
> ccrtp/CryptoContext.h:42: error: forward declaration of `struct RTPPacket'
> rtppkt.cpp: In constructor `RTPPacket::RTPPacket(...)':
> rtppkt.cpp:136: error: class `RTPPacket' does not have any field named `
>    payloadSize'
> rtppkt.cpp:136: error: parse error before `)' token
> rtppkt.cpp:137: error: class `RTPPacket' does not have any field named 
> `buffer'
> rtppkt.cpp:138: error: class `RTPPacket' does not have any field named 
> `hdrSize
>    '
> rtppkt.cpp:138: error: parse error before `)' token
> rtppkt.cpp:139: error: class `RTPPacket' does not have any field named `
>    duplicated'
> rtppkt.cpp:141: error: `total' undeclared (first use this function)
> rtppkt.cpp:141: error: `hdrlen' undeclared (first use this function)
> rtppkt.cpp:143: error: `uint8' undeclared (first use this function)
> rtppkt.cpp:143: error: parse error before `=' token
> rtppkt.cpp:144: error: `paddinglen' undeclared (first use this function)
> rtppkt.cpp:145: error: `padding' undeclared (first use this function)
> rtppkt.cpp:148: error: `srtpLength' undeclared (first use this function)
> rtppkt.cpp:149: error: `srtpDataOffset' undeclared (first use this function)
> rtppkt.cpp:150: error: `pcc' undeclared (first use this function)
> rtppkt.cpp:161: error: parse error before `*' token
> rtppkt.cpp:162: error: `CCRTP_VERSION' undeclared (first use this function)
> rtppkt.cpp:164: error: `memset' undeclared (first use this function)
> rtppkt.cpp: At global scope:
> rtppkt.cpp:174: error: invalid use of undefined type `struct RTPPacket'
> ccrtp/CryptoContext.h:42: error: forward declaration of `struct RTPPacket'
> rtppkt.cpp:184: error: syntax error before `::' token
> rtppkt.cpp:194: error: `csrcs' was not declared in this scope
> rtppkt.cpp:194: error: `numcsrc' was not declared in this scope
> rtppkt.cpp:194: error: ISO C++ forbids declaration of `setCSRCArray' with no 
>    type
> rtppkt.cpp:194: error: `int setCSRCArray' redeclared as different kind of 
>    symbol
> ccrtp/rtppkt.h:681: error: previous declaration of `void setCSRCArray(...)'
> rtppkt.cpp:194: error: initializer list being treated as compound expression
> rtppkt.cpp:195: error: syntax error before `+=' token
> rtppkt.cpp:198: error: `hdrext' was not declared in this scope
> rtppkt.cpp:198: error: `hdrextlen' was not declared in this scope
> rtppkt.cpp:198: error: `pointer' was not declared in this scope
> rtppkt.cpp:198: error: ISO C++ forbids declaration of `setbuffer' with no type
> rtppkt.cpp:198: error: `int setbuffer' redeclared as different kind of symbol
> ccrtp/rtppkt.h:343: error: previous declaration of `void setbuffer(...)'
> rtppkt.cpp:198: error: initializer list being treated as compound expression
> rtppkt.cpp:199: error: `hdrextlen' was not declared in this scope
> rtppkt.cpp:199: error: ISO C++ forbids declaration of `setExtension' with no 
>    type
> rtppkt.cpp:199: error: `int setExtension' redeclared as different kind of 
>    symbol
> ccrtp/rtppkt.h:316: error: previous declaration of `void setExtension(bool)'
> rtppkt.cpp:200: error: syntax error before `+=' token
> rtppkt.cpp:203: error: `data' was not declared in this scope
> rtppkt.cpp:203: error: `datalen' was not declared in this scope
> rtppkt.cpp:203: error: `pointer' was not declared in this scope
> rtppkt.cpp:203: error: ISO C++ forbids declaration of `setbuffer' with no type
> rtppkt.cpp:203: error: redefinition of `int setbuffer'
> rtppkt.cpp:198: error: `int setbuffer' previously defined here
> rtppkt.cpp:203: error: initializer list being treated as compound expression
> rtppkt.cpp:204: error: ISO C++ forbids declaration of `zrtpChecksumLength' 
> with 
>    no type
> rtppkt.cpp:204: error: `int zrtpChecksumLength' used prior to declaration
> rtppkt.cpp:205: error: parse error before `}' token
> rtppkt.cpp:207: error: syntax error before `::' token
> rtppkt.cpp:216: error: `csrcs' was not declared in this scope
> rtppkt.cpp:216: error: `numcsrc' was not declared in this scope
> rtppkt.cpp:216: error: ISO C++ forbids declaration of `setCSRCArray' with no 
>    type
> rtppkt.cpp:216: error: redefinition of `int setCSRCArray'
> rtppkt.cpp:194: error: `int setCSRCArray' previously defined here
> rtppkt.cpp:216: error: initializer list being treated as compound expression
> rtppkt.cpp:217: error: syntax error before `+=' token
> rtppkt.cpp:224: error: `data' was not declared in this scope
> rtppkt.cpp:224: error: `datalen' was not declared in this scope
> rtppkt.cpp:224: error: `pointer' was not declared in this scope
> rtppkt.cpp:224: error: ISO C++ forbids declaration of `setbuffer' with no type
> rtppkt.cpp:224: error: redefinition of `int setbuffer'
> rtppkt.cpp:203: error: `int setbuffer' previously defined here
> rtppkt.cpp:224: error: initializer list being treated as compound expression
> rtppkt.cpp:225: error: ISO C++ forbids declaration of `zrtpChecksumLength' 
> with 
>    no type
> rtppkt.cpp:225: error: redefinition of `int zrtpChecksumLength'
> rtppkt.cpp:204: error: `int zrtpChecksumLength' previously defined here
> rtppkt.cpp:226: error: parse error before `}' token
> rtppkt.cpp:228: error: syntax error before `::' token
> rtppkt.cpp:238: error: ISO C++ forbids declaration of `zrtpChecksumLength' 
> with 
>    no type
> rtppkt.cpp:238: error: redefinition of `int zrtpChecksumLength'
> rtppkt.cpp:225: error: `int zrtpChecksumLength' previously defined here
> rtppkt.cpp:239: error: parse error before `}' token
> rtppkt.cpp:242: error: syntax error before `::' token
> rtppkt.cpp:245: error: syntax error before `*' token
> rtppkt.cpp:246: error: `numcsrc' was not declared in this scope
> rtppkt.cpp:246: error: parse error before `;' token
> rtppkt.cpp:246: error: syntax error before `++' token
> rtppkt.cpp:248: error: ISO C++ forbids declaration of `getHeader' with no type
> rtppkt.cpp: In function `int getHeader()':
> rtppkt.cpp:248: error: `int getHeader()' used prior to declaration
> rtppkt.cpp:248: error: parse error before `->' token
> rtppkt.cpp:252: error: syntax error before `::' token
> rtppkt.cpp:258: error: syntax error before `-=' token
> rtppkt.cpp:259: error: syntax error before `-=' token
> rtppkt.cpp:260: error: syntax error before `-=' token
> rtppkt.cpp:262: error: syntax error before `->' token
> rtppkt.cpp:268: error: syntax error before `->' token
> rtppkt.cpp:270: error: syntax error before `+=' token
> rtppkt.cpp:280: error: syntax error before `::' token
> rtppkt.cpp:283: error: syntax error before `*' token
> rtppkt.cpp:285: error: parse error before `=' token
> rtppkt.cpp:287: error: parse error before `=' token
> rtppkt.cpp:288: error: parse error before `=' token
> rtppkt.cpp:292: error: syntax error before `-=' token
> rtppkt.cpp:296: error: syntax error before `+=' token
> rtppkt.cpp:298: error: parse error before `=' token
> rtppkt.cpp:300: error: syntax error before `*' token
> rtppkt.cpp:301: error: `tmp' undeclared (first use this function)
> rtppkt.cpp:301: error: `ret' undeclared (first use this function)
> rtppkt.cpp:301: error: ISO C++ forbids declaration of `memcpy' with no type
> rtppkt.cpp:301: error: `int memcpy' used prior to declaration
> rtppkt.cpp:301: error: initializer list being treated as compound expression
> rtppkt.cpp:302: error: parse error before `}' token
> rtppkt.cpp:305: error: syntax error before `::' token
> rtppkt.cpp:306: error: syntax error before `::' token
> rtppkt.cpp:308: error: syntax error before `::' token
> rtppkt.cpp:326: error: ISO C++ forbids declaration of `headerValid' with no 
>    type
> rtppkt.cpp:326: error: type mismatch with previous external decl
> ccrtp/rtppkt.h:801: error: previous external decl of `bool headerValid'
> rtppkt.cpp:327: error: ISO C++ forbids declaration of `cachedTimestamp' with 
> no 
>    type
> rtppkt.cpp:327: error: `int cachedTimestamp' used prior to declaration
> rtppkt.cpp:327: error: `getRawTimestamp' undeclared (first use this function)
> rtppkt.cpp:328: error: ISO C++ forbids declaration of `cachedSeqNum' with no 
>    type
> rtppkt.cpp:328: error: `int cachedSeqNum' used prior to declaration
> rtppkt.cpp:328: error: base operand of `->' is not a pointer
> rtppkt.cpp:328: error: `ntohs' undeclared (first use this function)
> rtppkt.cpp:329: error: ISO C++ forbids declaration of `cachedSSRC' with no 
> type
> rtppkt.cpp:329: error: base operand of `->' is not a pointer
> rtppkt.cpp:329: error: `ntohl' undeclared (first use this function)
> rtppkt.cpp:330: error: parse error before `}' token
> rtppkt.cpp:333: error: syntax error before `::' token
> rtppkt.cpp:344: error: parse error before `::' token
> rtppkt.cpp:364: error: parse error before `=' token
> rtppkt.cpp:368: error: syntax error before `-=' token
> rtppkt.cpp:371: error: syntax error before `-=' token
> rtppkt.cpp:375: error: syntax error before `*' token
> rtppkt.cpp:382: error: parse error before `=' token
> rtppkt.cpp:384: error: parse error before `=' token
> rtppkt.cpp:385: error: syntax error before `*' token
> rtppkt.cpp:387: error: syntax error before `->' token
> rtppkt.cpp:395: error: syntax error before `->' token
> rtppkt.cpp:398: error: syntax error before `->' token
> *** Error code 1
> 
> Stop.
> bmake: stopped in /usr/pkgsrc/wip/ccrtp/work/ccrtp-1.5.0/src
> *** Error code 1
> 
> Stop.
> bmake: stopped in /usr/pkgsrc/wip/ccrtp/work/ccrtp-1.5.0/src
> *** Error code 1
> 
> Stop.
> bmake: stopped in /usr/pkgsrc/wip/ccrtp/work/ccrtp-1.5.0/src
> *** Error code 1
> 
> Stop.
> bmake: stopped in /usr/pkgsrc/wip/ccrtp/work/ccrtp-1.5.0
> *** Error code 1
> 
> Stop.
> bmake: stopped in /usr/pkgsrc/wip/ccrtp
> *** Error code 1
> 
> Stop.
> bmake: stopped in /usr/pkgsrc/wip/ccrtp
> 
> 
> I just posted this, because i figured someone may know more about these 
> packages
> than i do. I don't really have a working knowledge of ccrtp or the packages it
> depends on. Honestly, i really just want to get twinkle to work, and it 
> depends
> on this package.
 

Getting closer, please bear with me :) These files are actually installed by
commoncpp2, which this package depends on. At the end of the Makefile is:

../../wip/commoncpp2/buildlink3.mk

wouldn't this somehow automagickally pull in /usr/pkg/include/cc++ ?

Or is there something else that needs to be specified in the Makefile?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss




Home | Main Index | Thread Index | Old Index