SF.net SVN: gar:[24722] csw/mgar/pkg/netsnmp/trunk/Makefile

hjb001 at users.sourceforge.net hjb001 at users.sourceforge.net
Sun Mar 15 19:50:21 CET 2015


Revision: 24722
          http://sourceforge.net/p/gar/code/24722
Author:   hjb001
Date:     2015-03-15 18:50:20 +0000 (Sun, 15 Mar 2015)
Log Message:
-----------
netsnmp/trunk: PACKAGING_PLATFORM commented out - Sol 11 doesn't build
remarks about special mapfile

Modified Paths:
--------------
    csw/mgar/pkg/netsnmp/trunk/Makefile

Modified: csw/mgar/pkg/netsnmp/trunk/Makefile
===================================================================
--- csw/mgar/pkg/netsnmp/trunk/Makefile	2015-03-13 16:05:33 UTC (rev 24721)
+++ csw/mgar/pkg/netsnmp/trunk/Makefile	2015-03-15 18:50:20 UTC (rev 24722)
@@ -69,7 +69,8 @@
 BUILD_DEP_PKGS += CSWpython-dev
 BUILD_DEP_PKGS += CSWpython27-dev
 
-PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386 solaris11-sparc solaris11-i386
+### 20150312/hjb - solaris 11 doesn't build
+#PACKAGING_PLATFORMS += solaris10-sparc solaris10-i386 solaris11-sparc solaris11-i386
 
 INITSMF = $(sysconfdir)/init.d/netsnmpd
 INITSMF += $(sysconfdir)/init.d/netsnmptrapd
@@ -187,6 +188,14 @@
 # EXTRA_LINKER_FLAGS = $(RUNPATH_LINKER_FLAGS) -xnorunpath
 # EXTRA_LDFLAGS = $(LD_OPTIONS)
 #map file broken somehow user special on
+# 20150316/hjb this is due to a "bug" in ld which fails if a mapfile
+# is specified twice to -M. That happens here because LD_OPTIONS is set
+# during build of python modules - the compiler/linker flags are inherited
+# from pythons' build itself - so we end up with -M <mapfile> set twice.
+# ld then complains about ADDVERS beeing specified but not used, even if
+# it should just ignore that. Note this only happens with libs that are
+# explicitely linked via -l<lib>, -lnsl in this case.
+# The special mapfile contains no libnsl.so specification to "solve" this.
 LINKER_MAPS ?= -M "$(abspath $(WORKDIR)/map.special)"
 
 CONFIGURE_ARGS_mm-32  = --disable-embedded-perl

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list