Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have been working with running make file but the following type of error appeared. Could anybody know why this problem occurred. Is this problem due to missing of file or code error. The error is as follows:
I have only included only error part. Could anyone help me to resolve this problem.
....
....
....
....
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_1native(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
and you would get the same errors. I.e., g++ is complaining about errors in the source file dk_i1_sctp_SCTPSocket.cc.
A vague guess: capitaliation in the undeclared identifiers might be a hint that they should be preprocessor macros, which sometimes are declared in separate "header" files. Maybe some #include doesn't happen as it should? This is just a remote possibility, and a lot of other things could be wrong.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.