Hello World:
                 I am trying to compile the net-snmpd 5.3 on a Solaris 10 
system. Below is a breakdown of the steps I have taken so far and the configure 
error message:
1. Installed Solaris 10 Rel 11-06 (SUNWCall)
2. Installed May 07 Recommended Patch Cluster.
3. Installed from Sunfreeware.com the following Solaris 10 packages:
gcc-3.4.6-sol10-sparc-local
libgcc-3.4.6-sol10-sparc-local
libiconv-1.11-sol10-sparc-local
openssl-0.9.7g-sol10-sparc-local
4. Un-Tarred the Net-SNMPD source code and ran the following configure command:
./configure --enable-static --disable-shared

Below is the error message and output from the config.log file. Please Please 
someone help me thru this!
RegBlade100# ./configure --enable-statci --disable-shared
checking what to build and install...  agent apps man local mibs
using default persistent mask 077
using default AgentX socket /var/agentx/master
using default "enterprise.net-snmp"
using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..."
using default notifications "NET-SNMP-MIB::netSnmpNotifications"
using OS default send buffer size for server sockets
using OS default recv buffer size for server sockets
using OS default send buffer size for client sockets
using OS default recv buffer size for client sockets
checking if I need to feed myself to ksh... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.


RegBlade100# ./configure --enable-statci --disable-shared
checking what to build and install...  agent apps man local mibs
using default persistent mask 077
using default AgentX socket /var/agentx/master
using default "enterprise.net-snmp"
using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..."
using default notifications "NET-SNMP-MIB::netSnmpNotifications"
using OS default send buffer size for server sockets
using OS default recv buffer size for server sockets
using OS default send buffer size for client sockets
using OS default recv buffer size for client sockets
checking if I need to feed myself to ksh... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Net-SNMP configure 5.4, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --enable-statci --disable-shared

## --------- ##
## Platform. ##
## --------- ##

hostname = RegBlade100
uname -m = sun4u
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_125100-07

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = RegBlade100
Release = 5.10
KernelID = Generic_125100-07
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

/bin/arch              = sun4
/usr/bin/arch -k       = sun4u
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/local/lib
PATH: /usrlocal/ssl
PATH: /usr/ccs/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/dt/bin
PATH: /usr/openwin/bin
PATH: /usr/ucb


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2037: checking what to build and install
configure:2039: result:  agent apps man local mibs
configure:2779: result: using default persistent mask 077
configure:2830: result: using default AgentX socket /var/agentx/master
configure:3031: result: using default "enterprise.net-snmp"
configure:3073: result: using default enterprise sysOID 
"NET-SNMP-MIB::netSnmpAgentOIDs..."
configure:3115: result: using default notifications 
"NET-SNMP-MIB::netSnmpNotifications"
configure:3279: result: using OS default send buffer size for server sockets
configure:3305: result: using OS default recv buffer size for server sockets
configure:3331: result: using OS default send buffer size for client sockets
configure:3357: result: using OS default recv buffer size for client sockets
configure:3452: checking if I need to feed myself to ksh
configure:3468: result: no
configure:3529: checking for gcc
configure:3545: found /usr/local/bin/gcc
configure:3555: result: gcc
configure:3799: checking for C compiler version
configure:3802: gcc --version </dev/null >&5
gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3805: $? = 0
configure:3807: gcc -v </dev/null >&5
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as 
--with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
configure:3810: $? = 0
configure:3812: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:3815: $? = 1
configure:3838: checking for C compiler default output file name
configure:3841: gcc  -I/usr/local/ssl/include  -L/usr/local/ssl/lib  conftest.c 
 >&5
collect2: ld terminated with signal 9 [Killed]
ld.so.1: ld: fatal: relocation error: file 
/usr/ccs/bin/../../../lib/libld.so.4: symbol dbg_desc: referenced symbol not 
found
ld.so.1: ld: fatal: relocation error: file /usr/ccs/bin/ld: symbol ld32_main: 
referenced symbol not found
configure:3844: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "Net-SNMP"
| #define PACKAGE_TARNAME "net-snmp"
| #define PACKAGE_VERSION "5.4"
| #define PACKAGE_STRING "Net-SNMP 5.4"
| #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]"
| #define NETSNMP_CONFIGURE_OPTIONS "'--enable-statci' '--disable-shared'"
| #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1
| #define NETSNMP_PERSISTENT_MASK 077
| #define NETSNMP_AGENTX_SOCKET "/var/agentx/master"
| #define NETSNMP_NO_DUMMY_VALUES 1
| #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3883: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_ac_ct_CC=gcc

## ----------------- ##
## Output variables. ##
## ----------------- ##

