Hello Thank you for your help. I was able to proceed by installing the elfutils-libelf-devel package. But now an other problem has shown up. I get the following 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=linux -I/usr/include/rpm -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -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/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"5.04\" -DXS_VERSION=\"5.04\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/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 fine. I have tried serching the bug/patch lists without success, but it might be related to the same problem as bug 1416726. ________________________ Eirik Nordbrøden, Telephone (+47) 90174789 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield > Sent: 27. mars 2007 16:23 > To: Eirik Nordbrøden > Cc: net-snmp-coders@lists.sourceforge.net > Subject: Re: Problems building 5.4 on Linux > > On 27/03/07, Eirik Nordbrøden <[EMAIL PROTECTED]> 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?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders