Mud server

Sergey Okhapkin sos@prospect.com.ru
Sun Feb 16 01:04:00 GMT 1997


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".



More information about the Cygwin mailing list