[Top][All Lists]

[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


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

Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

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]