- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Error building socat
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2008 07:34 AM
тАО04-04-2008 07:34 AM
Error building socat
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c socat.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xioinitialize.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xiohelp.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xioparam.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xiodiag.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xioopen.c
xioopen.c: In function 'socat_open':
xioopen.c:369: warning: unused variable 'newpipesep'
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c xioopts.c
xioopts.c: In function 'parseopts_table':
xioopts.c:1724: warning: the address of 'token' will always evaluate as 'true'
xioopts.c: In function 'applyopts_single':
xioopts.c:3659: error: 'union integral' has no member named 'u_ip_mreq'
xioopts.c:3664: error: 'union integral' has no member named 'u_ip_mreq'
xioopts.c:3666: error: 'union integral' has no member named 'u_ip_mreq'
*** Error exit code 1
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.
- Tags:
- gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2008 09:56 AM
тАО04-04-2008 09:56 AM
Re: Error building socat
Some program from some undisclosed source,
in some undisclosed way. Swell.
Not being able to see your source code is a
handicap. How's "union integral" declared?
A Google search for "u_ip_mreq" led to some
#if defined(HAVE_STRUCT_IP_MREQ)
conditionality, which is suggestive. I don't
see a u_ip_mreq in any system header files on
an B.11.23 ia64 system. Sounds like a defect
in the (auto-) configuration stuff for this
kit. Or else in the way it was used.
> I've also gotten an error that netinet/ip.h
> was unalbe to be built.
td176> find /usr/include -name ip.h
/usr/include/netinet/ip.h
Normally, you don't need to build it.
I can't tell who has the problems, but there
seems to be no shortage of them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2008 12:14 PM
тАО04-07-2008 12:14 PM
Re: Error building socat
autoconf-2.61
gcc-4.2.2
gettext-0.17
libgcc-4.2.3
libiconv-1.12
zlib-1.2.3
My best guess is that I missed comsthing, what I'm not sure. Again, thanks for any suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2008 03:29 PM
тАО04-07-2008 03:29 PM
Re: Error building socat
files is using a GCC which was built on a
different OS version, but that does not seem
to be the problem here.
In this case, it appears that our
line 83) to make any sense, and the
configuration stuff here seems not to expect
that requirement.
I see that the failing test seems to suggest
some hope:
| #define HAVE_NETINET_IN_H 1
but then doesn't seem to care, failing to
include the thing in its test program.
I try pretty hard to avoid autoconf et al.,
so I'd tend to complain to the authors. I'd
assume that I could fix the configure test,
but if the test is bad, I'd rather expect the
actual code to be similarly troubled, and,
being lazy as well as ignorant, if I could
persuade someone else to make the adjustment,
I might feel better about the whole thing.
Also, that problem looks like only the first
of many. Perhaps you could enlighten the
authors as to the many joys of testing their
code on the many HP TestDrive systems. (It's
that, or do some actual work, I'd guess.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-07-2008 07:32 PM
тАО04-07-2008 07:32 PM
Re: Error building socat
fairly simply by creating your own ip.h in a
new directory:
dy # cat incl/netinet/ip.h
#include "/usr/include/netinet/in_systm.h"
#include "/usr/include/netinet/in.h"
#include "/usr/include/netinet/ip.h"
and mentioning this directory to "configure":
CPPFLAGS='-Iincl' ./configure
It also helps to take out the
#define WITH_IP6 1
in config.h before trying to use it ("make").
Getting past the "u_ip_mreq" problem appears
to require more effort, and I seem to be too
lazy to persue it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2008 01:40 PM
тАО06-07-2008 01:40 PM