Compiling socat-1.5 on tru64 4.0f

From: Roberto Mackun (Roberto.Mackun@poports.com.au)
Date: Tue Sep 12 2006 - 02:30:13 EDT


Hi Managers,

I'm attempting to compile socat 1.5 on Tru64 4.0f and currently hitting a
bring wall while compiling. I'm sure I'm just probably missing a specific
library but exactly what that is I'm not sure. I'm also receiving the same
errors on socat 1.4.3 and 1.3 so I'm pretty sure it's unlikely the socat
source bundle which is the problem.

The compile failure I get is:

...
...
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
xio-exec.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
xio-system.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
xio-termios.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
xio-readline.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
xio-pty.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
xio-openssl.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
xio-ascii.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
xiolockfile.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
xio-tcpwrap.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
xio-ext2.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c error.c
error.c: In function `diag_set':
error.c:103: warning: cast from pointer to integer of different size
error.c: In function `msg':
error.c:188: warning: long int format, different type arg (arg 3)
error.c:223: warning: implicit declaration of function `vsnprintf'
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c dalan.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
procan.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
sysutils.c
sysutils.c: In function `sockaddr_info':
sysutils.c:132: warning: implicit declaration of function `snprintf'
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c utils.c
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -c
nestlex.c
ar r libxio.a xioinitialize.o xiohelp.o xioparam.o xiodiag.o xioopen.o
xioopts.o
  xiosignal.o xiosigchld.o xioread.o xiowrite.o xiolayer.o xioshutdown.o
xioclo
se.o xioexit.o xio-process.o xio-fd.o xio-fdnum.o xio-stdio.o xio-pipe.o
xio-g
open.o xio-creat.o xio-file.o xio-named.o xio-socket.o xio-listen.o
xio-unix.o
xio-ip.o xio-ip4.o xio-ip6.o xio-ipapp.o xio-tcp.o xio-socks.o xio-proxy.o
xio-u
dp.o xio-rawip.o xio-progcall.o xio-exec.o xio-system.o xio-termios.o
xio-read
line.o xio-pty.o xio-openssl.o xio-ascii.o xiolockfile.o xio-tcpwrap.o
xio-ext
2.o error.o dalan.o procan.o sysutils.o utils.o nestlex.o
ar: Warning: creating libxio.a
ranlib libxio.a
gcc -O -D_GNU_SOURCE -Wall -Wno-parentheses -DHAVE_CONFIG_H -I. -o socat
socat.o libxio.a -lutil -lbsd -lrt
vsnprintf
snprintf
collect2: ld returned 1 exit status
*** Exit 1
Stop.

Unfortunately, there's not much info about this problem (or even socat on
Tru64) on the internet. I'm just wondering if anybody has managed to compile
socat successfully and if they could spare some pointers. Thanks!

Regards,
Bobby

Roberto Mackun
Senior UNIX Administrator
P&O Ports Limited
Sydney NSW
Australia 2000

*************************************************************************************************
"This e-mail and its attachments are intended for the named addressee only and no liability is accepted for use or reliance on any part of this e-mail by any other person. It is confidential, may be subject to privilege and is also subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. Any confidentiality or privilege is not waived or lost because this e-mail has been received by you and you are not the intended recipient. If you are not the intended recipient, please let us know by reply e-mail.

Please note that e-mails can be interfered with, can contain computer viruses or other defects and may not be successfully replicated on other systems. This footnote confirms that this e-mail message has been swept for the presence of computer viruses. However whilst the sender has taken reasonable precautions to minimise the risk of this email and any attachment containing viruses, we cannot accept liability for any such viruses and we give no warranties in relation to any of the above matters. If you have any doubts about the authenticity of this e-mail please contact the sender immediately. No responsibility is accepted for any changes made to a document other than those made by the sender."



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:31 EDT