[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error while compiling hobbit snapshot ...
- To: <hobbit (at) hswn.dk>
- Subject: Error while compiling hobbit snapshot ...
- From: Sigurður Guðbrandsson <sigurdur (at) raforninn.is>
- Date: Wed, 26 Sep 2007 16:11:01 -0000
- Thread-index: AcgAV9SpZBteO6ftR6SykMAXegxAOA==
- Thread-topic: Error while compiling hobbit snapshot ...
Hi.
I was just compiling hobbit snapshot and I got this ..
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I. -I/home/nikkiclau/snapshot/include -I/usr/include -I. `net-snmp-config --cflags` -c -o hobbit_snmpcollect.o hobbit_snmpcollect.c
/bin/sh: net-snmp-config: command not found
hobbit_snmpcollect.c:17:38: error: net-snmp/net-snmp-config.h: No such file or directory
hobbit_snmpcollect.c:18:40: error: net-snmp/net-snmp-includes.h: No such file or directory
hobbit_snmpcollect.c:26: error: syntax error before 'oid'
hobbit_snmpcollect.c:26: warning: no semicolon at end of struct or union
I took quite an amount of errors, but currently I am installing libsnmp9-dev to resolve this error (hopefully)
I would recommend that you would add libsnmp9-dev to the dependencies for building the package.
I did not find the dev list quickly so I posted here.
E-mail me if you want to get more information about this error.
With regards,
------------------------------
Sigurður Guðbrandsson
Raförninn ehf.
Suðurhlíð 35
105 Reykjavik | Iceland
sigurdur (at) raforninn.is | www.raforninn.is <http://www.raforninn.is/>
Office: +(354) 552 2070
Mobile: +(354) 867 3573
------------------------------