octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #32444] Range.cc build error: ‘floor’ is not a


From: Michael B Allen
Subject: [Octave-bug-tracker] [bug #32444] Range.cc build error: ‘floor’ is not a member of ‘gnulib’
Date: Sat, 12 Feb 2011 22:52:24 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009061118 Fedora/3.0.11-1.fc9 Firefox/3.0.11

URL:
  <http://savannah.gnu.org/bugs/?32444>

                 Summary: Range.cc build error: ‘floor’ is not a member
of ‘gnulib’
                 Project: GNU Octave
            Submitted by: ioplex
            Submitted on: Sat 12 Feb 2011 10:52:23 PM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Michael B Allen
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Trying to build Range.cc from the 3.4.0 tar.gz package (not  Mercurial
sources) with gcc-c++-4.3.0-8.i386 on Fedora 9 results in the following
error:

/bin/sh ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  
         -I../libgnu -I../libgnu -I../libcruft/misc  -g -O2  -DHAVE_CONFIG_H
-mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -pthread -g -O2 -MT
liboctave_la-Range.lo -MD -MP -MF .deps/liboctave_la-Range.Tpo -c -o
liboctave_la-Range.lo `test -f 'Range.cc' || echo './'`Range.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu
-I../libcruft/misc -g -O2 -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow
-Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align
-Wcast-qual -g -O2 -pthread -g -O2 -MT liboctave_la-Range.lo -MD -MP -MF
.deps/liboctave_la-Range.Tpo -c Range.cc  -fPIC -DPIC -o
.libs/liboctave_la-Range.o
Range.cc: In function ‘double tfloor(double, double)’:
Range.cc:440: error: ‘floor’ is not a member of ‘gnulib’
Range.cc:444: error: ‘floor’ is not a member of ‘gnulib’
make[3]: *** [liboctave_la-Range.lo] Error 1
make[3]: Leaving directory `/home/miallen/tmp/octave-3.4.0/liboctave'

My libgnu/math.h contains:

 610 #if 1
 611 # if 0
 612 #  if !(defined __cplusplus && defined GNULIB_NAMESPACE)
 613 #   define floor rpl_floor
 614 #  endif
 615 _GL_FUNCDECL_RPL (floor, double, (double x));
 616 _GL_CXXALIAS_RPL (floor, double, (double x));
 617 # else
 618 _GL_CXXALIAS_SYS (floor, double, (double x));
 619 # endif
 620 _GL_CXXALIASWARN (floor);
 621 #endif




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32444>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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