hello there,

I am attempting to build/port twinklephone to Mac OS X and have encountered a 
problem building the ccrtp-1.5.0 source.

the developer of twinklephone suggests that the problem lies with a missing 
include:

***********
Hi,

It looks like an #include <stdlib.h> is missing from AesSrtp.cxx.
Please contact the ccrtp mailing list or author for this.
I am not the author or maintainer of ccrtp.

Cheers

***********

I appreciate any input you can give me on this.

see my attached make log for details.

- mage



Script started on Mon Jun 25 12:49:45 2007
proudhawks-computer:~/build/ccrtp-1.5.0 proudhawk$ make
Making all in src
make  all-recursive
Making all in ccrtp
make[3]: Nothing to be done for `all'.
Making all in ccrtp/crypto
make[3]: Nothing to be done for `all'.
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o rtppkt.lo rtppkt.cpp
mkdir .libs
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c rtppkt.cpp  -fno-common -DPIC -o .libs/rtppkt.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c rtppkt.cpp -o rtppkt.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o rtcppkt.lo rtcppkt.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c rtcppkt.cpp  -fno-common -DPIC -o .libs/rtcppkt.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c rtcppkt.cpp -o rtcppkt.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o source.lo source.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c source.cpp  -fno-common -DPIC -o .libs/source.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c source.cpp -o source.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o data.lo data.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c data.cpp  -fno-common -DPIC -o .libs/data.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c data.cpp -o data.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o incqueue.lo incqueue.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c incqueue.cpp  -fno-common -DPIC -o .libs/incqueue.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c incqueue.cpp -o incqueue.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o outqueue.lo outqueue.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c outqueue.cpp  -fno-common -DPIC -o .libs/outqueue.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c outqueue.cpp -o outqueue.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o queue.lo queue.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c queue.cpp  -fno-common -DPIC -o .libs/queue.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c queue.cpp -o queue.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o control.lo control.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c control.cpp  -fno-common -DPIC -o .libs/control.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c control.cpp -o control.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o members.lo members.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c members.cpp  -fno-common -DPIC -o .libs/members.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c members.cpp -o members.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o socket.lo socket.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c socket.cpp  -fno-common -DPIC -o .libs/socket.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c socket.cpp -o socket.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o duplex.lo duplex.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c duplex.cpp  -fno-common -DPIC -o .libs/duplex.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c duplex.cpp -o duplex.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o pool.lo pool.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c pool.cpp  -fno-common -DPIC -o .libs/pool.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c pool.cpp -o pool.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o CryptoContext.lo CryptoContext.cxx
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c CryptoContext.cxx  -fno-common -DPIC -o .libs/CryptoContext.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c CryptoContext.cxx -o CryptoContext.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o hmac.lo `test -f 'ccrtp/crypto/openssl/hmac.cxx' || echo './'`ccrtp/crypto/openssl/hmac.cxx
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c ccrtp/crypto/openssl/hmac.cxx  -fno-common -DPIC -o .libs/hmac.o
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c ccrtp/crypto/openssl/hmac.cxx -o hmac.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.    -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include   -c -o AesSrtp.lo `test -f 'ccrtp/crypto/openssl/AesSrtp.cxx' || echo './'`ccrtp/crypto/openssl/AesSrtp.cxx
 g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -ansi -pedantic -g -O2 -D_GNU_SOURCE -I/opt/local/include -c ccrtp/crypto/openssl/AesSrtp.cxx  -fno-common -DPIC -o .libs/AesSrtp.o
ccrtp/crypto/openssl/AesSrtp.cxx: In constructor 'AesSrtp::AesSrtp(uint8*, int32)':
ccrtp/crypto/openssl/AesSrtp.cxx:56: error: 'malloc' was not declared in this scope
ccrtp/crypto/openssl/AesSrtp.cxx: In destructor 'AesSrtp::~AesSrtp()':
ccrtp/crypto/openssl/AesSrtp.cxx:63: error: 'free' was not declared in this scope
ccrtp/crypto/openssl/AesSrtp.cxx: In member function 'void AesSrtp::f8_encrypt(const uint8*, uint32, uint8*, uint8*, uint8*, int32, uint8*, int32)':
ccrtp/crypto/openssl/AesSrtp.cxx:160: error: 'malloc' was not declared in this scope
ccrtp/crypto/openssl/AesSrtp.cxx:200: error: 'free' was not declared in this scope
make[3]: *** [AesSrtp.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
proudhawks-computer:~/build/ccrtp-1.5.0 proudhawk$ exit
exit

Script done on Mon Jun 25 12:53:17 2007
_______________________________________________
Ccrtp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ccrtp-devel

Reply via email to