net-snmp compile problem

spectrum <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,
have a compile problem with Net-SNMP 5.4.2.1
./configure --enable-embedded-perl --enable-shared
proceed without any error.

make
...
gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -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.10.0/i386-linux-thread-multi/CORE -c snmp_perl.c  -fPIC -DPIC -o .libs/snmp_perl.o
snmp_perl.c:1:20: error: EXTERN.h: Нет такого файла или каталога
In file included from snmp_perl.c:2:
/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/perl.h:948:21: error: embed.h: Нет такого файла или каталога
/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/perl.h:2382:19: error: handy.h: Нет такого файла или каталога
/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/perl.h:2560:24: error: unixish.h: Нет такого файла или каталога
...
...
In file included from ../include/net-snmp/utilities.h:54,
                 from ../include/net-snmp/net-snmp-includes.h:74,
                 from snmp_perl.c:5:
../include/net-snmp/library/container.h:455:32: error: macro "clear" passed 3 arguments, but takes just 0
../include/net-snmp/library/container.h:458:25: error: macro "clear" passed 3 arguments, but takes just 0
snmp_perl.c: В функции  maybe_source_perl_startup':
snmp_perl.c:45: предупреждение: в присваивании целое преобразуется в указатель без приведения типа
make[1]: *** [snmp_perl.lo] Ошибка 1
make[1]: Leaving directory `/usr/src/net-snmp-5.4.2.1/agent'
make: *** [subdirs] Ошибка 1



what's wrong?
thanks in advance.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.