 |
lists.netmrg.net NetMRG discussion and support
|
|
|
| Author |
Message |
nop223 Beginner
Joined: 27 Jun 2005 Posts: 2
|
Posted: Mon Jun 27, 2005 8:49 am Post subject: SNMP -> make error |
|
|
Making all in src
Making all in .
CXX snmp.o
In file included from /usr/local/include/net-snmp/definitions.h:22,
from /usr/include/net-snmp/net-snmp-includes.h:61,
from snmp.cpp:26:
/usr/local/include/net-snmp/types.h:95: syntax error before `typedef'
In file included from /usr/local/include/net-snmp/definitions.h:22,
from /usr/include/net-snmp/net-snmp-includes.h:61,
from snmp.cpp:26:
/usr/local/include/net-snmp/types.h:184: parse error before `}' token
In file included from /usr/local/include/net-snmp/definitions.h:25,
from /usr/include/net-snmp/net-snmp-includes.h:61,
from snmp.cpp:26:
/usr/local/include/net-snmp/library/snmp_impl.h:118: syntax error before `int'
In file included from /usr/local/include/net-snmp/utilities.h:48,
from /usr/include/net-snmp/net-snmp-includes.h:64,
from snmp.cpp:26:
/usr/local/include/net-snmp/library/data_list.h:59: syntax error before `*'
token
/usr/local/include/net-snmp/library/data_list.h:73: syntax error before `*'
token
make[2]: *** [snmp.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1 |
|
| Back to top |
|
 |
balleman Site Admin
Joined: 20 Jan 2003 Posts: 282
|
Posted: Tue Jun 28, 2005 12:39 am Post subject: |
|
|
| looks like a net-snmp issue. please let us know your distro, net-snmp version, etc, and we'll try to help. |
|
| Back to top |
|
 |
nop223 Beginner
Joined: 27 Jun 2005 Posts: 2
|
Posted: Wed Jun 29, 2005 8:15 am Post subject: new error |
|
|
PLEASE HELP ME
I have upgraded the compiler to gcc 3.4.4
the configuration is:
0x86 CPU
Gcc 3.4.4
net-snmp 5.2.1
ucd-snmp 4.2.6
openssl 0.9.7g
netmrg 0.18.2
and i have error in the same smnp.o but new messages
Making all in src
Making all in .
CXX snmp.o
In file included from /usr/local/include/net-snmp/definitions.h:22,
from /usr/include/net-snmp/net-snmp-includes.h:61,
from snmp.cpp:26:
/usr/local/include/net-snmp/types.h:95: error: expected init-declarator before "typedef"
/usr/local/include/net-snmp/types.h:95: error: expected `,' or `;' before "typedef"
In file included from /usr/local/include/net-snmp/definitions.h:25,
from /usr/include/net-snmp/net-snmp-includes.h:61,
from snmp.cpp:26:
/usr/local/include/net-snmp/library/snmp_impl.h:118: error: expected constructor, destructor, or type conversion before "int"
/usr/local/include/net-snmp/library/snmp_impl.h:118: error: expected `,' or `;' before "int"
In file included from /usr/local/include/net-snmp/utilities.h:29,
from /usr/include/net-snmp/net-snmp-includes.h:64,
from snmp.cpp:26:
/usr/local/include/net-snmp/library/snmp_client.h:48: error: expected `;' before '*' token |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Wed Jun 29, 2005 12:09 pm Post subject: |
|
|
Is it possible that you upgraded a version of net-snmp, but didn't update the headers? Perhaps try reinstalling your net-snmp and see if that helps.
-Doug |
|
| Back to top |
|
 |
|
smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group
|