Hi All,

I ran the configure script on SUN 5.9:

./configure --enable-ipv6=yes --prefix=/texusr/tomasz/net-snmp-5.2.1.2_sun
--with-openssl=/tnm_vbase/solaris2/openssl/openssl0.9.7-d

when i ran make I got following error:


making all in /texusr/tomasz/net-snmp-5.2.1.2_sun/agent/helpers
making all in /texusr/tomasz/net-snmp-5.2.1.2_sun/agent/mibgroup
/bin/sh ../../libtool --mode=compile cc -I../../include -I. -I../../agent
-I../../agent/mibgroup  -I../../snmplib
-I/tnm_vbase/solaris2/openssl/openssl0.9.7-d/include   -g -Dsolaris2 -c -o
mibII/ipv6.lo mibII/ipv6.c
rm -f mibII/.libs/ipv6.lo
cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib
-I/tnm_vbase/solaris2/openssl/openssl0.9.7-d/include -g -Dsolaris2 -c
mibII/ipv6.c  -KPIC -DPIC -o mibII/.libs/ipv6.lo
"mibII/ipv6.c", line 142: syntax error before or at: __P
...
"mibII/ipv6.c", line 145: syntax error before or at: __P
...
"mibII/ipv6.c", line 146: identifier redefined: __P
        current : function() returning int
        previous: function() returning int : "mibII/ipv6.c", line 142
"mibII/ipv6.c", line 146: warning: syntax error:  empty declaration
"mibII/ipv6.c", line 147: syntax error before or at: __P
"mibII/ipv6.c", line 147: warning: old-style declaration or incorrect type
for: __P
"mibII/ipv6.c", line 147: identifier redefined: __P
        current : function() returning int
        previous: function() returning int : "mibII/ipv6.c", line 146
"mibII/ipv6.c", line 147: warning: syntax error:  empty declaration
"mibII/ipv6.c", line 148: syntax error before or at: __P
"mibII/ipv6.c", line 148: warning: old-style declaration or incorrect type
for: __P
"mibII/ipv6.c", line 148: identifier redefined: __P
        current : function() returning int
        previous: function() returning int : "mibII/ipv6.c", line 147
"mibII/ipv6.c", line 148: warning: syntax error:  empty declaration
"mibII/ipv6.c", line 149: syntax error before or at: __P
"mibII/ipv6.c", line 149: warning: old-style declaration or incorrect type
for: __P
"mibII/ipv6.c", line 149: identifier redefined: __P
        current : function() returning int
        previous: function() returning int : "mibII/ipv6.c", line 148
"mibII/ipv6.c", line 149: warning: syntax error:  empty declaration
"mibII/ipv6.c", line 383: identifier redeclared: header_ipv6
        current : static function(pointer to struct variable {unsigned char
magic, char type, unsigned short acl, pointer to function(..) returning
pointer to unsigned char findVar, unsigned char namelen, array[128] of
unsigned long name}, pointer to unsigned long, pointer to unsigned int, int,
pointer to unsigned int, pointer to pointer to function(..) returning int)
returning int
        previous: int : "mibII/ipv6.c", line 141
"mibII/ipv6.c", line 417: identifier redeclared: header_ipv6_scan
        current : static function(pointer to struct variable {unsigned char
magic, char type, unsigned short acl, pointer to function(..) returning
pointer to unsigned char findVar, unsigned char namelen, array[128] of
unsigned long name}, pointer to unsigned long, pointer to unsigned int, int,
pointer to unsigned int, pointer to pointer to function(..) returning int,
int, int) returning int
        previous: int : "mibII/ipv6.c", line 144
"mibII/ipv6.c", line 434: function designator is not of function type
"mibII/ipv6.c", line 445: cannot recover from previous errors
cc: acomp failed for mibII/ipv6.c
*** Error code 1
make: Fatal error: Command failed for target `mibII/ipv6.lo'
Current working directory /texusr/tomasz/net-snmp-5.2.1.2_sun/agent/mibgroup
*** Error code 1
make: Fatal error: Command failed for target `subdirs'




could anybody help me? 
(similar problem was on HP)


thanks

Tomek


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to