[prev in list] [next in list] [prev in thread] [next in thread]
List: net-snmp-support
Subject: [ net-snmp-Support Requests-409790 ] Perl mod compile - `defaultValue' ?
From: noreply () sourceforge ! net
Date: 2001-03-23 17:40:22
[Download RAW message or body]
Support Requests item #409790, was updated on 2001-03-19 09:43
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=212694&aid=409790&group_id=12694
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: John Tomaszewski (jtomasz)
Assigned to: Nobody/Anonymous (nobody)
Summary: Perl mod compile - `defaultValue' ?
Initial Comment:
I'm just getting started compiling ucd-snmp-4.2
and the included perl/snmp module on a Linux/RedHat 7
system. Ucd-Snmp configures and compiles just fine
but the perl mod compile yields:
[root@nmr3 SNMP]# make
mkdir blib
mkdir blib/lib
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/SNMP
mkdir blib/lib/auto
mkdir blib/lib/auto/SNMP
cp SNMP.pm blib/lib/SNMP.pm
AutoSplitting blib/lib/SNMP.pm (blib/lib/auto/SNMP)
/usr/bin/perl -I/usr/lib/perl5/5.00503/i686-linux -
I/usr/lib/perl5/5.00503 /usr/lib/perl5/5.00503/ExtUtils
/xsubpp -noprototypes -
typemap /usr/lib/perl5/5.00503/ExtUtils/typemap -
typemap typemap SNMP.xs >xstmp.c && mv xstmp.c SNMP.c
gcc -c -I/usr/include -Dbool=char -DHAS_BOOL -
I/usr/local/include -O2 -DVERSION=\4.2.0\ -
DXS_VERSION=\4.2.0\ -fpic -
I/usr/lib/perl5/5.00503/i686-linux/CORE SNMP.c
SNMP.xs: In function `__translate_appl_type':
SNMP.xs:331: `TYPE_INTEGER32' undeclared (first use in
this function)
SNMP.xs:331: (Each undeclared identifier is reported
only once
SNMP.xs:331: for each function it appears in.)
SNMP.xs:333: `TYPE_UNSIGNED32' undeclared (first use
in this function)
SNMP.xs:364: `TYPE_NOTIFTYPE' undeclared (first use in
this function)
SNMP.xs: In function `__get_type_str':
SNMP.xs:581: `TYPE_INTEGER32' undeclared (first use in
this function)
SNMP.xs:584: `TYPE_UNSIGNED32' undeclared (first use
in this function)
SNMP.xs:624: `TYPE_NOTIFTYPE' undeclared (first use in
this function)
SNMP.xs: In function `XS_SNMP__MIB__NODE_FETCH':
SNMP.xs:4548: structure has no member named `varbinds'
SNMP.xs:4548: dereferencing pointer to incomplete type
SNMP.xs:4549: dereferencing pointer to incomplete type
SNMP.xs:4549: dereferencing pointer to incomplete type
SNMP.xs:4557: structure has no member named
`defaultValue'
make: *** [SNMP.o] Error 1
I tried with both Perl 5.6 (RedHat install) and a
freshly compiled 5.005_03. Both gave the same result.
Any help would be greatly appreciated.
Sincerely,
John T.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2001-03-23 09:40
Message:
Logged In: NO
I am also experiencing this under my system. Redhat 7. 2.2
kernel. I have tried make clean and them make again.
Still no success. I have also tried rebuilding the main
UCD package and then tried to rebuild the perl module again
to no avail.
I have posted with respect to this issue at the net-snmp-
users list.
Davide
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2001-03-23 02:41
Message:
Logged In: NO
I get the same problem when compile the SNMP perl module in my RedHat Linux 6.2. I tried to figure
out whether it is caused by wrong version or missing some library but unsuccessful. Could anyone give me
any hints to fix it ?
Many thanks,
Alan P
Below is information of our Perl configuration :
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='gcc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Mar 23 2001 14:20:54
@INC:
/usr/local/lib/perl5/5.6.0/i686-linux
/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/i686-linux
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=212694&aid=409790&group_id=12694
_______________________________________________
Net-snmp-support mailing list
Net-snmp-support@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/net-snmp-support
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic