Mail Archives: cygwin/1997/02/16/01:45:05
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 -