delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/16/01:45:05

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: Mud server
16 Feb 1997 01:45:05 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC1BFF.53E77760.cygnus.gnu-win32@sos>
Original-To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Martin Winning'"
<iwinning AT innotts DOT co DOT uk>
Encoding: 23 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Martin Winning wrote:
> I am trying to build the Mordor mud server 3.0. It compiles fine, but
> linking produces the following errors:-
> 
> 
> C:\Gnu-win32\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'
> 
> C:\Gnu-win32\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/.
> ./..
> /../../i386-cygwin32/lib/libc.a(environ.o)(.data+0x4):environ.c: first
> defined here
> 
> Anyone got any Ideas?

Remove "-lc" from linker line. Default library libcygwin.a contains all libc.a code.

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job

-
For help on using this list, 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