extra libraries required on SunOS
Status: Inactive
Brought to you by:
dr_maux
On SunOS, a standard compilation of ggz-config (in
ggz-client-libs) (and most likely any other GGZ
programs as well) fails. The reason is that a bunch of
symbols - including socket(), socketpair(), etc., are
undefined.
A quick "man socket" shows that extra libraries are
required to use socket functions. Adding "-lsocket
-lnsl" to LDADD solves this problem.
However, this is something that most likely needs to be
taken care of automatically by autoconf's macros.
workaround patch to get ggz-config to compile
Logged In: YES
user_id=2207
Use the appropriate checks from libggz.
AC_CHECK_FUNC(socket, ...
AC_CHECK_FUNC(gethostbyname, ...
AC_CHECK_FUNC(inet_ntoa, ...
Logged In: YES
user_id=87649
I tried adding AC_CHECK_FUNC(socket) as well as
AC_CHECK_FUNC([socket ...]). Neither added the missing
libraries to LDADD.
Logged In: YES
user_id=2207
Does this still happen?
I only have access to Solaris boxes with a quota of 10 MB...