problem Compiling socat on Tru64 4.0f

From: Yunus Mansuri (yunus.mansuri_at_poports.com.au)
Date: 02/11/04

  • Next message: Manore: "problem with 39160 SCSI Card"
    Date: 10 Feb 2004 19:58:33 -0800
    
    

    Hi Everyone,
    I am trying to install socat on Tru64 Ver 4.0f uing gcc and I have
    stuck with while linking it with the following error messages

    vsnprintf
    snprintf
    collect2: ld returned 1 exit status
    *** Exit 1
    ...
    Do you have any direction on this ... (i.e. if some libraries would be
    needed ...

    Thanks for your help
    Yunus Mansuri

    popdev # make
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c socat.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xioinitialize.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xiohelp.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xioparam.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xiodiag.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xioopen.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xioopts.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xiosigchld.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xioread.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xiowrite.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xiolayer.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xioshutdown.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xioclose.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xioexit.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-process.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-fd.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-fdnum.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-stdio.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-pipe.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-gopen.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-creat.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-file.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-named.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-socket.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-listen.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-unix.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-ip.c
    xio-ip.c: In function `parserange':
    xio-ip.c:219: warning: pointer/integer type mismatch in conditional
    expression
    xio-ip.c:235: warning: pointer/integer type mismatch in conditional
    expression
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-ip4.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-ip6.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-ipapp.c
    xio-ipapp.c: In function `xioopen_ip4app_listen':
    xio-ipapp.c:127: warning: pointer/integer type mismatch in conditional
    expressio
    n
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-tcp.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-socks.c
    xio-socks.c: In function `xioopen_socks4_connect':
    xio-socks.c:85: warning: pointer/integer type mismatch in conditional
    expression
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-proxy.c
    xio-proxy.c: In function `xioopen_proxy_connect':
    xio-proxy.c:139: warning: pointer/integer type mismatch in conditional
    expressio
    n
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-udp.c
    xio-udp.c: In function `xioopen_ipdgram_listen':
    xio-udp.c:81: warning: pointer/integer type mismatch in conditional
    expression
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-rawip.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-progcall.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-exec.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-system.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-termios.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-readline.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-pty.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-openssl.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c xio-ascii.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c error.c
    error.c: In function `diag_set':
    error.c:97: warning: cast from pointer to integer of different size
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c dalan.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c procan.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c sysutils.c
    sysutils.c: In function `_parseip4addr':
    sysutils.c:372: warning: pointer/integer type mismatch in conditional
    expression
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c utils.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c filan.c
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c sycls.c
    sycls.c: In function `Initgroups':
    sycls.c:258: warning: passing arg 1 of `initgroups' discards
    qualifiers from poi
    nter target type
    sycls.c: In function `Setgroups':
    sycls.c:279: warning: passing arg 2 of `setgroups' discards qualifiers
    from poin
    ter target type
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -c sslcls.c
    ar r libxio.a xioinitialize.o xiohelp.o xioparam.o xiodiag.o xioopen.o
    xioopts.o
     xiosigchld.o xioread.o xiowrite.o xiolayer.o xioshutdown.o
    xioclose.o xioexit.
    o xio-process.o xio-fd.o xio-fdnum.o xio-stdio.o xio-pipe.o
    xio-gopen.o xio-cr
    eat.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-udp.o xio-raw
    ip.o xio-progcall.o xio-exec.o xio-system.o xio-termios.o
    xio-readline.o xio-p
    ty.o xio-openssl.o xio-ascii.o error.o dalan.o procan.o sysutils.o
    utils.o fila
    n.o sycls.o sslcls.o
    ar: Warning: creating libxio.a
    ranlib libxio.a
    gcc -O -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -o socat socat.o libxio.a
    -lutil -lbs
    d
    vsnprintf
    snprintf
    collect2: ld returned 1 exit status
    *** Exit 1
    Stop.
    popdev #


  • Next message: Manore: "problem with 39160 SCSI Card"

    Relevant Pages

    • Re: [request for help/code] simple "packet loss" measuring in C/C++
      ... just ignore exit() warning ... my actual knowledge) that ping.c doesn't compile using the gcc compiler, ... ping.c:203: warning: passing argument 2 of 'select' from incompatible ...
      (comp.unix.programmer)
    • Mysql errors
      ... exit; ... mail($alertaddress," Commerce System ALERT"," Commerce System has 10 serial ... Warning: Can't connect to local MySQL server through socket ... Warning: MySQL Connection Failed: Can't connect to local MySQL server ...
      (alt.php)
    • Re: [SLE] Checkinstall error
      ... libtool: link: warning: ... *** No rule to make target `install-strip'. ... Bad exit status from /var/tmp/rpm-tmp.7412 ...
      (SuSE)
    • informations for C:WINDOWSsystem32wbem
      ... Warning! ... User name at exit!= user name at entry ... permissions to read indirect registration registry area!!! ...
      (microsoft.public.security)
    • Re: [Q] "Value assigned to is never used"... (Longish post)
      ... > A more concrete example below (Apologies for the long post). ... > the following method is heaps easy. ... the line Result:= FALSE since you might escape by using Exit. ... warning: Return value of function '' might be undefined. ...
      (borland.public.delphi.language.objectpascal)