AGENTLIBS=''
AGENT_INCLUDES=''
ALLOCA=''
AR=''
AS=''
AUTOCONF=''
AUTOHEADER=''
CC='gcc'
CCPATH=''
CFLAGS=''
CONFIGURE_OPTIONS='"'--enable-statci' '--disable-shared'"'
COPY_PERSISTENT_FILES=''
CPP=''
CPPFLAGS='-I/usr/local/ssl/include '
CXX=''
CXXCPP=''
CXXFLAGS=''
DEFS=''
DEVFLAGS=''
DLLIBS=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EMBEDPERLINSTALL=''
EMBEDPERLUNINSTALL=''
ENV_SEPARATOR=''
EXEEXT=''
EXTRACPPFLAGS=''
F77=''
FFLAGS=''
FIND=''
GNU_vpath=''
HAVE_DMALLOC_H=''
HELPER_INCLUDES=''
INSTALL_DATA=''
INSTALL_PREFIX=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS='-L/usr/local/ssl/lib '
LIBCRYPTO=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOLFLAGS=''
LIBTOOL_DEPS=''
LINKCC=''
LN_S=''
LPSTAT_PATH=''
LTLIBOBJS=''
MAINSUBS=' agent apps man local mibs'
MIBGROUP_INCLUDES=''
NETSNMP_DEFAULT_MIBDIRS=''
NETSNMP_DEFAULT_MIBS=''
NON_GNU_VPATH=''
OBJDUMP=''
OBJEXT=''
OTHERAGENTLIBLOBJS=''
OTHERAGENTLIBOBJS=''
PACKAGE_BUGREPORT='[EMAIL PROTECTED]' 
PACKAGE_NAME='Net-SNMP'
PACKAGE_STRING='Net-SNMP 5.4'
PACKAGE_TARNAME='net-snmp'
PACKAGE_VERSION='5.4'
PATH_SEPARATOR=':'
PERLARGS=''
PERLINSTALLTARGS=''
PERLLDOPTS=''
PERLPROG=''
PERLTARGS=''
PERLUNINSTALLTARGS=''
PERSISTENT_DIRECTORY=''
PSCMD=''
PSPROG=''
PYTHONARGS=''
PYTHONCLEANTARGS=''
PYTHONINSTALLTARGS=''
PYTHONTARGS=''
PYTHONUNINSTALLTARGS=''
RANLIB=''
RELEASEVERSION=''
SED=''
SENSORLIBS=''
SET_MAKE=''
SHELL='/bin/bash'
SNMPCONFPATH=''
SNMPD='snmpd$(EXEEXT)'
SNMPLIBPATH=''
SNMPLIB_INCLUDES=''
SNMPSHAREPATH=''
STRIP=''
TOP_INCLUDES=''
TRAPLIBS='$(TRAPDWITHAGENT)'
UCDPERSISTENT_DIRECTORY=''
UNAMEPROG=''
USETRAPLIBS='$(USEAGENTLIBS)'
VERSION=''
WHOAMI=''
WRAPLIBS=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
default_mibs_install=''
dllcleans=''
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
installucdheaders=''
installucdlibs=''
krb5_config=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
other_agentobjs=''
other_lagentobjs=''
other_lobjs_list=''
other_objs_list=''
other_src_list=''
other_trapd_objects=''
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
security_hdr_list=''
security_lobj_list=''
security_obj_list=''
security_src_list=''
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target=''
target_alias=''
target_cpu=''
target_os=''
target_vendor=''
transport_hdr_list=''
transport_lobj_list=''
transport_obj_list=''
transport_src_list=''

## ------------- ##
## Output files. ##
## ------------- ##

MODULE_LIST=''
agent_module_list=''
agent_module_list_c=''
agent_module_list_deps=''
agent_module_list_lo=''
agent_module_list_o=''
agentgroup_list_lo=''
agentgroup_list_o=''
mib_module_list_c=''
mib_module_list_deps=''
mib_module_list_lo=''
mib_module_list_o=''
mibgroup_list_lo=''
mibgroup_list_o=''
module_list_c=''
module_list_deps=''
module_list_lo=''
module_list_o=''
module_rules=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define NETSNMP_AGENTX_SOCKET "/var/agentx/master"
#define NETSNMP_CONFIGURE_OPTIONS "'--enable-statci' '--disable-shared'"
#define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1
#define NETSNMP_NO_DUMMY_VALUES 1
#define NETSNMP_PERSISTENT_MASK 077
#define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1
#define PACKAGE_BUGREPORT "[EMAIL PROTECTED]"
#define PACKAGE_NAME "Net-SNMP"
#define PACKAGE_STRING "Net-SNMP 5.4"
#define PACKAGE_TARNAME "net-snmp"
#define PACKAGE_VERSION "5.4"

configure: exit 77


-----------------------------------------------------------------------
This e-mail is intended for the addressee shown. 
It contains information that is confidential and 
protected from disclosure. Any review, dissemination 
or use of this transmission or its contents by persons 
or unauthorized employees of the intended organizations 
is strictly prohibited. 

The contents of this email do not necessarily represent 
the views or policies of PSCU Financial Services.



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to