[RPL/2] Compile warning

BERTRAND Joel joel.bertrand at systella.fr
Mer 19 Mai 14:34:47 CEST 2010


DEMAINE Benoit-Pierre a écrit :
> This is the kind of warning that could cause harm on some architectures
> (or other distros), or become an error in possibly close future. It
> happens in the end of configure. Good luck :)

Warnings come from configure.in. I use these lines

AC_CONFIG_SUBDIRS(tools/$NCURSES)
AC_CONFIG_SUBDIRS(tools/$READLINE)
AC_CONFIG_SUBDIRS(tools/$GSL)
AC_CONFIG_SUBDIRS(tools/$GPP)
AC_CONFIG_SUBDIRS(tools/$FILE)
AC_CONFIG_SUBDIRS(tools/$ICONV)
AC_CONFIG_SUBDIRS(tools/$SQLITE)
AC_CONFIG_SUBDIRS(tools/$UNITS)

to configure packages in tools directory. I don't know any other 
solution to configure these packages and I don't know how configure 
itself complaims about these lines.

> checking for strspn... yes
> checking for strtok... yes
> configure: creating ./config.status
> config.status: creating Makefile
> make -j6
> Makefile:954: warning: overriding commands for target `all'
> Makefile:302: warning: ignoring old commands for target `all'
>   cd .&&  /bin/sh
> /var/tmp/portage/doublehp-dhp/rpl2-4.0.14/work/rpl-4.0.14/missing --run
> automake-1.11 --gnu
> configure.in:738: warning: AC_CONFIG_SUBDIRS: you should use literals
> ../../lib/autoconf/status.m4:1093: AC_CONFIG_SUBDIRS is expanded from...
> configure.in:738: the top level
> configure.in:739: warning: AC_CONFIG_SUBDIRS: you should use literals
> configure.in:739: the top level
> configure.in:740: warning: AC_CONFIG_SUBDIRS: you should use literals
> configure.in:740: the top level
> configure.in:741: warning: AC_CONFIG_SUBDIRS: you should use literals
> configure.in:741: the top level
> configure.in:742: warning: AC_CONFIG_SUBDIRS: you should use literals
> configure.in:742: the top level
> configure.in:743: warning: AC_CONFIG_SUBDIRS: you should use literals
> configure.in:743: the top level
> configure.in:744: warning: AC_CONFIG_SUBDIRS: you should use literals
> configure.in:744: the top level
> configure.in:745: warning: AC_CONFIG_SUBDIRS: you should use literals
> configure.in:745: the top level
> configure.in:769: warning: AC_CONFIG_SUBDIRS: you should use literals
> configure.in:769: the top level
> src/Makefile.am:23: `:='-style assignments are not portable
> src/Makefile.am:23: shell LC_ALL=fr_FR date +'%A %x, %X %Z' | \
> src/Makefile.am:23:             $(AWK: non-POSIX variable name
> src/Makefile.am:23: (probably a GNU make extension)
> src/Makefile.am:23: shell LC_ALL=C date +'%A %x, %X %Z' | \
> src/Makefile.am:23:             $(AWK: non-POSIX variable name
> src/Makefile.am:23: (probably a GNU make extension)
> src/Makefile.am:30: `:='-style assignments are not portable
> src/Makefile.am:30: shell $(top_builddir: non-POSIX variable name
> src/Makefile.am:30: (probably a GNU make extension)

	You have to use GNU make. These patterns are allowed by gmake.

> src/Makefile.am:242: `%'-style pattern rules are a GNU make extension
> src/Makefile.am:249: `%'-style pattern rules are a GNU make extension
> src/Makefile.am:256: `%'-style pattern rules are a GNU make extension
> src/Makefile.am:263: `%'-style pattern rules are a GNU make extension
> src/Makefile.am:270: `%'-style pattern rules are a GNU make extension
> src/Makefile.am:352: shell pwd: non-POSIX variable name
> src/Makefile.am:352: (probably a GNU make extension)
>   cd .&&  /bin/sh ./config.status Makefile
> config.status: creating Makefile

	These warnings are not signifiant. I only rewrite default rules.

> Makefile:953: warning: overriding commands for target `all'
> Makefile:301: warning: ignoring old commands for target `all'
> for i in tools/ncurses-5.7-20100206/test/Makefile
> tools/ncurses-5.7-20100206/test/Makefile
> tools/ncurses-5.7-20100206/progs/Makefile
> tools/ncurses-5.7-20100206/progs/Makefile
> tools/ncurses-5.7-20100206/c++/Makefile
> tools/ncurses-5.7-20100206/ncurses/Makefile; \
>          do \
>                  echo -n Checking $i; \
>                  TMP=$(mktemp tmp.XXXXXXXXXX); \

	JKB


Plus d'informations sur la liste de diffusion RPL2