results from building cygwin from source

Mark A Gregory m.gregory@rmit.edu.au
Tue Apr 29 04:28:00 GMT 1997


Please help me with this compile error.  It seems to be ahppening in the link stage.
Thank you
Mark


gcc -o emp_client bit.o globals.o hpux.o login.o saveargv.o termio.o dtable.o handle.o ioqueue.o main.o servercmd.o termlib.o expect
.o host.o ipglob.o queue.o serverio.o   -ltermcap -lc
e:\cygnus\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'
e:\cygnus\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/../../../../i386-cygwin32/lib/libc.a(environ.o)(.data+0x4):e
nviron.c: first defined here
e:\cygnus\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/../../../../i386-cygwin32/lib/libcygwin.a(libccrt0.o)(.data+
0x0):libccrt0.cc: multiple definition of `_impure_ptr'
e:\cygnus\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/cygnus-2.7.2-961023/../../../../i386-cygwin32/lib/libc.a(impure.o)(.data+0x2ec):
impure.c: first defined here
main.o(.text+0x754):main.c: undefined reference to `termio'
servercmd.o(.text+0x816):servercmd.c: undefined reference to `termio'
make: *** [all] Error 1
make: *** [binaries] Error 2
make: *** [win32] Error 2
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list