-----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