[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: oct-time.cc:61: error: 'mktime' is not a member of 'gnulib'
From: |
Jaroslav Hajek |
Subject: |
Re: oct-time.cc:61: error: 'mktime' is not a member of 'gnulib' |
Date: |
Tue, 21 Sep 2010 14:29:49 +0200 |
On Tue, Sep 21, 2010 at 2:26 PM, Ben Abbott <address@hidden> wrote:
> My sources have tip ...
>
> changeset: 11016:3622db30ff05
> tag: tip
> user: Jaroslav Hajek <address@hidden>
> date: Tue Sep 21 13:09:12 2010 +0200
> summary: simplify some array tests in liboctave
>
> The tip of my gnulib log is ...
>
> commit 09ba76e4c6a04d7b19bfe08cef12c29ddd21734c
> Author: Paul Eggert <address@hidden>
> Date: Mon Sep 20 16:14:49 2010 -0700
>
> pthread: add pthread_spin_destroy
>
> * lib/pthread.in.h (pthread_spin_destroy): New function.
>
> When I try a fresh build (starting with autogen), I get though configure
> without problem, but ...
>
> /bin/sh ../libtool --tag=CXX --mode=compile 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../libgnu
> -I../libgnu -I../libcruft/misc -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
> liboctave_la-oct-time.lo -MD -MP -MF .deps/liboctave_la-oct-time.Tpo -c -o
> liboctave_la-oct-time.lo `test -f 'oct-time.cc' || echo './'`oct-time.cc
> libtool: compile: 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../libgnu -I../libgnu -I../libcruft/misc
> -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
> liboctave_la-oct-time.lo -MD -MP -MF .deps/liboctave_la-oct-time.Tpo -c
> oct-time.cc -fno-common -DPIC -o .libs/liboctave_la-oct-time.o
> oct-time.cc: In constructor 'octave_time::octave_time(const octave_base_tm&)':
> oct-time.cc:61: error: 'mktime' is not a member of 'gnulib'
> oct-time.cc: In member function 'void octave_strptime::init(const
> std::string&, const std::string&)':
> oct-time.cc:275: error: 'mktime' is not a member of 'gnulib'
> make[3]: *** [liboctave_la-oct-time.lo] Error 1
> make[2]: *** [check] Error 2
> make[1]: *** [check-recursive] Error 1
> make: *** [check] Error 2
>
> I checked libgnu, and do see mktime there.
>
> $ ls libgnu/mktime*
> libgnu/mktime-internal.h libgnu/mktime.c
>
> Is anyone else seeing this ?
>
> Ben
I did. Refetching and rebuilding the gnulib part worked it around.
(i.e. doing hg purge --all, then normal build).
--
RNDr. Jaroslav Hajek, PhD
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz