At 11:18 PM 3/12/01 +1030, Paul Schulz wrote:
>Greetings,
Hi,
>If I apply the packet fence patch for 0.8.12
>(pf.1.1-ethereal.0.8.13.patch)
>to the current CVS version of ethereal (which works!) I then get the
>following compile error (with fix below)...
>
>gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../wiretap -I../epan - \
>I/usr/local/include -Wall -g -O2 -I.. -I../wiretap -I../epan - \
>I/usr/local/include -I/usr/lib/glib/include -I/usr/X11R6/include -c \
>packet_fence.c
>packet_fence.c:102: dfilter.h: No such file or directory
>make[2]: *** [packet_fence.o] Error 1
>make[2]: Leaving directory `/oldmars/pschulz/src/ethereal/gtk'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/oldmars/pschulz/src/ethereal'
>make: *** [all-recursive-am] Error 2
>
>This is fixed by adding thr option '-I./epan/dfilter', manually compiling
>this file, and then doing a global make.
>
>My question is where do I add this in the 'Makefile.in' scheme of things?
>[If I can do this, I can produce a new packet fence patch.]
If you look at Makefile.in you will find that it is generated from
Makefile.am, and that the variable compile, or something like that is
defined as:
$(CC) ... $(AM_CFLAGS) $(CFLAGS) ...
So, it might be enough to add something like
AM_CFLAGS = "-I../epan/dfilter"
to Makefile.am. However, I don't guarantee that it will work :-)
>Paul
>--
>Paul Schulz, pschulz@xxxxxxxxxxxxxx
>Foursticks Systems Pty Ltd, http://www.foursticks.com
>2/259 Glen Osmond Road, FREWVILLE South Australia 5063
>Phone +61 8 8338 5500, Fax +61 8 8338 5511, Mob +61 401 981 301
>
>
>
>_______________________________________________
>Ethereal-dev mailing list
>Ethereal-dev@xxxxxxxxxxxx
>http://www.ethereal.com/mailman/listinfo/ethereal-dev
>
Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba