octave-maintainers
[Top][All Lists]
Advanced

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

Re: build problem on fclose


From: Marco atzeri
Subject: Re: build problem on fclose
Date: Thu, 28 Jul 2011 17:24:18 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0

On 7/28/2011 4:46 PM, Daniel Kraft wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/28/11 14:22, Marco atzeri wrote:
has someone the same build problem ?

libtool: compile:  g++-4 -DHAVE_CONFIG_H -I.
-I../../octave/liboctave -I.. -I../libgnu -I../../octave/libgnu
-I../../octave/libcruft/misc -g -O2 -DHAVE_CONFIG_H -mieee-fp
-I/usr/include/freetype2 -Wall -W -Wshadow -Wold-style-cast -Wformat
-Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -g
-O2 -MT liboctave_la-oct-md5.lo -MD -MP -MF
.deps/liboctave_la-oct-md5.Tpo -c ../../octave/liboctave/oct-md5.cc
-DDLL_EXPORT -DPIC -o .libs/liboctave_la-oct-md5.o
../../octave/liboctave/oct-md5.cc: In function 'std::string
oct_md5_file(std::string)': ../../octave/liboctave/oct-md5.cc:73:
error: 'fclose' is not a member of 'gnulib' make[3]: ***
[liboctave_la-oct-md5.lo] Error 1 make[3]: Leaving directory
`/pub/hg/octave_build/liboctave'

Yes, I did face the same problem -- presumably related to the gnulib
change with respect to the undefined FCLOSE autoconf macro?  At least it
turned up for me after that change.

You can bypass the problems by changing every 'gnulib::fclose' back into
'fclose' (at least for me it worked), but that doesn't sound like the
correct fix.

Yours,
Daniel


I guess we need to call fclose.m4 in
Makefile.in and aclocal.m4
as the other gnulib modules


$ grep fclose.m4 *

$ grep tmpdir.m4 *
Makefile.in:    $(top_srcdir)/m4/tm_gmtoff.m4 $(top_srcdir)/m4/tmpdir.m4 \
aclocal.m4:m4_include([m4/tmpdir.m4])

Regards
Marco


reply via email to

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