Robert Story wrote:
On Sun, 24 Jul 2005 01:47:59 +0200 Thomas wrote:
TA> back from vacation I can't compile 5.3.dev anymore (on Linux/x86), even
TA> after a fresh cvs checkout. make fails with:
TA>
TA> make[1]: *** No rule to make target `notification_log.h', needed by
TA> `snmptrapd.lo'. Stop.
TA> make[1]: Leaving directory `/bc/src/net-snmp-5.3cvs/apps'
Oops.. that's me.. forgot to check in dependencies changes.. should be ok now..
Hmmh, but snmptrapd.c still seems to #include "notification_log.h"
without having the new include dir (agent/mibgroup/notification-log-mib)
specified, so compilation still fails:
/bin/sh ../libtool --mode=compile gcc -I../include -I. -I../agent
-I../agent/helpers -I../agent/mibgroup -I../snmplib -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE -g -O2 -Dlinux
-I/usr/include/rpm -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-Wcast-qual -Wno-char-subscripts -c -o snmptrapd.lo snmptrapd.c
rm -f .libs/snmptrapd.lo
gcc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup
-I../snmplib -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE -g -O2 -Dlinux
-I/usr/include/rpm -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-Wcast-qual -Wno-char-subscripts -c snmptrapd.c -fPIC -DPIC -o
.libs/snmptrapd.lo
snmptrapd.c:98:30: notification_log.h: No such file or directory
snmptrapd.c: In function `main':
snmptrapd.c:730: warning: implicit declaration of function
`init_notification_log'
snmptrapd.c:733: warning: implicit declaration of function `init_perl'
make[1]: *** [snmptrapd.lo] Error 1
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders