Delivered-To: listarch-cygwin AT sourceware DOT cygnus DOT com Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Juergen Lock Message-Id: <199902082057.VAA04596@saturn.hb.north.de> Subject: Re: cross compiler build fail (multiple definition of `fhandler_base::get_native_name(void)', and more) In-Reply-To: <199902071920.NAA08870@modi.xraylith.wisc.edu> from Mumit Khan at "Feb 7, 99 01:20:23 pm" To: khan AT xraylith DOT wisc DOT EDU (Mumit Khan) Date: Mon, 8 Feb 1999 21:57:18 +0100 (MET) Cc: gnu-win32 AT cygnus DOT com X-Mailer: ELM [version 2.4ME+ PL29 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Mumit Khan writes: > Juergen Lock writes: > > Hello all! [...] > It's a good idea to browse/search the mailing list archives before asking > for this type of information, and I suggest you do just that before=20 > spending more time on this. I've posted detailed instructions on how to= =20 > do this to the list. >=20 > To search the list, visit: >=20 > http://sourceware.cygnus.com/ml/cygwin/ I did try that but not hard enough i guess... (didn't come up with the right search keywords) >=20 > For your particular problem: >=20 > http://www.cygnus.com/ml/gnu-win32/1999-Jan/0572.html Thanx! Do i need egcs, how is it better than the vanilla gcc that comes with the dev-src.tar.bz2? I didnt know about the CROSS directory, did everything in the `root' directory (.../src) until now (had to symlink Makefile.in from .. btw) >=20 > > I have built gnu-win32 as a cross compiler on FreeBSD, and now while t= rying > > to update from b17 to b20.1 i came across the following link problem: >=20 > You need to upgrade the development tools (compiler, binutils) tools as w= ell. I have re-started from scratch in CROSS now but still got a link problem (see below). > Also, the target is i586-cygwin32, not i386-unknown-cygwin32; you need > this for various reasons. Umm. Does that mean the target machine cant be a 486? or would i486-cygwin32 also work? Thanx and cheers, Juergen (still not subscribed it seems, or is the list that low-volume? i specified a different mail address (alias), maybe thats the reason why it takes longer...) ----cut-here------ /www/usrw/home5/nox/Arch4/ports/devel/gnu-win32-20.1/work/gnu-win32/src/CRO= SS/ld/ld-new --base-file=3Dcygwin.base -s -o /dev/null --dll setjmp.o longj= mp.o ../libiberty/random.o ../libiberty/strsignal.o regexp/regexp.o regexp/= regerror.o regexp/regsub.o asse= rt.o dcrt0.o debug.o delqueue.o dir.o dlfcn.o dll_init.o environ.o errno.o = exceptions.o exec.o external.o fcntl.o fhandler.o fhandler_console.o fhandl= er_serial.o fhandler_tty.o fhandler_windows.o fork.o glob.o grp.o heap.o hi= nfo.o init.o ioctl.o malloc.o= mmap.o net.o ntea.o passwd.o path.o pinfo.o pipe.o registry.o resource.o s= ecurity.o select.o shared.o signal.o sigproc.o smallprint.o spawn.o strace.= o strsep.o syscalls.o sysconf.o syslog.o termios.o times.o tty.o uinfo.o u= name.o wait.o window.o versio= n.o libkernel32.a libuser32.a libgdi32.a libadvapi32.a libcomdlg32.a libnet= api32.a ../newlib/libm.a /www/usrw/home5/nox/Arch4/ports/devel/gnu-win32-20= .1/work/gnu-win32/src/CROSS/gcc/libgcc.a ../newlib/libc.a /www/usrw/home5/n= ox/Arch4/ports/devel/gnu-win3= 2-20.1/work/gnu-win32/src/CROSS/gcc/libgcc.a -e _dll_entry AT 12 --image-base= =3D0x61000000 /www/usrw/home5/nox/Arch4/ports/devel/gnu-win32-20.1/work/gnu-win32/src/CRO= SS/gcc/libgcc.a(tinfo2.o): In function `_tf16__func_type_info': /www/usrw/home5/nox/Arch4/ports/devel/gnu-win32-20.1/work/gnu-win32/src/CRO= SS/gcc/../../gcc/cp/tinfo2.cc(.text$__tf16__user_type_info+0x0): multiple d= efinition of `__user_type_info type_info function' /www/usrw/home5/nox/Arch4/ports/devel/gnu-win32-20.1/work/gnu-win32/src/CRO= SS/gcc/libgcc.a(tinfo.o)(.text$__tf16__user_type_info+0x0):/www/usrw/home5/= nox/Arch4/ports/devel/gnu-win32-20.1/work/gnu-win32/src/CROSS/gcc/../../gcc= /cp/tinfo.cc: first defined h= ere /www/usrw/home5/nox/Arch4/ports/devel/gnu-win32-20.1/work/gnu-win32/src/CRO= SS/gcc/libgcc.a(tinfo2.o): In function `_tf16__func_type_info': /www/usrw/home5/nox/Arch4/ports/devel/gnu-win32-20.1/work/gnu-win32/src/CRO= SS/gcc/../../gcc/cp/tinfo2.cc(.text$__tf9type_info+0x0): multiple definitio= n of `type_info type_info function' /www/usrw/home5/nox/Arch4/ports/devel/gnu-win32-20.1/work/gnu-win32/src/CRO= SS/gcc/libgcc.a(tinfo.o)(.text$__tf9type_info+0x0):/www/usrw/home5/nox/Arch= 4/ports/devel/gnu-win32-20.1/work/gnu-win32/src/CROSS/gcc/../../gcc/cp/tinf= o.cc: first defined here gmake[1]: *** [new-cygwin1.dll] Error 1 gmake[1]: Leaving directory `/www/usrw/home5/nox/Arch4/ports/devel/gnu-win3= 2-20.1/work/gnu-win32/src/CROSS/i386-unknown-cygwin32/winsup' gmake: *** [all-target-winsup] Error 2 *** Error code 2 Stop. *** Error code 1 Stop. *** Error code 1 Stop. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com