This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Mud server
- To: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>, "'Martin Winning'" <iwinning at innotts dot co dot uk>
- Subject: RE: Mud server
- From: Sergey Okhapkin <sos at prospect dot com dot ru>
- Date: Sun, 16 Feb 1997 11:47:06 +0300
- Encoding: 23 TEXT
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@cygnus.com" with one line of text: "help".