[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new crash when building (../libgnu/string .h:4 58: error: expected ‘
From: |
Ben Abbott |
Subject: |
Re: new crash when building (../libgnu/string .h:4 58: error: expected ‘,’ or ‘...’ before ‘__dest’ ) |
Date: |
Fri, 01 Oct 2010 23:29:36 -0400 |
On Oct 1, 2010, at 11:08 PM, John W. Eaton wrote:
> On 1-Oct-2010, Ben Abbott wrote:
>
> | My tip is ...
> |
> | changeset: 11083:4e31d44a9763
> | tag: tip
> | user: John W. Eaton <address@hidden>
> | date: Fri Oct 01 14:18:37 2010 -0400
> | summary: extract caseless_str class to separate header file
> |
> | During the build I get ...
> |
> | creating .DOCSTRINGS from .cc source files
> | ../move-if-change .DOCSTRINGS DOCSTRINGS
> | DOCSTRINGS is unchanged
> | touch .DOCSTRINGS
> | Making check in scripts
> | depbase=`echo gethelp.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> | g++-4.2 -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I/sw/lib/flex/include
> -I/sw/include -m32 -I/sw/include/freetype2 -I/sw/include/qhull -I/usr/include
> -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -D_REENTRANT -DHAVE_CONFIG_H
> -mieee-fp -I/sw/include -I/sw/include/freetype2 -I/sw/include
> -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat
> -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -D_REENTRANT -D_THREAD_SAFE -pthread
> -I/sw/include -m32 -O1 -g -D_THREAD_SAFE -D_REENTRANT -MT gethelp.o -MD -MP
> -MF $depbase.Tpo -c -o gethelp.o gethelp.cc &&\
> | mv -f $depbase.Tpo $depbase.Po
> | In file included from ../libgnu/sys/select.h:58,
> | from /usr/include/unistd.h:519,
> | from ../libgnu/unistd.h:45,
> | from
> /usr/include/c++/4.2.1/i686-apple-darwin10/bits/os_defines.h:61,
> | from
> /usr/include/c++/4.2.1/i686-apple-darwin10/bits/c++config.h:41,
> | from /usr/include/c++/4.2.1/cstdio:50,
> | from gethelp.cc:27:
> | ../libgnu/string.h:458: error: expected ‘,’ or ‘...’ before ‘__dest’
> | ../libgnu/string.h:458: error: nonnull argument with out-of-range operand
> number (argument 1, operand 2)
> | In file included from ../libgnu/unistd.h:100,
> | from
> /usr/include/c++/4.2.1/i686-apple-darwin10/bits/os_defines.h:61,
> | from
> /usr/include/c++/4.2.1/i686-apple-darwin10/bits/c++config.h:41,
> | from /usr/include/c++/4.2.1/cstdio:50,
> | from gethelp.cc:27:
> | ../libgnu/getopt.h:196: error: redefinition of ‘struct option’
> | /usr/include/getopt.h:54: error: previous definition of ‘struct option’
>
> We saw this error before, around the time we first started using
> gnulib, though then I think it was for Octave itself, not gethelp.cc.
> There haven't been any changes to gethelp since April 23, so I don't
> know why this problem would suddenly show up now. Did you update your
> gnulib sources recently?
>
> jwe
I see this for gnulib pulled on 09/15 and 09/30.
I was able to build with the sources from 09/15 until the last week. I've been
trying to bisect my current problems building, but it appears there is more
than one problem. So I thought I'd start with this one.
Ben