Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2002 12:45:29 +1000
From:      Robert Backhaus <robbak@comnorth.com.au>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Build Wine on 4.7 -  undefined reference to *
Message-ID:  <200210300245.MAA51309@mx.znet.net.au>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210300245.MAA51309>