[Sfw-team] [OpenIndiana Distribution - Bug #1078] illumos-gate build issues on oi_151
illumos project
devnull at illumos.org
Tue Jun 21 10:38:49 UTC 2011
Issue #1078 has been updated by Bayard Bell.
% Done changed from 0 to 50
The only other striking difference here is the choice of compilers:
<pre>
buffyg at buffyg.uk.openindiana.org:~/code/sfw-gate$ diff /usr/include/net-snmp/net-snmp-config.h proto/root_i386/usr/include/net-snmp/net-snmp-config.h
71c71
< #define HAVE_CPP_UNDERBAR_FUNCTION_DEFINED 1
---
> /* #undef HAVE_CPP_UNDERBAR_FUNCTION_DEFINED */
101c101
< #define KERNEL_LOC "/dev/ksyms"
---
> #define KERNEL_LOC "unknown"
114c114
< #define UNAMEPROG "/sbin/uname"
---
> #define UNAMEPROG "/usr/bin/uname"
1603c1603
< #define NETSNMP_CONFIGURE_OPTIONS "'--prefix=/usr' '--with-default-snmp-version=3' '--with-sys-contact=root at localhost' '--with-sys-location=Unknown' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/var/net-snmp' '--datadir=/etc/net-snmp' '--mandir=/usr/share/man' '--with-mibdirs=/etc/net-snmp/snmp/\
mibs' '--enable-agentx-dom-sock-only' '--enable-ucd-snmp-compatibility' '--enable-ipv6' '--enable-mfd-rewrites' '--with-transports=UDP TCP UDPIPv6 TCPIPv6' '--with-mib-modules=host disman/event-mib ucd-snmp/diskio udp-mib tcp-mib if-mib' '--with-pkcs=/usr/lib' '--with-perl-modules=DESTDIR= INSTALLDIRS=vendor' '--with\
-ldflags=-R/usr/lib' '--libdir=/usr/lib' 'CC=/opt/sunstudio12.1/bin/cc' 'CFLAGS=-xO3 -m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all ' 'CXX=/opt/sunstudio12.1/bin/CC'"
---
> #define NETSNMP_CONFIGURE_OPTIONS "'--prefix=/usr' '--with-default-snmp-version=3' '--with-sys-contact=root at localhost' '--with-sys-location=Unknown' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/var/net-snmp' '--datadir=/etc/net-snmp' '--mandir=/usr/share/man' '--with-mibdirs=/etc/net-snmp/snmp/\
mibs' '--enable-agentx-dom-sock-only' '--enable-ucd-snmp-compatibility' '--enable-ipv6' '--enable-mfd-rewrites' '--with-transports=UDP TCP UDPIPv6 TCPIPv6' '--with-mib-modules=host disman/event-mib ucd-snmp/diskio udp-mib tcp-mib if-mib' '--with-pkcs=/usr/lib' '--with-perl-modules=DESTDIR= INSTALLDIRS=vendor' '--with\
-ldflags=-R/usr/lib' '--libdir=/usr/lib' 'CC=/opt/SUNWspro/bin/cc' 'CFLAGS=-xO3 -m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all ' 'CXX=/opt/SUNWspro/bin/CC'"
</pre>
I'd propose to patch the current file to resolve the diff as follows.
<pre>
buffyg at buffyg.uk.openindiana.org:~/code/sfw-gate$ diff /usr/include/net-snmp/net-snmp-config.h proto/root_i386/usr/include/net-snmp/net-snmp-config.h
71c71
< #define HAVE_CPP_UNDERBAR_FUNCTION_DEFINED 1
---
> /* #undef HAVE_CPP_UNDERBAR_FUNCTION_DEFINED */
1603c1603
< #define NETSNMP_CONFIGURE_OPTIONS "'--prefix=/usr' '--with-default-snmp-version=3' '--with-sys-contact=root at localhost' '--with-sys-location=Unknown' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/var/net-snmp' '--datadir=/etc/net-snmp' '--mandir=/usr/share/man' '--with-mibdirs=/etc/net-snmp/snmp/\
mibs' '--enable-agentx-dom-sock-only' '--enable-ucd-snmp-compatibility' '--enable-ipv6' '--enable-mfd-rewrites' '--with-transports=UDP TCP UDPIPv6 TCPIPv6' '--with-mib-modules=host disman/event-mib ucd-snmp/diskio udp-mib tcp-mib if-mib' '--with-pkcs=/usr/lib' '--with-perl-modules=DESTDIR= INSTALLDIRS=vendor' '--with\
-ldflags=-R/usr/lib' '--libdir=/usr/lib' 'CC=/opt/sunstudio12.1/bin/cc' 'CFLAGS=-xO3 -m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all ' 'CXX=/opt/sunstudio12.1/bin/CC'"
---
> #define NETSNMP_CONFIGURE_OPTIONS "'--prefix=/usr' '--with-default-snmp-version=3' '--with-sys-contact=root at localhost' '--with-sys-location=Unknown' '--with-logfile=/var/log/snmpd.log' '--with-persistent-directory=/var/net-snmp' '--datadir=/etc/net-snmp' '--mandir=/usr/share/man' '--with-mibdirs=/etc/net-snmp/snmp/\
mibs' '--enable-agentx-dom-sock-only' '--enable-ucd-snmp-compatibility' '--enable-ipv6' '--enable-mfd-rewrites' '--with-transports=UDP TCP UDPIPv6 TCPIPv6' '--with-mib-modules=host disman/event-mib ucd-snmp/diskio udp-mib tcp-mib if-mib' '--with-pkcs=/usr/lib' '--with-perl-modules=DESTDIR= INSTALLDIRS=vendor' '--with\
-ldflags=-R/usr/lib' '--libdir=/usr/lib' 'CC=/opt/SUNWspro/bin/cc' 'CFLAGS=-xO3 -m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all ' 'CXX=/opt/SUNWspro/bin/CC'"
</pre>
----------------------------------------
Bug #1078: illumos-gate build issues on oi_151
https://www.illumos.org/issues/1078
Author: Bryan Leaman
Status: New
Priority: Urgent
Assignee: OI SFW
Category:
Target version: oi_151
Difficulty: Medium
Tags: snmp
There appears to be some issues when building illumos-gate on oi_151. The environment I'm using is a fresh install from the oi-dev-151-text-x86-20110526-1.iso image. I'm using illumos-gate as of d89753efabc8 (same changeset as oi_151) with all of the mq_onnv-gate patches in branch oi151.
Two issues I've seen so far:
1) Bug #495 is back, causing the following errors: <pre>undefined symbol: __FUNCTION__</pre>http://www.illumos.org/issues/495
Manually fixing /usr/include/net-snmp/net-snmp-config.h worked around this problem.
2) I'm getting getting lots of "unused search path" errors during the runtime check. See attached mail_msg file.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account
More information about the Sfw-team
mailing list