[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undeclared variable error
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: undeclared variable error |
Date: |
Thu, 21 Jul 2011 10:30:50 -0500 |
2011/7/21 David Doria <address@hidden>:
>> You're having trouble building the documentation. A simple workaround
>> is to not build it, disable it from the configure script. The problem
>> seems to be with your version of TeXinfo and/or TeX, so which ones do
>> you have installed? TeXinfo should recognise a less than or equal
>> sign.
>
> I'm fine without building the docs. I did this:
> ~/build/octave$ ~/src/octave-3.4.2/configure --prefix=/home/ddoria/bin
> --enable-docs=no
>
> and it seemed to get past that. However, now I get:
>
> /usr/bin/ld: /home/ddoria/bin/lib/liblapack.a(sgbtrf.f.o): relocation
> R_X86_64_32 against `a local symbol' can not be used when making a
> shared object; recompile with -fPIC
> /home/ddoria/bin/lib/liblapack.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
>
> I tried this:
> ~/build/octave$ ~/src/octave-3.4.2/configure --prefix=/home/ddoria/bin
> --enable-docs=no CFLAGS=-fPIC CXXFLAGS=-fPIC
>
> but there was no change.
The build system is looking for a LAPACK to link against, but it's
only finding a static library, against which it can't link. LAPACK
isn't built as part of Octave anymore (I can't remember if it ever
was). Building a static binary against LAPACK isn't supported, I don't
think. Looks like you built LAPACK yourself; if so, rebuild it to
provide a shared library.
- Jordi G. H.
- undeclared variable error, David Doria, 2011/07/18
- Re: undeclared variable error, Jordi Gutiérrez Hermoso, 2011/07/18
- Re: undeclared variable error, David Doria, 2011/07/18
- Re: undeclared variable error, Jordi Gutiérrez Hermoso, 2011/07/20
- Re: undeclared variable error, David Doria, 2011/07/21
- Re: undeclared variable error, David Doria, 2011/07/21
- Re: undeclared variable error, Jordi Gutiérrez Hermoso, 2011/07/21
- Re: undeclared variable error, David Doria, 2011/07/21
- Re: undeclared variable error,
Jordi Gutiérrez Hermoso <=
- Re: undeclared variable error, John W. Eaton, 2011/07/21
- Re: undeclared variable error, David Doria, 2011/07/21
- Re: undeclared variable error, John W. Eaton, 2011/07/21