All: Bruno Haible wrote: > Gary V. Vaughan wrote: >> Here is the culprit: >> >> configure:14791: checking whether wcwidth is declared >> configure:14828: cc -c -g conftest.c >&5 >> cc: Error: /usr/include.dtk/wchar.h, line 78: Ill-formed parameter type >> list. (parmtyplist) >> __VA_LIST__ __arg); >> ----------------^ >> cc: Error: /usr/include.dtk/wchar.h, line 83: Ill-formed parameter type >> list. (parmtyplist) >> __VA_LIST__ __arg); >> ----------------^ >> cc: Error: /usr/include.dtk/wchar.h, line 87: Ill-formed parameter type >> list. (parmtyplist) >> __VA_LIST__ __arg); >> ----------------^ >> configure:14834: $? = 1 > > Ouch. The compiler doesn't grok its own include file.
Yep :-( > I've seen error on another machine too. My fix was to set the CFLAGS so > that /usr/include would override /usr/include.dtk, but still allow > <iconv.h> to be found from my /opt/gnu: > > $ ./configure --prefix=/opt/gnu \ > CC="cc -O" CFLAGS="-I/opt/gnu/include -I/usr/include" It does work, but... > But maybe there is another solution? Does the compiler support a flag that > makes it grok the __VA_LIST__ in the first place? After a lot of googling, and trawling through hordes of manual pages I eventually came across this: alphaev67-dec-osf5.1$ man cc NAME cc - C compiler, Developers' Toolkit Supplement for Tru64 UNIX SYNOPSIS cc [option...] file... [option...] Default Options: cc -std -arch generic -assume aligned_objects -noansi_alias -assume math_errno -call_shared -cpp -error_limit 30 -float -nofp_reorder -fprm n -fptm n -g0 -I/usr/include.dtk -I/usr/include -inline manual -intrinsics -member_alignment -nomisalign -nestlevel=50 -newc -O1 -p0 -nopg -preempt_symbol -SD/usr/include -signed -tune generic -weak_volatile -writable_strings NOTICE -- NEW DEFAULTS This Developers' Toolkit Supplement compiler defaults to -std -intrin- sics. The compiler that shipped with Tru64 UNIX V4 systems defaults to -std0. For compilations that rely on these default settings, this change could result in differences in diagnostics or program behavior. If such differences are bothersome, this compiler can be made to emu- late the base system compiler by adding -std0 -nointrinsics to the command line. Alternatively, the base system compiler can be accessed directly by specifying -nodtk. And lo and behold: alphaev67-dec-osf5.1$ ../configure --enable-changeword CC='cc -nodtk' | > grep wcwidth checking for wcwidth... yes checking whether wcwidth is declared... yes alphaev67-dec-osf5.1$ /opt/TWWfsw/gmake38/bin/make all check [[...]] All checks successful I'll be under the brown paper bag in the corner if anybody needs me. Cheers, Gary. -- Gary V. Vaughan ())_. [EMAIL PROTECTED],gnu.org} Research Scientist ( '/ http://blog.azazil.net GNU Hacker / )= http://trac.azazil.net/projects/libtool Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
_______________________________________________ M4-discuss mailing list M4-discuss@gnu.org http://lists.gnu.org/mailman/listinfo/m4-discuss