Hello, I've added the CPPFLAGS
Bye Le Monday 22 December 2008 15:52:45 Martin Simmons, vous avez écrit : > There is some confusion about CFLAGS and CPPFLAGS in the plugin makefiles > in SVN HEAD. > > FreeBSD 5.4 has libintl.h installed in /usr/local/include and this is > detected correctly by configure, but compiling plugins/fd/bpipe-fd.c to > make plugins/fd/bpipe-fd.lo fails like this: > > libtool --silent --tag=CXX --mode=compile /usr/bin/g++ -g -Wall > -fno-strict-aliasing -fno-exceptions -fno-rtti -pthread -I../.. > -I../../filed -c bpipe-fd.c In file included from ../../bacula.h:166, > from bpipe-fd.c:34: > ../../baconfig.h:124: libintl.h: No such file or directory > gmake: *** [bpipe-fd.lo] Error 1 > > The problem is that the rule for bpipe-fd.lo in plugins/fd/Makefile uses > CFLAGS only, but the necessary -I/usr/local/include option is only in > CPPFLAGS: > > CFLAGS = -g -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti -pthread > CPPFLAGS = -I/usr/local/include -fno-strict-aliasing -fno-exceptions > -fno-rtti > > I see that other Bacula makefiles use both CFLAGS and CPPFLAGS in the > compilation options (via the .c.o rule). > > __Martin > > --------------------------------------------------------------------------- >--- _______________________________________________ > Bacula-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bacula-devel ------------------------------------------------------------------------------ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
