<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error building socat in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174161#M91733</link>
    <description>You can fool the thing on the ip.h problem&lt;BR /&gt;fairly simply by creating your own ip.h in a&lt;BR /&gt;new directory:&lt;BR /&gt;&lt;BR /&gt;dy # cat incl/netinet/ip.h&lt;BR /&gt;#include "/usr/include/netinet/in_systm.h"&lt;BR /&gt;#include "/usr/include/netinet/in.h"&lt;BR /&gt;#include "/usr/include/netinet/ip.h"&lt;BR /&gt;&lt;BR /&gt;and mentioning this directory to "configure":&lt;BR /&gt;&lt;BR /&gt;CPPFLAGS='-Iincl' ./configure&lt;BR /&gt;&lt;BR /&gt;It also helps to take out the&lt;BR /&gt;&lt;BR /&gt;#define WITH_IP6 1&lt;BR /&gt;&lt;BR /&gt;in config.h before trying to use it ("make").&lt;BR /&gt;&lt;BR /&gt;Getting past the "u_ip_mreq" problem appears&lt;BR /&gt;to require more effort, and I seem to be too&lt;BR /&gt;lazy to persue it.</description>
    <pubDate>Tue, 08 Apr 2008 02:32:54 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2008-04-08T02:32:54Z</dc:date>
    <item>
      <title>Error building socat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174157#M91729</link>
      <description>I'm trying to build socat on an B.11.11 system using gcc. I've downloaded the requisite packages but it keeps dying on:&lt;BR /&gt;&lt;BR /&gt;        gcc -O -D_GNU_SOURCE  -Wall -Wno-parentheses -DHAVE_CONFIG_H -I.  -c socat.c&lt;BR /&gt;        gcc -O -D_GNU_SOURCE  -Wall -Wno-parentheses -DHAVE_CONFIG_H -I.  -c xioinitialize.c&lt;BR /&gt;        gcc -O -D_GNU_SOURCE  -Wall -Wno-parentheses -DHAVE_CONFIG_H -I.  -c xiohelp.c&lt;BR /&gt;        gcc -O -D_GNU_SOURCE  -Wall -Wno-parentheses -DHAVE_CONFIG_H -I.  -c xioparam.c&lt;BR /&gt;        gcc -O -D_GNU_SOURCE  -Wall -Wno-parentheses -DHAVE_CONFIG_H -I.  -c xiodiag.c&lt;BR /&gt;        gcc -O -D_GNU_SOURCE  -Wall -Wno-parentheses -DHAVE_CONFIG_H -I.  -c xioopen.c&lt;BR /&gt;xioopen.c: In function 'socat_open':&lt;BR /&gt;xioopen.c:369: warning: unused variable 'newpipesep'&lt;BR /&gt;        gcc -O -D_GNU_SOURCE  -Wall -Wno-parentheses -DHAVE_CONFIG_H -I.  -c xioopts.c&lt;BR /&gt;xioopts.c: In function 'parseopts_table':&lt;BR /&gt;xioopts.c:1724: warning: the address of 'token' will always evaluate as 'true'&lt;BR /&gt;xioopts.c: In function 'applyopts_single':&lt;BR /&gt;xioopts.c:3659: error: 'union integral' has no member named 'u_ip_mreq'&lt;BR /&gt;xioopts.c:3664: error: 'union integral' has no member named 'u_ip_mreq'&lt;BR /&gt;xioopts.c:3666: error: 'union integral' has no member named 'u_ip_mreq'&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;I've found references to stdint.h in the config.log, but I thought that was strictly MS? I've also gotten an error that netinet/ip.h was unalbe to be built. Thanks in advance for any suggestions.</description>
      <pubDate>Fri, 04 Apr 2008 14:34:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174157#M91729</guid>
      <dc:creator>Joseph Snukis</dc:creator>
      <dc:date>2008-04-04T14:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error building socat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174158#M91730</link>
      <description>&amp;gt; I'm trying to build [...]&lt;BR /&gt;&lt;BR /&gt;Some program from some undisclosed source,&lt;BR /&gt;in some undisclosed way.  Swell.&lt;BR /&gt;&lt;BR /&gt;Not being able to see your source code is a&lt;BR /&gt;handicap.  How's "union integral" declared?&lt;BR /&gt;&lt;BR /&gt;A Google search for "u_ip_mreq" led to some&lt;BR /&gt;#if defined(HAVE_STRUCT_IP_MREQ)&lt;BR /&gt;conditionality, which is suggestive.  I don't&lt;BR /&gt;see a u_ip_mreq in any system header files on&lt;BR /&gt;an B.11.23 ia64 system.  Sounds like a defect&lt;BR /&gt;in the (auto-) configuration stuff for this&lt;BR /&gt;kit.  Or else in the way it was used.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I've also gotten an error that netinet/ip.h&lt;BR /&gt;&amp;gt; was unalbe to be built.&lt;BR /&gt;&lt;BR /&gt;td176&amp;gt; find /usr/include -name ip.h&lt;BR /&gt;/usr/include/netinet/ip.h&lt;BR /&gt;&lt;BR /&gt;Normally, you don't need to build it.&lt;BR /&gt;&lt;BR /&gt;I can't tell who has the problems, but there&lt;BR /&gt;seems to be no shortage of them.</description>
      <pubDate>Fri, 04 Apr 2008 16:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174158#M91730</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-04-04T16:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error building socat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174159#M91731</link>
      <description>Steven, understood, this was a tad light on detail. I'm tryin to build socat-1.6.0.1 on an HPUX 11.11 system. I've attached the log from the configure command, that's where I saw the error referenceing netinet/ip.h - I've never heard of that one either. Prior to trying to build this code, I installed :&lt;BR /&gt;autoconf-2.61&lt;BR /&gt;gcc-4.2.2&lt;BR /&gt;gettext-0.17&lt;BR /&gt;libgcc-4.2.3&lt;BR /&gt;libiconv-1.12&lt;BR /&gt;zlib-1.2.3&lt;BR /&gt;&lt;BR /&gt;My best guess is that I missed comsthing, what I'm not sure. Again, thanks for any suggestions.</description>
      <pubDate>Mon, 07 Apr 2008 19:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174159#M91731</guid>
      <dc:creator>Joseph Snukis</dc:creator>
      <dc:date>2008-04-07T19:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error building socat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174160#M91732</link>
      <description>&lt;!--!*#--&gt;A frequent problem with GCC and system header&lt;BR /&gt;files is using a GCC which was built on a&lt;BR /&gt;different OS version, but that does not seem&lt;BR /&gt;to be the problem here.&lt;BR /&gt;&lt;BR /&gt;In this case, it appears that our&lt;BR /&gt;&lt;NETINET&gt; has a serious need for&lt;BR /&gt;&lt;NETINET&gt;, to get "struct in_addr" (on&lt;BR /&gt;line 83) to make any sense, and the&lt;BR /&gt;configuration stuff here seems not to expect&lt;BR /&gt;that requirement.&lt;BR /&gt;&lt;BR /&gt;I see that the failing test seems to suggest&lt;BR /&gt;some hope:&lt;BR /&gt;&lt;BR /&gt;    | #define HAVE_NETINET_IN_H 1&lt;BR /&gt;&lt;BR /&gt;but then doesn't seem to care, failing to&lt;BR /&gt;include the thing in its test program.&lt;BR /&gt;&lt;BR /&gt;I try pretty hard to avoid autoconf et al.,&lt;BR /&gt;so I'd tend to complain to the authors.  I'd&lt;BR /&gt;assume that I could fix the configure test,&lt;BR /&gt;but if the test is bad, I'd rather expect the&lt;BR /&gt;actual code to be similarly troubled, and,&lt;BR /&gt;being lazy as well as ignorant, if I could&lt;BR /&gt;persuade someone else to make the adjustment,&lt;BR /&gt;I might feel better about the whole thing.&lt;BR /&gt;&lt;BR /&gt;Also, that problem looks like only the first&lt;BR /&gt;of many.  Perhaps you could enlighten the&lt;BR /&gt;authors as to the many joys of testing their&lt;BR /&gt;code on the many HP TestDrive systems.  (It's&lt;BR /&gt;that, or do some actual work, I'd guess.)&lt;/NETINET&gt;&lt;/NETINET&gt;</description>
      <pubDate>Mon, 07 Apr 2008 22:29:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174160#M91732</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-04-07T22:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error building socat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174161#M91733</link>
      <description>You can fool the thing on the ip.h problem&lt;BR /&gt;fairly simply by creating your own ip.h in a&lt;BR /&gt;new directory:&lt;BR /&gt;&lt;BR /&gt;dy # cat incl/netinet/ip.h&lt;BR /&gt;#include "/usr/include/netinet/in_systm.h"&lt;BR /&gt;#include "/usr/include/netinet/in.h"&lt;BR /&gt;#include "/usr/include/netinet/ip.h"&lt;BR /&gt;&lt;BR /&gt;and mentioning this directory to "configure":&lt;BR /&gt;&lt;BR /&gt;CPPFLAGS='-Iincl' ./configure&lt;BR /&gt;&lt;BR /&gt;It also helps to take out the&lt;BR /&gt;&lt;BR /&gt;#define WITH_IP6 1&lt;BR /&gt;&lt;BR /&gt;in config.h before trying to use it ("make").&lt;BR /&gt;&lt;BR /&gt;Getting past the "u_ip_mreq" problem appears&lt;BR /&gt;to require more effort, and I seem to be too&lt;BR /&gt;lazy to persue it.</description>
      <pubDate>Tue, 08 Apr 2008 02:32:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174161#M91733</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-04-08T02:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error building socat</title>
      <link>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174162#M91734</link>
      <description>Hi, on td192.testdrive.hp.com which appears to run HP-UX B.11.11 socat 1.6.0.1 configures and compiles well for me. Most of the (minor) problems that occur seem to be caused by HP-UX weaknesses.</description>
      <pubDate>Sat, 07 Jun 2008 20:40:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/error-building-socat/m-p/4174162#M91734</guid>
      <dc:creator>Gerhard Rieger</dc:creator>
      <dc:date>2008-06-07T20:40:54Z</dc:date>
    </item>
  </channel>
</rss>

