From owner-freebsd-questions Tue Oct 29 21:54: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2284337B401 for ; Tue, 29 Oct 2002 21:54:00 -0800 (PST) Received: from mx.znet.net.au (mx.znet.net.au [203.87.59.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B986C43E7B for ; Tue, 29 Oct 2002 21:53:44 -0800 (PST) (envelope-from robbak@comnorth.com.au) Received: from there (dialup-6.10.221.203.acc03-apli-cai.comindico.com.au [203.221.10.6]) by mx.znet.net.au (8.9.3/8.9.3) with SMTP id MAA51309 for ; Wed, 30 Oct 2002 12:45:14 +1000 (EST) (envelope-from robbak@comnorth.com.au) Message-Id: <200210300245.MAA51309@mx.znet.net.au> Content-Type: text/plain; charset="iso-8859-1" From: Robert Backhaus Reply-To: robbak@comnorth.com.au Organization: Robert Backhaus To: freebsd-questions@FreeBSD.ORG Subject: Build Wine on 4.7 - undefined reference to * Date: Wed, 30 Oct 2002 12:45:29 +1000 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG When I am building wine from the current port, I get lots of `undefined reference to..' messages, including to things as basic as strcpy. Although the build & install does not stop, I am getting nowhere trying to use wine. Does anyone know if these messages are normal, and how I may be able to fix them? My searching has yealded nothing but reams of unrelated verbiage. Some similar faults were suggested as linker errors, or library versions. Some details: uname -a FreeBSD swegg.robbak.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Oct 26 09:55:36 EST 2002 robbak@swegg.robbak.com:/usr/obj/usr/src/sys/SWEGG i386 If someone will tell me how to get the gcc & Libraries versions, I will include them. Over-long sample of errors - cc -shared -Wl,-Bsymbolic glu32.spec.o glu.o glu32.dll.dbg.o -o glu32.dll.so -L../../dlls -L../../library -lwine -L/usr/X11R6/lib -lSM -lICE -lXxf86dga -lXxf86vm -lXv -lGL -lGLU -lXext -lX11 -lm -Wl,-rpath,/usr/local/lib/wine^M /usr/lib/libgcc.a(_op_vdel.o): In function `__builtin_vec_delete':^M _op_vdel.o(.text+0x45): undefined reference to `free'^M /usr/lib/libgcc.a(_op_delete.o): In function `__builtin_delete':^M _op_delete.o(.text+0x45): undefined reference to `free'^M /usr/lib/libgcc.a(_op_new.o): In function `__builtin_new':^M _op_new.o(.text+0x1aa): undefined reference to `malloc'^M /usr/lib/libgcc.a(exception.o): In function `__eh_alloc':^M exception.o(.text+0xa5): undefined reference to `malloc'^M /usr/lib/libgcc.a(exception.o): In function `__eh_free':^M exception.o(.text+0xc9): undefined reference to `free'^M /usr/lib/libgcc.a(tinfo2.o): In function `type_info::before(type_info const &) const':^M tinfo2.o(.text+0x14): undefined reference to `strcmp'^M /usr/lib/libgcc.a(tinfo.o): In function `type_info::operator==(type_info const &) const':^M tinfo.o(.text+0x3f): undefined reference to `strcmp'^M I have a complete script(1) of that if anyone would like me to grep(1) it for something. My Appologies to those who also follow bsdforums.org. -- The Beauty of young men is their power. Proverbs 20:29 Power is the rate of doing work Science Textbook Young people hardly do any work these days... Conventional Wisdom......? The opinions Expressed herein do not necessarily reflect those of the author. Robert Backhaus To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message