Hi, On Mon, Jan 23, 2012 at 06:19:51PM +0100, Alan DeKok wrote:
After 10+ years of fighting recursive make, I've committed a new system. It's only used if you want, by editing Make.inc, and adding a line:
BOILER=yes
Using Debian squeeze. I get the same as Alan: ./configure echo 'BOILER=yes' >> Make.inc make gcc scripts//jlibtool.c -o build/make/jlibtool scripts//jlibtool.c:1165: error: static declaration of 'add_rpath' follows non-static declaration scripts//jlibtool.c:290: note: previous declaration of 'add_rpath' was here scripts//jlibtool.c: In function 'parse_output_file_name': scripts//jlibtool.c:1570: warning: passing argument 1 of 'strcpy' discards qualifiers from pointer target type /usr/include/string.h:127: note: expected 'char * __restrict__' but argument is of type 'const char *' scripts//jlibtool.c:1579: warning: passing argument 1 of 'free' discards qualifiers from pointer target type /usr/include/stdlib.h:488: note: expected 'void *' but argument is of type 'const char *' make: *** [build/make/jlibtool] Error 1 ./configure make # (builds OK, but presumably old build system as there is now no BOILER=yes at # end of Make.inc) # try again using Make.inc.in instead, before configure: make distclean echo 'BOILER=yes' >> Make.inc.in ./configure make gcc scripts//jlibtool.c -o build/make/jlibtool scripts//jlibtool.c:1165: error: static declaration of 'add_rpath' follows non-static declaration scripts//jlibtool.c:290: note: previous declaration of 'add_rpath' was here scripts//jlibtool.c: In function 'parse_output_file_name': scripts//jlibtool.c:1570: warning: passing argument 1 of 'strcpy' discards qualifiers from pointer target type /usr/include/string.h:127: note: expected 'char * __restrict__' but argument is of type 'const char *' scripts//jlibtool.c:1579: warning: passing argument 1 of 'free' discards qualifiers from pointer target type /usr/include/stdlib.h:488: note: expected 'void *' but argument is of type 'const char *' make: *** [build/make/jlibtool] Error 1 Thanks, Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Architect (UNIX and Networks), Network Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>