[Top][All Lists]

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

compile errors making octave-forge-2004-02-12

From: Tom G. Smith (Smitty)
Subject: compile errors making octave-forge-2004-02-12
Date: Wed, 26 May 2004 15:18:37 -0500 (CDT)

In an attempt to fix several errors with octave, including one
in pinfo and another with delaunayn.m, I downloaded and did
./configure/make/make install on octave 2.1.57 with no problems.
But then when I attempted to install octave-forge, after bypassing
some compile errors by changing galois-def.h -

        bash-2.05b$ pwd;diff galois-def.h galois-def.h.d040526.t144544.root
        < #define TBM boolMatrix (1, 1, true)
        < #define FBM boolMatrix (1, 1, false)
        < #define NBM boolMatrix ()
        <   MM_CMP_OP1(mx_el_ne, !=, M1,   , M2,   , GR1, GR2, CHECK, TBM, FBM)
        >   MM_CMP_OP1(mx_el_ne, !=, M1,   , M2,   , GR1, GR2, CHECK, TBM, FBM) 

I redid the make, and got the same errors Greg Sharp did below:
>From help-octave-request at octave dot org Sun May  2 23:26:28 2004
Subject: Octave-forge build problem: Fstruct() multiple definition
From: Gregory Sharp <gregsharp dot geo at yahoo dot com>
To: help at octave dot org
Date: Sun, 2 May 2004 22:57:10 -0500


I'm trying to build octave-forge on linux, but I have
a build problem.  I am using:

Octave 2.1.57 (from tarball - built ok)
octave-forge-2004.02.12.tar.gz (from tarball)
gcc 3.2.3

After solving the problem with (which is described
elsewhere), I get the build error described below.  I suspect
the octave-forge tarball is simply too old; is the CVS
version a good match for 2.1.57?

Thank you,
mkoctfile -DHAVE_OCTAVE_21 -v
g++ -c -fPIC -I/usr/local/include/octave-2.1.57
-I/usr/local/include/octave-2.1.57/octave -I/usr/local/include
-mieee-fp -g -O2 -DHAVE_OCTAVE_21 -o struct.o
g++ -shared -o struct.oct struct.o
-L/usr/local/lib/octave-2.1.57 -loctinterp -loctave -lcruft
-lreadline -lncurses -lm
-lfrtbegin -lg2c -lm -lgcc_s
In function `Fstruct(octave_value_list const&, int)':
multiple definition of `Fstruct(octave_value_list const&, int)'
first defined here
Warning: size of symbol `Fstruct(octave_value_list const&, int)'
changed from 7595 in struct.o to 4487 in
collect2: ld returned 1 exit status
make[2]: *** [struct.oct] Error 1
make[2]: Leaving directory

Greg Sharp
gregsharp at geocities dot com

This e-mail is intended for the use of the addressee(s) only and may contain
privileged, confidential, or proprietary information that is exempt from
disclosure under law.  If you have received this message in error, please
inform us promptly by reply e-mail, then delete the e-mail and destroy any
printed copy.   Thank you.

Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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