[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building latest CVS on Solaris 9
From: |
John W. Eaton |
Subject: |
Building latest CVS on Solaris 9 |
Date: |
Wed, 10 Dec 2003 14:24:48 -0600 |
On 10-Dec-2003, Albert Chin <address@hidden> wrote:
| Trying to build latest CVS on Solaris 9 with:
| $ cc -V
| cc: Forte Developer 7 C 5.4 2002/03/09
|
| I run into the following problem:
| CC -G -o liboctave.so \
|
| [...]
|
| ld: fatal: symbol `boolNDArray mx_el_and(const boolNDArray&,const
| boolNDArray&)' is multiply-defined:
| (file pic/boolNDArray.o type=FUNC; file pic/mx-bnda-bnda.o
| type=FUNC);
| ld: fatal: symbol `boolNDArray mx_el_or(const boolNDArray&,const
| boolNDArray&)' is multiply-defined:
| (file pic/boolNDArray.o type=FUNC; file pic/mx-bnda-bnda.o
| type=FUNC);
| ld: fatal: symbol `boolNDArray mx_el_and(const bool&,const
| boolNDArray&)' is multiply-defined:
| (file pic/boolNDArray.o type=FUNC; file pic/mx-b-bnda.o
| type=FUNC);
| ld: fatal: symbol `boolNDArray mx_el_or(const bool&,const
| boolNDArray&)' is multiply-defined:
| (file pic/boolNDArray.o type=FUNC; file pic/mx-b-bnda.o
| type=FUNC);
| ld: fatal: symbol `boolNDArray mx_el_and(const boolNDArray&,const
| bool&)' is multiply-defined:
| (file pic/boolNDArray.o type=FUNC; file pic/mx-bnda-b.o
| type=FUNC);
| ld: fatal: symbol `boolNDArray mx_el_or(const boolNDArray&,const
| bool&)' is multiply-defined:
| (file pic/boolNDArray.o type=FUNC; file pic/mx-bnda-b.o
| type=FUNC);
| ld: fatal: File processing errors. No output written to liboctave.so
| gmake[2]: *** [liboctave.so] Error 1
| gmake[2]: Leaving directory `/opt/build/octave-2.1.52/liboctave'
Please try the following patch.
Thanks,
jwe
2003-12-10 John W. Eaton <address@hidden>
* mx-ops: Delete bnda x bnda, b x bnda, and bnda x b ops since
they are already defined in boolNDArray.cc.
Index: liboctave/mx-ops
===================================================================
RCS file: /usr/local/cvsroot/octave/liboctave/mx-ops,v
retrieving revision 1.2
diff -u -r1.2 mx-ops
--- liboctave/mx-ops 26 Nov 2003 07:02:42 -0000 1.2
+++ liboctave/mx-ops 10 Dec 2003 20:22:40 -0000
@@ -11,9 +11,6 @@
nda NDArray ND dNDArray.h YES
s double S NONE NO
# ops
-bnda bnda bnda L false
-bnda b bnda L false
-bnda bnda b L false
cdm cdm dm B
cdm dm cdm B
cm cs cdm B