This is a discussion on netsnmp getopt.h clashes with systemprovided getopt.h within the SNMP Coders forums, part of the Networking and Network Related category; --===============1297091104== Content-Type: multipart/alternative; boundary="----=_Part_13487_928875.1175150035240" ------=_Part_13487_928875.1175150035240 Content-Type: text/plain; charset=ISO-8859-1; ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1297091104==
Content-Type: multipart/alternative; boundary="----=_Part_13487_928875.1175150035240" ------=_Part_13487_928875.1175150035240 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi , I am including "unistd.h " in my code which inturn includes getopt.h. getopt.h is available in two locations /usr/include/ /usr/local/include/netsnmp/library/ (when netsnmp is installed on the system) To include the net-snmp header files "/usr/local/include/netsnmp/library/" is also specifed in the include path. as a result compiler picks up getopt.h from "/usr/local/include/netsnmp/library/" instead of "/usr/include/" while including unistd.h How do I go about including getopt.h from /usr/include/ while using system provided header files like unistd.h Thanks and Regards -Utpala ------=_Part_13487_928875.1175150035240 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline <span class="gmail_quote"></span><span class="gmail_quote"></span>Hi , <br><br> I am including "unistd.h " in my code which inturn includes getopt.h.<br> getopt.h is available in two locations <br>/usr/include/<br>/usr/local/include/netsnmp/library/ (when netsnmp is installed on the system) <br><br>To include the net-snmp header files "/usr/local/include/netsnmp/library/" is also specifed in the include path.<br>as a result compiler picks up getopt.h from "/usr/local/include/netsnmp/library/" instead of "/usr/include/" while including unistd.h<br>How do I go about including getopt.h from /usr/include/ while using system provided header files like unistd.h<br><br>Thanks and Regards<br><span class="sg"><span>-Utpala<br><br> </span> </span> ------=_Part_13487_928875.1175150035240-- --===============1297091104== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV --===============1297091104== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders --===============1297091104==-- |