bug-gnulib
[Top][All Lists]
Advanced

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

::gettimeofday' has not been declared - on cygwin


From: marco atzeri
Subject: ::gettimeofday' has not been declared - on cygwin
Date: Sat, 02 Mar 2013 05:40:41 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3

gnulib is used by octave

currently the cygwin build fails with

-------------------------------------------------------------------
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../octave/liboctave -I.. -I../../octave/liboctave/array -I../../octave/liboctave/cruft/misc -Inumeric -I../../octave/liboctave/numeric -Ioperators -I../../octave/liboctave/operators -I../../octave/liboctave/system -I../../octave/liboctave/util -I../libgnu -I../../octave/libgnu -mieee-fp -I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -MT system/system_libsystem_la-lo-sysdep.lo -MD -MP -MF system/.deps/system_libsystem_la-lo-sysdep.Tpo -c ../../octave/liboctave/system/lo-sysdep.cc -DDLL_EXPORT -DPIC -o system/.libs/system_libsystem_la-lo-sysdep.o
In file included from ../libgnu/sys/select.h:82:0,
                 from /usr/include/cygwin/sys_time.h:13,
                 from /usr/include/sys/time.h:28,
                 from ../libgnu/sys/time.h:30,
                 from /usr/include/sys/_default_fcntl.h:186,
                 from /usr/include/sys/fcntl.h:3,
                 from /usr/include/fcntl.h:14,
                 from ../libgnu/fcntl.h:61,
                 from ../../octave/liboctave/system/lo-sysdep.cc:34:
../libgnu/sys/time.h:411:1: error: '::gettimeofday' has not been declared
Makefile:9582: recipe for target `system/system_libsystem_la-lo-sysdep.lo' failed
make[4]: *** [system/system_libsystem_la-lo-sysdep.lo] Error 1
----------------------------------------------------------------

reverting the commit:

http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=db61fd22822da6974c2ca4caa2975d74229a4c70

sys_time: port to Solaris 2.6

authorPaul Eggert <address@hidden>
 Thu, 31 Jan 2013 05:26:44 +0000 (21:26 -0800)
committerPaul Eggert <address@hidden>
 Thu, 31 Jan 2013 05:27:21 +0000 (21:27 -0800)
commitdb61fd22822da6974c2ca4caa2975d74229a4c70

solves the issue.

Regards
Marco



reply via email to

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