pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/help More examples of "Undefined Symbol" from Solar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dbdd262deeb2
branches:  trunk
changeset: 535792:dbdd262deeb2
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Nov 29 09:13:30 2007 +0000

description:
More examples of "Undefined Symbol" from Solaris 10.

diffstat:

 mk/help/undefined-reference.help |  85 +++++++++++++++++++++++++++++++++++++--
 1 files changed, 79 insertions(+), 6 deletions(-)

diffs (106 lines):

diff -r c3bedb5635cc -r dbdd262deeb2 mk/help/undefined-reference.help
--- a/mk/help/undefined-reference.help  Thu Nov 29 08:53:14 2007 +0000
+++ b/mk/help/undefined-reference.help  Thu Nov 29 09:13:30 2007 +0000
@@ -1,5 +1,26 @@
-# $NetBSD: undefined-reference.help,v 1.3 2007/11/23 01:29:28 rillig Exp $
+# $NetBSD: undefined-reference.help,v 1.4 2007/11/29 09:13:30 rillig Exp $
+#
+# This file covers the common linker failures. For each function, it
+# describes the needed libraries. There are many ways to get the
+# libraries linked in. The most common ways are:
+#
+# Add a definition for LIBS.${OPSYS} to the package Makefile. For example,
+# "LIBS.SunOS+= -lsocket -lnsl".
+#
+# Modify some Makefile inside ${WRKSRC}. Since the libraries are usually
+# platform-dependent, be sure not to break other platforms when modifying
+# the Makefiles. The most portable way is to use the @LIBS@ macro from
+# autoconf and define LIBS.${OPSYS} like in the paragraph above.
+#
+# Keywords: libs undefined
 
+# === Internationalization ===
+
+# _
+# libintl_gettext
+# libintl_textdomain
+# libintl_bindtextdomain
+#
 # When the linker finds an undefined reference to one of the libintl_*
 # functions, and the package uses a GNU configure script, you should set
 # BROKEN_GETTEXT_DETECTION=yes and "bmake clean && bmake" again.
@@ -7,17 +28,69 @@
 # See also:
 #      devel/gettext-lib/builtin.mk
 #
-# Keywords: intl lintl -lintl gettext libintl_gettext
+# Keywords: intl lintl -lintl gettext
+
+# === Networking ===
 
 # gethostbyname
+# gethostbyaddr
 #
 # Needs -lnsl on Solaris
 
 # socket
 #
-# Needs -lsocket on Solaris
+# Needs -lsocket on Solaris.
+
+# accept
+# bind
+# connect
+# getservbyname
+# getservbyport
+# getservent
+# recv
+# recvfrom
+# send
+# sendto
+#
+# Needs -lsocket -lnsl on Solaris.
+
+# sendfile
+#
+# Needs -lsendfile on Solaris.
+
+# inet_aton
+#
+# Solaris doesn't have this function. You can use inet_pton(AF_INET,
+# name, &addr) instead.
+
+# gethostbyname2
+#
+# Solaris doesn't have this function.
 
-# asprintf
+# === String functions ===
+
+# strcasestr
+# strndup
+# strsep
 #
-# Add USE_FEATURES+=asprintf to the package Makefile, "bmake clean" and
-# try again.
+# Solaris doesn't have this function.
+
+# === Mathematics ===
+
+# ceil
+# cos
+# exp
+# fabs
+#
+# Needs -lm on about every platform.
+
+# === Miscellaneous ===
+
+# alloca
+#
+# Should be replaced with malloc. XXX: claraocr
+
+# wattr_off
+# wattr_on
+#
+# XXX: cpmtools



Home | Main Index | Thread Index | Old Index