octave-maintainers
[Top][All Lists]
Advanced

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

Re: safer way to use gnulib


From: Tatsuro MATSUOKA
Subject: Re: safer way to use gnulib
Date: Sun, 21 Mar 2010 17:00:00 +0900 (JST)

Hello 

I have written in previously
http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2010-March/015519.html

The compiling of c++ source that includes gnulib source suffered from unfined 
errors even on the
quit.cc in libcruft.


/bin/sh ../libtool  --tag=CXX   --mode=compile g++  -shared-libgcc 
-DHAVE_CONFIG_H -I.
-I../../../hg/octave-work/libcruft -I..  -I/WinDevTools/include 
-I/GnuWin32/include -I../libgnu
-I../../../hg/octave-work/libgnu -I/WinDevTools/include -I/GnuWin32/include -O3 
-fomit-frame-pointer 
-DHAVE_CONFIG_H -mieee-fp -IC:/Programs/GnuWin32/include 
-I/WinDevTools/include/freetype2
-I/WinDevTools/include -IC:/Programs/WinDevTools/include   -Wall -W -Wshadow 
-Wold-style-cast -Wformat
-O3 -fomit-frame-pointer  -O3 -fomit-frame-pointer -MT misc/libcruft_la-quit.lo 
-MD -MP -MF
misc/.deps/libcruft_la-quit.Tpo -c -o misc/libcruft_la-quit.lo `test -f 
'misc/quit.cc' || echo
'../../../hg/octave-work/libcruft/'`misc/quit.cc
libtool: compile:  g++ -shared-libgcc -DHAVE_CONFIG_H -I. 
-I../../../hg/octave-work/libcruft -I..
-I/WinDevTools/include -I/GnuWin32/include -I../libgnu 
-I../../../hg/octave-work/libgnu
-I/WinDevTools/include -I/GnuWin32/include -O3 -fomit-frame-pointer 
-DHAVE_CONFIG_H -mieee-fp
-IC:/Programs/GnuWin32/include -I/WinDevTools/include/freetype2 
-I/WinDevTools/include
-IC:/Programs/WinDevTools/include -Wall -W -Wshadow -Wold-style-cast -Wformat 
-O3 -fomit-frame-pointer
-O3 -fomit-frame-pointer -MT misc/libcruft_la-quit.lo -MD -MP -MF 
misc/.deps/libcruft_la-quit.Tpo -c
../../../hg/octave-work/libcruft/misc/quit.cc  -DDLL_EXPORT -DPIC -o 
misc/.libs/libcruft_la-quit.o
In file included from ../libgnu/wchar.h:66:0,
                 from 
c:\programs\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/cwchar:47,
                 from 
c:\programs\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/bits/postypes.h:42,
                 from 
c:\programs\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/iosfwd:42,
                 from 
c:\programs\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/ios:39,
                 from 
c:\programs\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/ostream:40,
                 from 
c:\programs\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/iostream:40,
                 from ../../../hg/octave-work/libcruft/misc/quit.cc:29:
../libgnu/time.h:350:1: error: 'nanosleep' was not declared in this scope
../libgnu/time.h:350:29: error: invalid type in declaration before ';' token
../libgnu/time.h:385:1: error: 'localtime_r' was not declared in this scope
../libgnu/time.h:385:31: error: invalid type in declaration before ';' token
../libgnu/time.h:400:1: error: 'gmtime_r' was not declared in this scope
../libgnu/time.h:400:28: error: invalid type in declaration before ';' token
../libgnu/time.h:424:1: error: 'strptime' was not declared in this scope
../libgnu/time.h:424:28: error: invalid type in declaration before ';' token
make[2]: *** [misc/libcruft_la-quit.lo] Error 1
make[2]: Leaving directory `/home/octaves/OctBuild/octave-develop/libcruft'
make[1]: *** [all-recursive] Error 1

I looked change for MSVC.
> I checked in the following change.  Does it help?
> 
>   http://hg.savannah.gnu.org/hgweb/octave/rev/4db7beace28e

I am using '--disable-docs' in the configure because I do not have latex system 
on Native windows. 
I have a flex but do not have lex library. Does it affect this matter?

Regards

Tatsuro 


--------------------------------------
VANCOUVER 2010 PARALYMPIC GAMES News
http://pr.mail.yahoo.co.jp/para/


reply via email to

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