[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ./getopt.h:195: error: redefinition of 'struct option'

From: Bruno Haible
Subject: Re: ./getopt.h:195: error: redefinition of 'struct option'
Date: Fri, 4 Jun 2010 14:17:22 +0200
User-agent: KMail/1.9.9

Hi Richard,

Last time we saw this error message, it was due to a wrong config.h.

Richard W.M. Jones wrote:
> make[4]: Entering directory `/home/rjones/d/libguestfs/gnulib/lib'
>   CC     xstrtol.lo

Can you show the complete command line? ("make V=1" will show it.)

> In file included from xstrtol.h:23,
>                  from xstrtol.c:32:
> ./getopt.h:195: error: redefinition of 'struct option'

Next, you need to show
  1)   grep GETOPT config.status
  2)   the contents of config.h
  3)   if the first two don't help, also the output of the
       complete command line, without -c and -o options, but with -E and -dD
       options instead.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]