help-octave
[Top][All Lists]
Advanced

[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
        /contrib/octave/octave-forge-2004.02.12/main/comm
        309,312d308
        < #define TBM boolMatrix (1, 1, true)
        < #define FBM boolMatrix (1, 1, false)
        < #define NBM boolMatrix ()
        <
        319c315
        <   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

Hi,

I'm trying to build octave-forge on linux, but I have
experienced
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 galois.cc (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,
Greg
-------------------------------------------------------------
mkoctfile -DHAVE_OCTAVE_21 -v struct.cc
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 struct.cc -o struct.o
g++ -shared -o struct.oct struct.o
-L/usr/local/lib/octave-2.1.57 -loctinterp -loctave -lcruft
-lreadline -lncurses -lm
-L/usr/lib/gcc-lib/i486-slackware-linux/3.2.3
-L/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/lib
-L/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../..
-lfrtbegin -lg2c -lm -lgcc_s
/usr/local/lib/octave-2.1.57/liboctinterp.a(ov-struct.o)(.text+0x37b0):
In function `Fstruct(octave_value_list const&, int)':
/home/gsharp/pkg/octave/octave-2.1.57/src/ov-struct.cc:514:
multiple definition of `Fstruct(octave_value_list const&, int)'
struct.o(.text+0x260):/home/gsharp/pkg/octave/octave-forge-2004.02.12/main/struct/struct.cc:40:
first defined here
/usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld:
Warning: size of symbol `Fstruct(octave_value_list const&, int)'
changed from 7595 in struct.o to 4487 in
/usr/local/lib/octave-2.1.57/liboctinterp.a(ov-struct.o)
collect2: ld returned 1 exit status
make[2]: *** [struct.oct] Error 1
make[2]: Leaving directory
`/home/gsharp/pkg/octave/octave-forge-2004.02.12/main/struct'


=====
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:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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