<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 146: bad library specification for libpcap.so in build.xml comp-jni-sunos task</title><link href="https://sourceforge.net/p/jnetpcap/bugs/146/" rel="alternate"/><link href="https://sourceforge.net/p/jnetpcap/bugs/146/feed.atom" rel="self"/><id>https://sourceforge.net/p/jnetpcap/bugs/146/</id><updated>2022-05-10T20:50:03.477000Z</updated><subtitle>Recent changes to 146: bad library specification for libpcap.so in build.xml comp-jni-sunos task</subtitle><entry><title>#146 bad library specification for libpcap.so in build.xml comp-jni-sunos task</title><link href="https://sourceforge.net/p/jnetpcap/bugs/146/?limit=25#bcbd" rel="alternate"/><published>2022-05-10T20:50:03.477000Z</published><updated>2022-05-10T20:50:03.477000Z</updated><author><name>Sly Technologies</name><uri>https://sourceforge.net/u/voytechs/</uri></author><id>https://sourceforge.net0eca6b71254e11b4b8a3d298465853b6a4f240ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks Nick, for the patch. &lt;/p&gt;
&lt;p&gt;Cheers,&lt;br/&gt;
mark..&lt;br/&gt;
mark &lt;span&gt;[at]&lt;/span&gt; slytechs.com&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>bad library specification for libpcap.so in build.xml comp-jni-sunos task</title><link href="https://sourceforge.net/p/jnetpcap/bugs/146/" rel="alternate"/><published>2022-05-10T18:27:12.642000Z</published><updated>2022-05-10T18:27:12.642000Z</updated><author><name>Nick Briggs</name><uri>https://sourceforge.net/u/nbriggs/</uri></author><id>https://sourceforge.net9f8bebafb01e76f57eed1d05a8ea158a1933d760</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;As with many of the linux variants, when  libpcap.so is installed as a system library on Solaris/SunOS, then the two mentions of it in the comp-jni-sunos task should be... (this diff includes fixes for previous reports as well).&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="gd"&gt;--- build.xml   (revision 1457)&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gi"&gt;+++ build.xml   (working copy)&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gu"&gt;@@ -912,7 +912,7 @@&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;       &amp;lt;!-- =================================================================== --&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;       &amp;lt;!-- Generates shared JNI library file from C++ sources                  --&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;       &amp;lt;!-- =================================================================== --&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gd"&gt;-       &amp;lt;target name="comp-jni-sunos" depends="check-libpcap-version,prep-checks,prep-jni,prep-lib,comp-javah,prep-libpcap" if="platform.sunox"&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gi"&gt;+       &amp;lt;target name="comp-jni-sunos" depends="check-libpcap-version,prep-checks,prep-jni,prep-lib,comp-javah,prep-libpcap" if="platform.sunos"&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;

&lt;span class="w"&gt; &lt;/span&gt;               &amp;lt;!-- Not supplying "outtype", disables the LINKER in CC tag&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;               outtype="shared"&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gu"&gt;@@ -934,13 +934,13 @@&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;                       &amp;lt;includepath location="${build.include.dir}" /&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;                       &amp;lt;includepath location="${src.c.dir}" /&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;                       &amp;lt;sysincludepath location="${java.sdk.include.dir}" /&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gd"&gt;-                       &amp;lt;sysincludepath location="${java.sdk.include.dir}/solarisq" /&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gi"&gt;+                       &amp;lt;sysincludepath location="${java.sdk.include.dir}/solaris" /&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;                       &amp;lt;defineset define="LIBPCAP_VERSION=0x${compiler.LIBPCAP_VERSION}" if="compiler.LIBPCAP_VERSION" /&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;                       &amp;lt;defineset define="DEBUG" if="DEBUG" /&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;


&lt;span class="w"&gt; &lt;/span&gt;                       &amp;lt;linker name="${compiler.ld.cmd}"&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gd"&gt;-                               &amp;lt;syslibset libs=":../lib/libpcap.so" /&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gi"&gt;+                               &amp;lt;syslibset libs="pcap" /&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;

&lt;span class="w"&gt; &lt;/span&gt;                               &amp;lt;linkerarg value="-Wl,-soname,lib${lib.pcap.basename}.so" /&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;

&lt;span class="gu"&gt;@@ -966,7 +966,7 @@&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;


&lt;span class="w"&gt; &lt;/span&gt;                       &amp;lt;linker name="${compiler.ld.cmd}"&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gd"&gt;-                               &amp;lt;syslibset libs="jnetpcap,:../lib/libpcap.so" /&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gi"&gt;+                               &amp;lt;syslibset libs="jnetpcap,pcap" /&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;                               &amp;lt;libset dir="${build.lib.dir}" libs="jnetpcap" /&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;

&lt;span class="w"&gt; &lt;/span&gt;                               &amp;lt;linkerarg value="-Wl,-soname,${jni.pcap100.file}" /&amp;gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry></feed>