UHD Device Won't Build in Redhawk 1.9.0 - redhawksdr

I am trying to build the UHD device, latest commit (c749987865c5e158b65f26b160e0435f34c71580), in Redhawk 1.9.0, but receive multiple build errors (see below). I received similar error when trying to build the most recent release of the UHD Device (v2.0.2).
The readme file with the UHD device doesn't indicate the requirements for building the device or provide any other instructions.
I have 2 questions:
1) Do I need to have GNUHawk installed too?
2) If so, I guess that means I need to downgrade to Redhawk 1.8.4, since GNUHawk supposedly won't work with Redhawk 1.9.0 (http://redhawksdr.github.io/Documentation/gnuhawk/mainli2.html), correct?
In case the problem is related to my build procedure, my steps are as follows:
1) Download zip file of repo from GitHub
2) Extract file contents into REDHAWK workspace and import project
3) Right click on project name (USRP_UHD-develop-1.8), select "Build Project"
09:30:38 **** Build of configuration Debug for project USRP_UHD-develop-1.8 ****
/home/nousain/workspace/USRP_UHD-develop-1.8/cpp/build.sh all
g++ -DPACKAGE_NAME=\"USRP_UHD\" -DPACKAGE_TARNAME=\"usrp_uhd\" -DPACKAGE_VERSION=\"2.0.1\" -DPACKAGE_STRING=\"USRP_UHD\ 2.0.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"usrp_uhd\" -DVERSION=\"2.0.1\" -DHAVE_OMNIORB4=1 -DHAVE_LOG4CXX=1 -DHAVE_BOOST=1 -DHAVE_BOOST_THREAD=1 -DEXPECTED_VECTOR_IMPL=/\*\*/ -Wall -D__x86_64__ -D__linux__ -D__OSVERSION__=2 -DHAVE_LOG4CXX=1 -DENABLE_EVENTS=1 -I/usr/local/redhawk/core/include -I/usr/local/redhawk/core/include/ossie -I/usr/local/redhawk/core/share/idl -pthread -I/usr/include -I/usr/local/redhawk/core/include/ossie -I/usr/local/redhawk/core/include/redhawk -g -O2 -MT USRP_UHD-USRP_UHD.o -MD -MP -MF .deps/USRP_UHD-USRP_UHD.Tpo -c -o USRP_UHD-USRP_UHD.o `test -f 'USRP_UHD.cpp' || echo './'`USRP_UHD.cpp
In file included from USRP_UHD.cpp:37:
USRP_UHD.h:26:35: error: uhd/usrp/multi_usrp.hpp: No such file or directory
In file included from /usr/include/boost/thread/future.hpp:12,
from /usr/include/boost/thread.hpp:24,
from USRP_UHD_base.h:24,
from USRP_UHD.h:25,
from USRP_UHD.cpp:37:
/usr/include/boost/exception_ptr.hpp:43: error: looser throw specifier for ‘virtual boost::exception_ptr::~exception_ptr()’
/usr/include/boost/exception/detail/exception_ptr_base.hpp:26: error: overriding ‘virtual boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()’
In file included from USRP_UHD.cpp:37:
USRP_UHD.h:393: error: ‘uhd’ has not been declared
USRP_UHD.h:393: error: ISO C++ forbids declaration of ‘sptr’ with no type
USRP_UHD.h:393: error: expected ‘;’ before ‘usrpDevice’
USRP_UHD.h:394: error: ‘uhd’ has not been declared
USRP_UHD.h:394: error: ISO C++ forbids declaration of ‘device_addr_t’ with no type
USRP_UHD.h:394: error: expected ‘;’ before ‘device_addr’
USRP_UHD.cpp: In member function ‘virtual int USRP_UHD_i::serviceFunction()’:
USRP_UHD.cpp:281: error: ‘uhd’ has not been declared
USRP_UHD.cpp:281: error: expected ‘;’ before ‘_metadata’
USRP_UHD.cpp:282: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:282: error: ‘_metadata’ was not declared in this scope
USRP_UHD.cpp:282: error: ‘uhd’ has not been declared
USRP_UHD.cpp:282: error: ‘uhd’ has not been declared
USRP_UHD.cpp:285: error: ‘uhd’ has not been declared
USRP_UHD.cpp:287: error: ‘uhd’ has not been declared
USRP_UHD.cpp:290: error: ‘uhd’ has not been declared
USRP_UHD.cpp: In member function ‘bool USRP_UHD_i::singleService_transmit(IN_PORT_TYPE*)’:
USRP_UHD.cpp:366: error: ‘uhd’ has not been declared
USRP_UHD.cpp:366: error: expected ‘;’ before ‘_metadata’
USRP_UHD.cpp:367: error: ‘_metadata’ was not declared in this scope
USRP_UHD.cpp:372: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:372: error: ‘uhd’ has not been declared
USRP_UHD.cpp:372: error: ‘uhd’ has not been declared
USRP_UHD.cpp:376: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:376: error: ‘uhd’ has not been declared
USRP_UHD.cpp:376: error: ‘uhd’ has not been declared
USRP_UHD.cpp: In member function ‘virtual void USRP_UHD_i::configure(const CF::Properties&)’:
USRP_UHD.cpp:431: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:446: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:454: error: ‘uhd’ has not been declared
USRP_UHD.cpp:454: error: expected ‘;’ before ‘clock_config’
USRP_UHD.cpp:455: error: ‘clock_config’ was not declared in this scope
USRP_UHD.cpp:455: error: ‘uhd’ has not been declared
USRP_UHD.cpp:456: error: ‘uhd’ has not been declared
USRP_UHD.cpp:457: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:459: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:459: error: ‘uhd’ has not been declared
USRP_UHD.cpp:461: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:461: error: ‘uhd’ has not been declared
USRP_UHD.cpp: In member function ‘void USRP_UHD_i::init_usrp(std::string)’:
USRP_UHD.cpp:473: error: ‘device_addr’ was not declared in this scope
USRP_UHD.cpp:473: error: ‘uhd’ has not been declared
USRP_UHD.cpp:475: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:475: error: ‘uhd’ has not been declared
USRP_UHD.cpp:492: error: ‘uhd’ has not been declared
USRP_UHD.cpp: In member function ‘bool USRP_UHD_i::setupTuner(size_t, const frontend_tuner_allocation_struct&)’:
USRP_UHD.cpp:693: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:706: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:724: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
USRP_UHD.cpp:730: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
USRP_UHD.cpp: In member function ‘bool USRP_UHD_i::enableTuner(size_t, bool)’:
USRP_UHD.cpp:761: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:761: error: ‘uhd’ has not been declared
USRP_UHD.cpp:776: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:776: error: ‘uhd’ has not been declared
USRP_UHD.cpp: In member function ‘void USRP_UHD_i::updateAvaiableUsrpSeq()’:
USRP_UHD.cpp:1020: error: ‘uhd’ has not been declared
USRP_UHD.cpp:1020: error: expected ‘;’ before ‘himt’
USRP_UHD.cpp:1021: error: ‘uhd’ has not been declared
USRP_UHD.cpp:1021: error: expected ‘;’ before ‘device_addrs’
USRP_UHD.cpp:1022: error: ‘device_addrs’ was not declared in this scope
USRP_UHD.cpp:1024: error: ‘device_addrs’ was not declared in this scope
USRP_UHD.cpp:1027: error: expected primary-expression before ‘key’
USRP_UHD.cpp:1027: error: ‘BOOST_FOREACH’ was not declared in this scope
USRP_UHD.cpp:1027: error: expected ‘;’ before ‘{’ token
USRP_UHD.cpp: In member function ‘void USRP_UHD_i::update_myDeviceSeq()’:
USRP_UHD.cpp:1045: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:1052: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:1062: error: ‘uhd’ has not been declared
USRP_UHD.cpp:1075: error: ‘usrpDevice’ was not declared in this scope
USRP_UHD.cpp:1084: error: ‘uhd’ has not been declared
make: *** [USRP_UHD-USRP_UHD.o] Error 1
09:30:49 Build Finished (took 11s.457ms)

This is an issue in the boost header files from RHEL/CentOS 6.4. You need to patch the boost file by editing the file /usr/include/boost/exception_ptr.hpp (which requires sudo). Add the following lines starting at line 92:
~exception_ptr() throw()
{
}
Source 1
This should take care of your exception throw errors.
Additionally, you need to add the pre-requisite files and download the source code for the USRP drivers. Download the UHD source and download the dependencies as follows:
git clone https://github.com/EttusResearch/uhd.git
sudo yum -y install boost-devel libusb1-devel python-cheetah doxygen python-docutils
Next, go into your uhd folder and into host folder and generate the makefiles.
cd uhd/host
mkdir build
cd build
cmake ../
make
make test
sudo make install
sudo ldconfig
Source 2
Source 3
Now try building the USRP_UHD project. Following these steps I was able to replicate your issues and have a successful build. As for your two questions, I do not have GNUHawk installed so you do not need it to build this project.

Related

I am building customize openssl 1.0.2f for RHEL 5 from Fedora source rpm but it gives me error

Source rpm used:- openssl-1.0.2f-1.fc23.src.rpm
For RHEL 6 , I can build openssl1.0.2f without any issues
But for RHEL 5, When I am running:-
rpmbuild -bb openssl.spec
Initially it ask for lksctp dependency which I have installed
lksctp-tools-1.0.6-3.el5.x86_64.rpm
lksctp-tools-devel-1.0.6-3.el5.x86_64.rpm
It gives me below error:-
_ENDIAN -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wa,--noexecstack -DPURIFY -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c -o bss_dgram.o bss_dgram.c
bss_dgram.c: In function 'BIO_new_dgram_sctp':
bss_dgram.c:973: error: storage size of 'auth' isn't known
bss_dgram.c:992: error: 'SCTP_AUTH_CHUNK' undeclared (first use in this function)
bss_dgram.c:992: error: (Each undeclared identifier is reported only once
bss_dgram.c:992: error: for each function it appears in.)
bss_dgram.c:993: error: invalid application of 'sizeof' to incomplete type 'struct sctp_authchunk'
bss_dgram.c:1001: error: invalid application of 'sizeof' to incomplete type 'struct sctp_authchunk'
bss_dgram.c:1020: error: 'SCTP_LOCAL_AUTH_CHUNKS' undeclared (first use in this function)
bss_dgram.c:1029: error: dereferencing pointer to incomplete type
bss_dgram.c:1081: error: 'SCTP_PARTIAL_DELIVERY_POINT' undeclared (first use in this function)
bss_dgram.c:973: warning: unused variable 'auth'
bss_dgram.c: In function 'dgram_sctp_read':
bss_dgram.c:1225: error: 'SCTP_SENDER_DRY_EVENT' undeclared (first use in this function)
bss_dgram.c:1266: error: 'struct sctp_event_subscribe' has no member named 'sctp_sender_dry_event'
bss_dgram.c:1317: error: 'SCTP_PARTIAL_DELIVERY_POINT' undeclared (first use in this function)
bss_dgram.c:1358: error: 'SCTP_PEER_AUTH_CHUNKS' undeclared (first use in this function)
bss_dgram.c:1362: error: dereferencing pointer to incomplete type
bss_dgram.c: In function 'dgram_sctp_ctrl':
bss_dgram.c:1504: error: storage size of 'authkeyid' isn't known
bss_dgram.c:1558: error: invalid application of 'sizeof' to incomplete type 'struct sctp_authkeyid'
bss_dgram.c:1560: error: 'SCTP_AUTH_ACTIVE_KEY' undeclared (first use in this function)
bss_dgram.c:1566: error: invalid application of 'sizeof' to incomplete type 'struct sctp_authkey'
bss_dgram.c:1573: error: dereferencing pointer to incomplete type
bss_dgram.c:1579: error: dereferencing pointer to incomplete type
bss_dgram.c:1581: error: dereferencing pointer to incomplete type
bss_dgram.c:1581: error: dereferencing pointer to incomplete type
bss_dgram.c:1581: error: dereferencing pointer to incomplete type
bss_dgram.c:1581: error: dereferencing pointer to incomplete type
bss_dgram.c:1584: error: 'SCTP_AUTH_KEY' undeclared (first use in this function)
bss_dgram.c:1593: error: invalid application of 'sizeof' to incomplete type 'struct sctp_authkeyid'
bss_dgram.c:1602: error: invalid application of 'sizeof' to incomplete type 'struct sctp_authkeyid'
bss_dgram.c:1612: error: invalid application of 'sizeof' to incomplete type 'struct sctp_authkeyid'
bss_dgram.c:1637: error: invalid application of 'sizeof' to incomplete type 'struct sctp_authkeyid'
bss_dgram.c:1659: error: 'SCTP_AUTH_DELETE_KEY' undeclared (first use in this function)
bss_dgram.c:1660: error: invalid application of 'sizeof' to incomplete type 'struct sctp_authkeyid'
bss_dgram.c:1504: warning: unused variable 'authkeyid'
bss_dgram.c: In function 'BIO_dgram_sctp_wait_for_dry':
bss_dgram.c:1782: error: 'struct sctp_event_subscribe' has no member named 'sctp_sender_dry_event'
bss_dgram.c:1834: error: 'SCTP_SENDER_DRY_EVENT' undeclared (first use in this function)
bss_dgram.c:1854: error: 'struct sctp_event_subscribe' has no member named 'sctp_sender_dry_event'
make[2]: *** [bss_dgram.o] Error 1
make[2]: Leaving directory `/root/openssl_102f_parashar/BUILD/openssl-1.0.2f/crypto/bio'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/root/openssl_102f_parashar/BUILD/openssl-1.0.2f/crypto'
make: *** [build_crypto] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.44794 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.44794 (%build)
Is this issue with code?
Any pointer on this area will be appreciated.
Thanks,
You almost answered it for yourself, I had the same problem and upgrading lksctp-tools (I used 1.0.16) solved the build issue.

not building with ./build_native.sh and android- ndk-r8 in cocos2d-x

I have downloaded the source code for a projet in cocos2d-x.
I am using the ./build_native.sh from the Hello World example, which is sure it works.
Yet again I am getting this error when compiling:
Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
Compile++ thumb : cocos2d <= CCGrabber.cpp
jni/../../libs/cocos2dx/effects/CCGrabber.cpp: In constructor 'cocos2d::CCGrabber::CCGrabber()':
jni/../../libs/cocos2dx/effects/CCGrabber.cpp:46:32: error: 'glGenFramebuffersOES' was not declared in this scope
jni/../../libs/cocos2dx/effects/CCGrabber.cpp: In member function 'void cocos2d::CCGrabber::grab(cocos2d::CCTexture2D*)':
jni/../../libs/cocos2dx/effects/CCGrabber.cpp:61:47: error: 'glBindFramebufferOES' was not declared in this scope
jni/../../libs/cocos2dx/effects/CCGrabber.cpp:65:26: error: 'glFramebufferTexture2DOES' was not declared in this scope
jni/../../libs/cocos2dx/effects/CCGrabber.cpp:68:63: error: 'glCheckFramebufferStatusOES' was not declared in this scope
jni/../../libs/cocos2dx/effects/CCGrabber.cpp: In member function 'void cocos2d::CCGrabber::beforeRender(cocos2d::CCTexture2D*)':
jni/../../libs/cocos2dx/effects/CCGrabber.cpp:88:47: error: 'glBindFramebufferOES' was not declared in this scope
jni/../../libs/cocos2dx/effects/CCGrabber.cpp: In member function 'void cocos2d::CCGrabber::afterRender(cocos2d::CCTexture2D*)':
jni/../../libs/cocos2dx/effects/CCGrabber.cpp:113:50: error: 'glBindFramebufferOES' was not declared in this scope
jni/../../libs/cocos2dx/effects/CCGrabber.cpp: In destructor 'virtual cocos2d::CCGrabber::~CCGrabber()':
jni/../../libs/cocos2dx/effects/CCGrabber.cpp:127:35: error: 'glDeleteFramebuffersOES' was not declared in this scope
I searched and found this sollution. But it does not work for me. I am still getting the same error. Maybe it is different in ndk-r8 whilst the sollution is for ndk-r7.
Any help?
Your android sdk version must bigger than 2.2.because from 2.2,the android begin to support opengl es 2.0,and the cocos2d-x 2.0 use the opengles 2.0 to render

BusyBox: Error during make

I try to install BusyBox 1.20.2 on a embedded system with PowerPc. At first I want to try it with the default config.
So this are the commands
make defconfig
make
And this is the result:
ma-bash-3.2# make
CC miscutils/ubi_tools.o
miscutils/ubi_tools.c: In function 'ubi_tools_main':
miscutils/ubi_tools.c:137: error: 'UBI_DEV_NUM_AUTO' undeclared (first use in this function)
miscutils/ubi_tools.c:137: error: (Each undeclared identifier is reported only once
miscutils/ubi_tools.c:137: error: for each function it appears in.)
miscutils/ubi_tools.c:157: error: storage size of 'req' isn't known
miscutils/ubi_tools.c:165: error: 'UBI_IOCATT' undeclared (first use in this function)
miscutils/ubi_tools.c:157: warning: unused variable 'req'
miscutils/ubi_tools.c:171: error: 'UBI_IOCDET' undeclared (first use in this function)
make[1]: *** [miscutils/ubi_tools.o] Error 1
make: *** [miscutils] Error 2
How is it possible to solve that Error?
Can I disable this ubi_tool ? What effects will that have and how to do that?
Remove these lines in .config:
CONFIG_UBIATTACH=y
CONFIG_UBIDETACH=y
CONFIG_UBIMKVOL=y
CONFIG_UBIRMVOL=y
CONFIG_UBIRSVOL=y
CONFIG_UBIUPDATEVOL=y
you won't have support for ubifs.

Error in compiling libcurl application for arm

i am trying to compile libcurl for arm (am-1808), the compilation works fine but when i try to build an application using libcurl, i got some errors, here are the steps i followed:
1.
./configure --host=arm-none-linux --build=i686-linux CFLAGS='-Os' --disable-ftp --disable-tftp --disable-ldap --disable-telnet --disable-dict --disable-ipv6 --disable-ares --disable-sspi --disable-cookies --disable-crypto-auth --without-libidn --without-ssl --without-zlib --without-libssh2 --without-gnutls --without-nss --without-ca-bundle --enable-smtp
2.
make
3.
sudo make install
Everything works fine up-to this step, but now on compiling a sample application i got these errors:
usama#ubuntu:~/Desktop/smtp$ arm-none-linux-gnueabi-gcc -o email smtp-multi.c -lcurl
smtp-multi.c:27:23: error: curl/curl.h: No such file or directory
smtp-multi.c:77: error: return type is an incomplete type
smtp-multi.c: In function 'tvnow':
smtp-multi.c:81: error: storage size of 'now' isn't known
smtp-multi.c:84: warning: 'return' with a value, in function returning void
smtp-multi.c: At top level:
smtp-multi.c:87: error: parameter 1 ('newer') has incomplete type
smtp-multi.c:87: error: parameter 2 ('older') has incomplete type
smtp-multi.c: In function 'main':
smtp-multi.c:95: error: 'CURL' undeclared (first use in this function)
smtp-multi.c:95: error: (Each undeclared identifier is reported only once
smtp-multi.c:95: error: for each function it appears in.)
smtp-multi.c:95: error: 'curl' undeclared (first use in this function)
smtp-multi.c:96: error: 'CURLM' undeclared (first use in this function)
smtp-multi.c:96: error: 'mcurl' undeclared (first use in this function)
smtp-multi.c:98: error: storage size of 'mp_start' isn't known
smtp-multi.c:105: error: 'CURL_GLOBAL_DEFAULT' undeclared (first use in this function)
smtp-multi.c:115: warning: assignment makes pointer from integer without a cast
smtp-multi.c:120: error: 'CURLOPT_URL' undeclared (first use in this function)
smtp-multi.c:121: error: 'CURLOPT_USERNAME' undeclared (first use in this function)
smtp-multi.c:122: error: 'CURLOPT_PASSWORD' undeclared (first use in this function)
smtp-multi.c:123: error: 'CURLOPT_READFUNCTION' undeclared (first use in this function)
smtp-multi.c:124: error: 'CURLOPT_MAIL_FROM' undeclared (first use in this function)
smtp-multi.c:125: error: 'CURLOPT_MAIL_RCPT' undeclared (first use in this function)
smtp-multi.c:126: error: 'CURLOPT_USE_SSL' undeclared (first use in this function)
smtp-multi.c:126: error: 'CURLUSESSL_ALL' undeclared (first use in this function)
smtp-multi.c:127: error: 'CURLOPT_SSL_VERIFYPEER' undeclared (first use in this function)
smtp-multi.c:128: error: 'CURLOPT_SSL_VERIFYHOST' undeclared (first use in this function)
smtp-multi.c:129: error: 'CURLOPT_READDATA' undeclared (first use in this function)
smtp-multi.c:130: error: 'CURLOPT_VERBOSE' undeclared (first use in this function)
smtp-multi.c:131: error: 'CURLOPT_SSLVERSION' undeclared (first use in this function)
smtp-multi.c:132: error: 'CURLOPT_SSL_SESSIONID_CACHE' undeclared (first use in this function)
smtp-multi.c:142: error: storage size of 'timeout' isn't known
smtp-multi.c:145: error: 'fd_set' undeclared (first use in this function)
smtp-multi.c:145: error: expected ';' before 'fdread'
smtp-multi.c:146: error: expected ';' before 'fdwrite'
smtp-multi.c:147: error: expected ';' before 'fdexcep'
smtp-multi.c:152: error: 'fdread' undeclared (first use in this function)
smtp-multi.c:153: error: 'fdwrite' undeclared (first use in this function)
smtp-multi.c:154: error: 'fdexcep' undeclared (first use in this function)
smtp-multi.c:180: error: invalid use of void expression
smtp-multi.c:180: error: type of formal parameter 1 is incomplete
smtp-multi.c:180: error: type of formal parameter 2 is incomplete
smtp-multi.c:181: warning: incompatible implicit declaration of built-in function 'fprintf'
smtp-multi.c:181: error: 'stderr' undeclared (first use in this function)
May be i did something wrong in the configuration while setting ./configure, any idea how can i get rid of these errors ?
regards
usama
There was problem in the configuration option, --host option was not correct, the correct argument for --host is arm-none-linux-gnueabi
so the correct configure command is (SSL should preferably be enabled).
./configure --host=arm-none-linux-gnueabi --build=i686-linux CFLAGS='-Os' --disable-ftp --disable-tftp --disable-ldap --disable-telnet --disable-dict --disable-ipv6 --disable-ares --disable-sspi --disable-cookies --disable-crypto-auth --without-libidn --without-zlib --without-libssh2 --without-gnutls --without-nss --without-ca-bundle --with-ssl=PATH --enable-smtp
NOTE:
Give path to OpenSSL in place of PATH in --with-ssl

compilation error in webkit-gtk

I am getting following error while compiling webkit-gtk for directfb, any guess how to resolve it?
make[1]: Entering directory `/home/sunny/svn/iSense-E/trunk/stable/thirdp/src/webkit-1.2.0/WebKitBuild/Release'
/bin/mkdir -p ./.deps/DerivedSources
CC WebKitTools/GtkBonker/Programs_GtkBonker-GtkBonker.o
CXX WebKitTools/DumpRenderTree/gtk/Programs_DumpRenderTree-LayoutTestControllerGtk.o
../../WebKitTools/GtkBonker/GtkBonker.c:87:30: error: gdk/gdk-directfb.h: No such file or directory
../../WebKitTools/GtkBonker/GtkBonker.c:257: error: expected ‘)’ before ‘’ token
../../WebKitTools/GtkBonker/GtkBonker.c:287: error: expected ‘)’ before ‘’ token
../../WebKitTools/GtkBonker/GtkBonker.c:795: error: expected ‘)’ before ‘*’ token
../../WebKitTools/GtkBonker/GtkBonker.c: In function ‘sampleGTKApplicationInitialize’:
../../WebKitTools/GtkBonker/GtkBonker.c:814: error: ‘gp_f_gdkDirectFbSetInitializationParameters’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c:814: error: (Each undeclared identifier is reported only once
../../WebKitTools/GtkBonker/GtkBonker.c:814: error: for each function it appears in.)
../../WebKitTools/GtkBonker/GtkBonker.c:814: error: ‘sampleGTKApplicationDirectFbSetInitializationParameters’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c:815: error: ‘gp_f_gdkDirectFBCreateWindow’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c:815: error: ‘al_gtkDirectFBCreateWindowHandler’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c:816: error: ‘gp_f_gdkDirectFBDestroyWindow’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c:816: error: ‘al_gtkDirectFBDestroyWindowHandler’ undeclared (first use in this function)
../../WebKitTools/GtkBonker/GtkBonker.c: In function ‘sampleGTKApplicationTerminate’:
../../WebKitTools/GtkBonker/GtkBonker.c:841: error: ‘gp_f_gdkDirectFbSetInitializationParameters’ undeclared (first use in this function)
make[1]: *** [WebKitTools/GtkBonker/Programs_GtkBonker-GtkBonker.o] Error 1
The include path given to your compiler doesn't have gdk/gdk-directfb.h.
Either it's not installed and you need to install DirectFB or the makefile needs to be told where to look for it by adding a -I/path/to/directory/containing/gdk/gdk-directfb.h to the CC command.

Resources