[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile error on oct-env.cc in building octave-3.3.52+ on MinGW32
From: |
Tatsuro MATSUOKA |
Subject: |
Re: compile error on oct-env.cc in building octave-3.3.52+ on MinGW32 |
Date: |
Wed, 22 Sep 2010 16:58:44 +0900 (JST) |
Hello
Thank you for your information.
I always delete the old gnulib repository and use the most recent tip of
gnulib. for the build.
Thus the treatment you have pointed out thus have no effect for my case.
Regards
Tatsuro
--- Ben Abbott wrote:
> On Sep 21, 2010, at 9:03 PM, Tatsuro MATSUOKA wrote:
>
> > Hello
> >
> > I have just tried to build the recent development source.
> >
> > The changeset date and time
> > Tue Sep 21 13:09:12 2010 +0200
> > changeset 11008 3622db30ff05
> >
> > Beginning of this month, I have not met such errors.
> >
> > Is this better to report on the bug tracker?
> >
> > Regards
> >
> > Tatsuro
> >
> > libtool: compile: g++ -shared-libgcc -DHAVE_CONFIG_H -I.
> > -I../../../hg/octave-work/liboctave
> -I..
> > -I/c/Programs/gpnewlib/include -I/c/Programs/OctaveLibs/include
> > -I/GnuWin32/include
> -I../libgnu
> > -I../../../hg/octave-work/libgnu -I../../../hg/octave-work/libcruft/misc
> > -I/c/Programs/gpnewlib/include -I/c/Programs/OctaveLibs/include
> > -I/GnuWin32/include -O3
> > -fomit-frame-pointer -DHAVE_CONFIG_H -mieee-fp
> > -IC:/Programs/GnuWin32/include
> > -I/c/Programs/gpnewlib/include/freetype2 -I/c/Programs/gpnewlib/include
> -IC:/Programs/gpnewlib/include
> > -Wall -W -Wshadow -Wold-style-cast -Wformat -O3 -fomit-frame-pointer -O3
> > -fomit-frame-pointer
> -MT
> > liboctave_la-oct-env.lo -MD -MP -MF .deps/liboctave_la-oct-env.Tpo -c
> > ../../../hg/octave-work/liboctave/oct-env.cc -DDLL_EXPORT -DPIC -o
> .libs/liboctave_la-oct-env.o
> > In file included from ../../../hg/octave-work/liboctave/oct-env.cc:61:0:
> > ../../../hg/octave-work/liboctave/oct-syscalls.h:61:62: error: macro
> > "waitpid" passed 4
> arguments, but
> > takes just 3
> > ../../../hg/octave-work/liboctave/oct-syscalls.h:60:16: error: expected
> > identifier before
> numeric
> > constant
> > ../../../hg/octave-work/liboctave/oct-syscalls.h:60:16: error: expected ','
> > or '...' before
> numeric
> > constant
> > ../../../hg/octave-work/liboctave/oct-env.cc: In member function
> > 'std::string
> > octave_env::do_get_host_name() const':
> > ../../../hg/octave-work/liboctave/oct-env.cc:455:20: error: 'gethostname'
> > is not a member of
> 'gnulib'
> > make[3]: *** [liboctave_la-oct-env.lo] Error 1
> > make[3]: Leaving directory `/home/octaves/OctBuild/hg-devel/liboctave'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/home/octaves/OctBuild/hg-devel/liboctave'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/octaves/OctBuild/hg-devel'
> > make: *** [all] Error 2
>
> I had some trouble building today as well. If I understand correctly, the
> problem was related to
> a change in the gnulib dependencies.. John's suggestion worked for me.
>
>
> http://www-old.cae.wisc.edu/pipermail/octave-maintainers/2010-September/017131.html
>
> Ben
>
>
>
>
>
>
--------------------------------------
Get the new Internet Explorer 8 optimized for Yahoo! JAPAN
http://pr.mail.yahoo.co.jp/ie8/