help-octave
[Top][All Lists]
Advanced

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

Octave-forge build problem: Fstruct() multiple definition


From: Gregory Sharp
Subject: Octave-forge build problem: Fstruct() multiple definition
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
address@hidden


        
                
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 



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