I have been working on resolving makefile problem and i have also got the .cc files. But when i tried to run make file then error appears. The error is as follows. Anybody could help me to fix this problem??
The error is as follows:

....
....
....
....
g++ -Wall -shared -fPIC -I/usr/java/include -I/usr/java/include/solaris -O3 -c -o dk_i1_sctp_SCTPSocket.o dk_i1_sctp_SCTPSocket.cc
dk_i1_sctp_SCTPSocket.cc: In function ‘jshort sinfo_flags_2_java(uint16_t)’:
dk_i1_sctp_SCTPSocket.cc:351: error: ‘dk_i1_sctp_sctp_sndrcvinfo_SCTP_UNORDERED’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:353: error: ‘dk_i1_sctp_sctp_sndrcvinfo_SCTP_ADDR_OVER’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:355: error: ‘dk_i1_sctp_sctp_sndrcvinfo_SCTP_ABORT’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:357: error: ‘dk_i1_sctp_sctp_sndrcvinfo_SCTP_EOF’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc: In function ‘uint16_t sinfo_flags_2_C(jshort)’:
dk_i1_sctp_SCTPSocket.cc:367: error: ‘dk_i1_sctp_sctp_sndrcvinfo_SCTP_UNORDERED’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:369: error: ‘dk_i1_sctp_sctp_sndrcvinfo_SCTP_ADDR_OVER’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:371: error: ‘dk_i1_sctp_sctp_sndrcvinfo_SCTP_ABORT’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:373: error: ‘dk_i1_sctp_sctp_sndrcvinfo_SCTP_EOF’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc: In function ‘void Java_dk_i1_sctp_SCTPSocket_subscribeEvents(JNIEnv* , __jobject*, jboolean, jboolean, jboolean, jboolean, jboolean, jboolean, jboolean, jboolean)’:
dk_i1_sctp_SCTPSocket.cc:800: error: ‘struct sctp_event_subscribe’ has no member named ‘sctp_adaption_layer_event’
dk_i1_sctp_SCTPSocket.cc: In function ‘void Java_dk_i1_sctp_SCTPSocket_setPeerParameters_1nati ve(JNIEnv*, __jobject*, jlong, __jbyteArray*, jint, jint, jshort, jint, jint, jint, jint, jbyte)’:
dk_i1_sctp_SCTPSocket.cc:996: error: ‘dk_i1_sctp_sctp_paddrparams_SPP_HB_ENABLE’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1005: error: ‘dk_i1_sctp_sctp_paddrparams_SPP_HB_DISABLE’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1012: error: ‘dk_i1_sctp_sctp_paddrparams_SPP_HB_DEMAND’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1020: error: ‘dk_i1_sctp_sctp_paddrparams_SPP_HB_TIME_IS_ZERO’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1028: error: ‘dk_i1_sctp_sctp_paddrparams_SPP_PMTUD_ENABLE’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1035: error: ‘dk_i1_sctp_sctp_paddrparams_SPP_PMTUD_DISABLE’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1042: error: ‘dk_i1_sctp_sctp_paddrparams_SPP_SACKDELAY_ENABLE’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1049: error: ‘dk_i1_sctp_sctp_paddrparams_SPP_SACKDELAY_DISABLE ’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1056: error: ‘dk_i1_sctp_sctp_paddrparams_SPP_IPV6_FLOWLABEL’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1064: error: ‘dk_i1_sctp_sctp_paddrparams_SPP_IPV4_TOS’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc: In function ‘__jobject* processSCTPNotification(JNIEnv*, msghdr&)’:
dk_i1_sctp_SCTPSocket.cc:1703: error: ‘SCTP_ADAPTION_INDICATION’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1704: error: ‘sctp_adaption_event’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1704: error: ‘sai’ was not declared in this scope
dk_i1_sctp_SCTPSocket.cc:1704: error: expected primary-expression before ‘)’ token
dk_i1_sctp_SCTPSocket.cc:1704: error: ‘union sctp_notification’ has no member named ‘sn_adaption_event’
make: *** [dk_i1_sctp_SCTPSocket.o] Error 1