This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Mud server


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]