I've received this error on at least two machines now, gcc-4.1.1-r3 on a partially ~amd64 system and gcc-4.1.1 (upgrade to gcc-4.1.1-r1 fails) on a completely amd64 (No ~packages) machine. The only use flag I use for snmp is ssl. Since I do have it installed on my desktop (gcc-4.1.1-r3) machine I assume it's something that changed in the compiler, can't remember when I've merged it but it could well be before the days of gcc-4.1.x. x86_64-pc-linux-gnu-gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -march=k8 -O2 -pipe -Dlinux -c ucd-snmp/disk.c -fPIC -DPIC -o ucd-snmp/.libs/disk.lo ucd-snmp/disk.c:233:36: error: operator '||' has no right operand ucd-snmp/disk.c:281:36: error: operator '||' has no right operand ucd-snmp/disk.c:377:19: error: #if with no expression ucd-snmp/disk.c:400:36: error: operator '||' has no right operand ucd-snmp/disk.c:471:19: error: #if with no expression ucd-snmp/disk.c:497:36: error: operator '||' has no right operand make[2]: *** [ucd-snmp/disk.lo] Error 1 All of these errors are in #if statements that seem to rely on undefined macros, for example, line 377: #if HAVE_GETMNTENT would indeed give that error. The #if should read #ifdef ... I need this asap so I'll create a patch and attach in a bit.
*** This bug has been marked as a duplicate of bug 156178 ***