[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile Octave: One error and one question
From: |
Javier Arantegui |
Subject: |
Compile Octave: One error and one question |
Date: |
Mon, 13 Jun 2005 18:31:01 +0200 |
User-agent: |
KMail/1.8.1 |
Hello,
First the error, and then the question.
I got this error trying to compile Octave 2.9.3:
g++ -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H
-mieee -fp -Wall -W -Wshadow -g -O2 -rdynamic \
-L.. -fPIC -o octave \
main.o \
-L../liboctave -L../libcruft -L../src -Wl,-rpath
-Wl,/usr/local/lib/octave-2.9.3 \
-loctinterp -loctave -lcruft \
-lblas -lreadline -lncurses -ldl -lz -lm
-L/usr/lib/gcc-lib/i586-suse-linux /3.3.4
-L/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../../../i586-suse-linux/lib
-L/usr/lib/gcc-lib/i586-suse-linux/3.3.4/../../.. -lz -lfrtbegin -lg2c -lm
-lgcc _s
../libcruft/libcruft.so: undefined reference to `zdrot_'
collect2: ld returned 1 exit status
make[2]: *** [octave] Error 1
make[2]: Leaving directory `/home/javier/cajon/octave-2.9.3/octave-2.9.3/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/javier/cajon/octave-2.9.3/octave-2.9.3'
make: *** [all] Error 2
* My PC is a 1 GHz AMD CPU, 256 Mb RAM
* My distribution is a SUSE 9.2.
* gcc (GCC) 3.3.4 (pre 3.3.5 20040809)
* To compile Octave I did:
./configure --enable-shared --disable-static
make
Any idea about what's wrong? Do you need more information?
I think that this is one of the silliest question about compiling a program,
but I'm clueless. When I compile a program (./ configure && make), is the new
binary CPU specific? I mean ./configure says my CPU is a i686, could I use
compiled version of Octave in a PC with a i586?
Thanks,
Javier
--
Javier Arántegui
Dept. Tecnologia de Alimentos / Dept. of Food Technology
Universitat de Lleida / University of Lleida (Spain)
Tel. +34 973702595
Fax +34 973702596
IM: Jabber - javier.arantegui (AT) jabberes.org
http://www.tecal.udl.es
-------------------------------------------------------------
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
-------------------------------------------------------------
- Compile Octave: One error and one question,
Javier Arantegui <=