[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiler problem with 2.1.34, Debian related
From: |
Douglas Eck |
Subject: |
Compiler problem with 2.1.34, Debian related |
Date: |
Wed, 27 Jun 2001 15:07:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux 2.4.1 i686; en-US; rv:0.9.1) Gecko/20010607 |
I recently updated to Dirk's latest deb package for 2.1.34.
Now one of my dynamic c++ files will not compile. The problem
is, I also updated everything else on my system to the latest
"sid" (a debian release) versions. So this is may very well
be not octave related at all.
ruchetta ~/lstm/dynamic>c++ -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20010604 (Debian prerelease)
A SIMPLE FILE (lstmForwardPass.cc) compiles successfully:
ruchetta ~/lstm/dynamic>mkoctfile -v lstmForwardPass.cc
c++ -c -fPIC -I/usr/include/octave-2.1.34 -I/usr/include/octave-2.1.34/octave \
-I/usr/include -mieee-fp -fno-implicit-templates -O2 lstmForwardPass.cc -o
lstmForwardPass.o
c++ -shared -o lstmForwardPass.oct lstmForwardPass.o
A MORE COMPLICATED FILE (lstmLearn.cc) never returns from the c++ call:
ruchetta ~/lstm/dynamic>mkoctfile -v lstmLearn.cc
c++ -c -fPIC -I/usr/include/octave-2.1.34 -I/usr/include/octave-2.1.34/octave \
-I/usr/include -mieee-fp -fno-implicit-templates -O2 lstmLearn.cc -o
lstmLearn.o
If I turn off -O2 I don't have the same problems. Of course, I can
keep it turned off but I'd rather find the issue.
A tarball of this source is at http://www.idsia.ch/~doug/lstm.tgz.
Is there a debian-packaged compiler that should work? I tried gcc++3.0
but had problems there. Also, apologies if this repeats an earlier question.
I see a lot of compiler-related activitiy on help-octave but none of it seemed
relevant for this question.
-------------------------------------------------------------
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
-------------------------------------------------------------
- Compiler problem with 2.1.34, Debian related,
Douglas Eck <=