delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/29/10:48:28

From: m DOT gregory AT rmit DOT edu DOT au (Mark A Gregory)
Subject: RE: results from building cygwin from source
29 Apr 1997 10:48:28 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC54E4.6113DE60.cygnus.gnu-win32@rem18.co.rmit.edu.au>
Mime-Version: 1.0
Original-To: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>,
"'wolfpack AT empire DOT net'"
<wolfpack AT empire DOT net>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Please help me with this compile error.  It seems to be ahppening in the link stage.
Thank you
Mark


gcc -o emp_client bit.o globals.o hpux.o login.o saveargv.o termio.o dtable.o handle.o ioqueue.o main.o servercmd.o termlib.o expect
..o host.o ipglob.o queue.o serverio.o   -ltermcap -lc
e:\cygnus\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/../../../../i386-cygwin32/lib/libcygwin.a(libccrt0.o)(.data+
0x4):libccrt0.cc: multiple definition of `environ'
e:\cygnus\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/../../../../i386-cygwin32/lib/libc.a(environ.o)(.data+0x4):e
nviron.c: first defined here
e:\cygnus\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/../../../../i386-cygwin32/lib/libcygwin.a(libccrt0.o)(.data+
0x0):libccrt0.cc: multiple definition of `_impure_ptr'
e:\cygnus\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/../../../../i386-cygwin32/lib/libc.a(impure.o)(.data+0x2ec):
impure.c: first defined here
main.o(.text+0x754):main.c: undefined reference to `termio'
servercmd.o(.text+0x816):servercmd.c: undefined reference to `termio'
make: *** [all] Error 1
make: *** [binaries] Error 2
make: *** [win32] Error 2
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019