diff --git a/EcAlarm.h b/EcAlarm.h
index 159c467..7e31d6b 100644
--- a/EcAlarm.h
+++ b/EcAlarm.h
@@ -590,9 +590,9 @@ EcMakeManagedObject(NSString *host, NSString *process, NSString *component);
problem: (NSString*)specificProblem;
-/** Generates a new alarm event wuth minimal parameters.
+/** Generates a new alarm event with minimal parameters.
* The componentName may be nil for a process-wide alarm.
- * The probablCause must NOT be unknown ... it is used to infer
+ * The probableCause must NOT be unknown ... it is used to infer
* the event type.
* The specificProblem is used to identify the event for which the
* alarm is raised.
diff --git a/GNUmakefile.preamble b/GNUmakefile.preamble
index 31daaa4..4caa497 100644
--- a/GNUmakefile.preamble
+++ b/GNUmakefile.preamble
@@ -48,7 +48,7 @@ LIBRARIES_DEPEND_UPON += $(ECCL_LIBS)
# Extras for when building with SNMP support
#
ifeq ($(WITH_NET_SNMP),yes)
- ECCL_OBJCFLAGS += $(shell net-snmp-config --cflags)
+ EcAlarmSinkSNMP.m_FILE_FLAGS += $(shell net-snmp-config --cflags | sed -e 's/-l[^ ]*//g')
LIBRARIES_DEPEND_UPON += $(shell net-snmp-config --agent-libs)
endif