|
|
| Author |
Message |
jmkg Beginner
Joined: 29 Jun 2004 Posts: 2
|
Posted: Tue Jun 29, 2004 3:50 pm Post subject: Fails to compile |
|
|
OS: Debian Stable
Relevant output:
g++ -DHAVE_CONFIG_H -I. -I. -I../src/include -I./include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include/libxml2 -I/usr/include/ucd-snmp -g -O2 -c -o settings.o settings.cpp
source='snmp.cpp' object='snmp.o' libtool=no \
depfile='.deps/snmp.Po' tmpdepfile='.deps/snmp.TPo' \
depmode=gcc /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../src/include -I./include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include/libxml2 -I/usr/include/ucd-snmp -g -O2 -c -o snmp.o snmp.cpp
In file included from /usr/include/ucd-snmp/ucd-snmp-includes.h:20,
from snmp.cpp:34:
/usr/include/ucd-snmp/system.h:79: syntax error before `('
make[1]: *** [snmp.o] Error 1
make[1]: Leaving directory `/usr/src/netmrg-0.16/src'
make: *** [all-recursive] Error 1
m1:/usr/src/netmrg-0.16# dpkg -l|grep snmp
ii libsnmp-base 4.2.3-2 NET SNMP (Simple Network Management Protocol
ii libsnmp-perl 4.2.3-2 NET SNMP (Simple Network Management Protocol
ii libsnmp-sessio 0.90-1 Perl support for accessing SNMP-aware device
ii libsnmp4.2 4.2.3-2 NET SNMP (Simple Network Management Protocol
ii libsnmp4.2-dev 4.2.3-2 NET SNMP (Simple Network Management Protocol
ii libsnmpkit-dev 0.9-4.woody.2 multithreaded SNMP connection library
ii libsnmpkit2 0.9-4.woody.2 multithreaded SNMP connection library
ii snmp 4.2.3-2 NET SNMP (Simple Network Management Protocol
ii snmpd 4.2.3-2 NET SNMP (Simple Network Management Protocol
ii snmptrapfmt 1.03 A configurable snmp trap handler daemon for
m1:/usr/src/netmrg-0.16# dpkg -l|grep libstd
ii libstdc++2.10- 2.95.4-11woody The GNU stdc++ library (development files)
ii libstdc++2.10- 2.95.4-11woody The GNU stdc++ library
Hope someone can shed some light on the matter?
Thanks
James |
|
| Back to top |
|
 |
jmkg Beginner
Joined: 29 Jun 2004 Posts: 2
|
Posted: Tue Jun 29, 2004 4:45 pm Post subject: Fixed in CVS |
|
|
| CVS version compiles fine. There is a commented fix for Debian Stable. |
|
| Back to top |
|
 |
Jorge Matias Beginner
Joined: 24 Jun 2004 Posts: 4 Location: Lisbon
|
Posted: Wed Jun 30, 2004 5:49 pm Post subject: Re: Fails to compile |
|
|
| jmkg wrote: |
OS: Debian Stable
Relevant output:
...
g++ -DHAVE_CONFIG_H -I. -I. -I../src/include -I./include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/include/libxml2 -I/usr/include/ucd-snmp -g -O2 -c -o snmp.o snmp.cpp
In file included from /usr/include/ucd-snmp/ucd-snmp-includes.h:20,
from snmp.cpp:34:
/usr/include/ucd-snmp/system.h:79: syntax error before `('
make[1]: *** [snmp.o] Error 1
make[1]: Leaving directory `/usr/src/netmrg-0.16/src'
make: *** [all-recursive] Error 1
...
Thanks
James |
I'm using Debian unstable with NetMRG v0.16 and I didn't have any problems. |
|
| Back to top |
|
 |
keb Contributor
Joined: 09 Jul 2003 Posts: 44 Location: Camp Hill, PA, USA
|
Posted: Fri Jul 02, 2004 12:10 am Post subject: Re: Fails to compile |
|
|
| Jorge Matias wrote: |
| I'm using Debian unstable with NetMRG v0.16 and I didn't have any problems. |
Good to hear! At least they've fixed that in sarge. I was trying to find time to install that for testing, but since we've got at least 1 good report, I'm happy.
- Kevin |
|
| Back to top |
|
 |
|