Re: [wdiff-bugs] wdiff-0.6.1 build problems

2010-04-03 Thread Martin von Gagern
Hi there!

Nelson H. F. Beebe reports problems building Gnulib sources shipped with
wdiff 0.6.1. Those sources should be up to date, so current git should
exhibit these problems as well.

On 02.04.2010 20:58, Nelson H. F. Beebe wrote:
 On Solaris 7 SPARC, compilation with cc fails like this:
 
   cc -DHAVE_CONFIG_H -I. -I..  -DDEFAULT_TEXT_DOMAIN=\wdiff-gnulib\
   -I../intl -I/usr/local/include  -I/usr/local/include -c localcharset.c
   ./getopt.h, line 31: empty file name
   cc: acomp failed for localcharset.c
 
 I did a fresh build using gcc-2.95.3 (the last gcc version that builds
 on that O/S), and that solved the problem.

See his full report in the wdiff-bugs list archive:
http://lists.gnu.org/archive/html/wdiff-bugs/2010-04/msg2.html

Can you imagine what's causing this?
Do you have an idea how to avoid this?
Do you want to address this even if a gcc update solves the issue?
I've asked Nelson for additional information, config.{log,status} in
particular, so maybe we can provide more details soon.

Greetings,
 Martin von Gagern



signature.asc
Description: OpenPGP digital signature


Re: wdiff-0.6.1 build problems

2010-04-03 Thread Bruno Haible
Hi Martin,

  On Solaris 7 SPARC, compilation with cc fails like this:
  
  cc -DHAVE_CONFIG_H -I. -I..  -DDEFAULT_TEXT_DOMAIN=\wdiff-gnulib\
  -I../intl -I/usr/local/include  -I/usr/local/include -c localcharset.c
  ./getopt.h, line 31: empty file name
  cc: acomp failed for localcharset.c
  
  I did a fresh build using gcc-2.95.3 (the last gcc version that builds
  on that O/S), and that solved the problem.
 
 See his full report in the wdiff-bugs list archive:
 http://lists.gnu.org/archive/html/wdiff-bugs/2010-04/msg2.html

Thanks for the forward, this problem is in gnulib's area.

 Can you imagine what's causing this?

It relates to the use of include_next. m4/include_next.m4 contains a number
of compiler dependent workarounds. Maybe one more such workaround is needed?

Bruno