RE: Problems building 5.4 on Linux

This is a discussion on RE: Problems building 5.4 on Linux within the SNMP Coders forums, part of the Networking and Network Related category; Hello Thank you for your help. I was able to proceed by installing the elfutils-l= ibelf-devel package. But ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-28-2007
Eirik Nordbrøden
 
Posts: n/a
Default RE: Problems building 5.4 on Linux

Hello

Thank you for your help. I was able to proceed by installing the elfutils-l=
ibelf-devel package. But now an other problem has shown up. I get the follo=
wing error message when building the perl modules:

make[2]: Entering directory `/home/eno/prj/open-source/net-snmp/net-snmp-5.=
4/perl/OID'
gcc -c -I../../include -g -Ulinux -Dlinux=3Dlinux -I/usr/include/rpm -D_R=
EENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/=
include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -I/usr/include/gdbm -I=
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -I. -I/usr/local/include =
-D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/lo=
cal/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64 -I/usr/include/gdb=
m -O2 -g -pipe -m32 -march=3Di386 -mtune=3Dpentium4 -DVERSION=3D\"5.04\" =
-DXS_VERSION=3D\"5.04\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-mul=
ti/CORE" OID.c
OID.xs: In function `__snprint_value':
OID.xs:74: error: dereferencing pointer to incomplete type
OID.xs:74: error: dereferencing pointer to incomplete type
OID.xs:75: error: dereferencing pointer to incomplete type
OID.xs:76: error: dereferencing pointer to incomplete type
OID.xs: In function `__tp_sprint_num_objid':
OID.xs:168: error: dereferencing pointer to incomplete type
OID.xs:169: error: dereferencing pointer to incomplete type
OID.xs: In function `XS_netsnmp_oidPtr_get_indexes':
OID.xs:292: error: dereferencing pointer to incomplete type
OID.xs:297: error: dereferencing pointer to incomplete type
:
:

If I remove the --disable-mib-loading option when configuring, it builds fi=
ne.

I have tried serching the bug/patch lists without success, but it might be =
related to the same problem as bug 1416726.

________________________
Eirik Nordbr=F8den,
Telephone (+47) 90174789
=


> -----Original Message-----
> From: dave.shield@googlemail.com =


> [mailto:dave.shield@googlemail.com] On Behalf Of Dave Shield
> Sent: 27. mars 2007 16:23
> To: Eirik Nordbr=F8den
> Cc: net-snmp-coders@lists.sourceforge.net
> Subject: Re: Problems building 5.4 on Linux
> =


> On 27/03/07, Eirik Nordbr=F8den <eirik.nordbroden@morecom.no> wrote:
> > I have problems building the 5.4 line on linux. I get the =


> following error message:
> =


> > /usr/bin/ld: cannot find -lelf

> =


> =


> > The library libelf seems to be installed:
> >
> > $ ls -l /usr/lib/libelf*
> > -rwxr-xr-x 1 root root 65492 Aug 13 2006 /usr/lib/libelf-0.97.1.so
> > lrwxrwxrwx 1 root root 16 Feb 21 09:13 =


> /usr/lib/libelf.so.1 -> libelf-0.97.1.so
> =


> =


> The build process is looking for libelf.so, not libelf.so.1 =


> The .so file is part of the elfutils-devel RPM, which is required for
> *building* applications that use this library.
> The .so.1 file is provided for *running* applications that =


> have already been compiled.
> =


> Please see the FAQ entry:
> The compilation is complaining about missing libraries. Why?
> http://www.net-snmp.org/wiki/index.php/FAQ:Compiling_02
> =


> Dave
> =



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?p...orge&CID=3DDE=
VDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:05 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0