thanks for you reply.Now i found there is no NET-SNMP package on my redhat9.then i
installed it.and i have re-running the command of ./configure,make . the error
looks like as before. it is :
---------
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./wiretap -I/usr/local/include
-I/usr/include/rpm -DINET6 -O2
-march=i386 -mcpu=i686 -g -Dlinux -I/usr/include/rpm -I. -I/usr/include/net-snmp
-DINET6 -D_U_="__
attribute__((unused))" -Wall -W -g -O2 -I/usr/local/include -I/usr/include/gtk-1.2
-I/usr/include/gl
ib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/rpm -DINET6 -O2
-march=i386 -mcpu
=i686 -g -Dlinux -I/usr/include/rpm -I. -I/usr/include/net-snmp -c `test -f
'version_info.c' || echo
'./'`version_info.c
version_info.c:65:8: warning: "/*" within comment
version_info.c:66: parse error before '/' token
In file included from version_info.c:70:
/usr/include/sys/utsname.h:73: parse error before '}' token
version_info.c: In function `get_runtime_version_info':
version_info.c:207: storage size of `name' isn't known
version_info.c:207: warning: unused variable `name'
make[2]: *** [version_info.o] Error 1
make[2]: Leaving directory `/home/lhj/ethereal-0.10.4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lhj/ethereal-0.10.4'
make: *** [all] Error 2
-----------------
what should i do for it??sigh~~~~~~
�����������������ᵽ:
>From: Guy Harris <gharris@xxxxxxxxx>
>Reply-To:
>To: Li Haijiang <lhjiang@xxxxxx>
>Subject: Re: [Ethereal-dev] about the installation of ethereal-0.10.4 on
redhat9.0
>
>On Mon, Jun 14, 2004 at 10:19:53AM +0800, Li Haijiang wrote:
> > and I have sended the config.out to you.
> > checking whether to use NET-SNMP library if available... yes
> > checking for net-snmp-config... no
>
> However, the "/usr/include/ucd-snmp/version.h" you sent indicates that
> you have Net-SNMP.
>
> You might need to install some "developer's package" for Net-SNMP
> (although I wouldn't expect there to be even
> "/usr/include/ucd-snmp/version.h" if no developer's package is
> installed; is there a "/usr/include/net-snmp/version.h"?).
>
>
>
> æ¤é®ä»¶ç»è¿è¿ï¿½?
>