help-octave
[Top][All Lists]
Advanced

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

make error about log2 for octave-3.1.51 (Not 3.1.50)


From: Tatsuro MATSUOKA
Subject: make error about log2 for octave-3.1.51 (Not 3.1.50)
Date: Wed, 23 Jul 2008 17:06:26 +0900 (JST)

Hello

/opt/octave/gcc-3.4.4dw2/bin/g++ -c -I/opt/octave/gcc-3.4.4dw2/include 
-I/usr/include
-I/opt/octave/octave-3.1.51/include  -I. -I.. -I../liboctave -I../src 
-I../libcruft/misc 
-DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -g -O2 Cell.cc -o 
Cell.o
In file included from ov.h:59,
                 from oct-obj.h:33,
                 from Cell.h:32,
                 from Cell.cc:29:
ov-base.h:527: error: expected `)' before '/' token
In file included from oct-obj.h:33,
                 from Cell.h:32,
                 from Cell.cc:29:
ov.h:997: error: expected `)' before '/' token
make[2]: *** [Cell.o] Error 1
make[2]: Leaving directory `/home/octaves/octave-3.1.51/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/octaves/octave-3.1.51'
make: *** [all] Error 2

ov-base.h:527: error: expected `)' before '/' token
 virtual octave_value log2 (void) const;

ov.h:997: error: expected `)' before '/' token

config.h:464
/* Define to 1 if you have the `log2' function. */
/* #undef HAVE_LOG2 */


config.log:9156
configure:26029: /opt/octave/gcc-3.4.4dw2/bin/gcc -o conftest.exe -g -O2
-I/opt/octave/gcc-3.4.4dw2/include -I/usr/include 
-I/opt/octave/octave-3.1.51/include 
-L/opt/octave/gcc-3.4.4dw2/lib -L/opt/octave/octave-3.1.51/lib conftest.c -ldl 
-lwsock32 -lblas -lhdf5
-lz -lm  -lwsock32 >&5
conftest.c:265: warning: conflicting types for built-in function 'log2'
/cygdrive/c/DOCUME~1/Tatsu/LOCALS~1/Temp/ccir4uGp.o: In function `main':
/home/octaves/octave-3.1.51/conftest.c:284: undefined reference to `_log2'
collect2: ld returned 1 exit status
configure:26035: $? = 1


Unlike octave-3.1.50, this time, non-existense of log2 function was successfuly 
detected.
So there are be some codes fot the definition of function log2.

Would someone kindly tell me where it is ?

I think that it is non-effective for our system.

Regards

Tatsuro
 


--------------------------------------
Stop! Global Warming ~ Yahoo! JAPAN Earth Project
http://pr.mail.yahoo.co.jp/earthproject/


reply via email to

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