FreeBSD/Solaris and -lc

Francois Gouget fgouget at
Sun Mar 31 21:47:18 CST 2002

   When I compile Wine on FreeBSD and Solaris I keep getting 'undefined
sybol' errors for all the C library symbols. So I usually add the
following to ''.

RCS file: /home/wine/wine/,v
retrieving revision 1.14
diff -u -r1.14
---	31 Mar 2002 19:23:41 -0000	1.14
+++	31 Mar 2002 20:45:37 -0000
@@ -77,6 +77,8 @@
 dnl **** Check for some libraries ****
+dnl Check for -lc for FreeBSD and Solaris
 dnl Check for -lm
 dnl Check for -li386 for NetBSD and OpenBSD

   But is it the right eay to do things? What worries me is that I found
some messages related to libtool that claim that -lc should not be
explicitly linked in on FreeBSD (and OpenBSD):

   But maybe things are different if you use -symbolic.

François Gouget
fgouget at

More information about the wine-devel mailing list