octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is this the way to configure for static build of octave 3.6.1?


From: Corbin Champion
Subject: Re: Is this the way to configure for static build of octave 3.6.1?
Date: Thu, 1 Mar 2012 13:34:20 -0800



On Thu, Mar 1, 2012 at 1:08 PM, Corbin Champion <address@hidden> wrote:


On Thu, Mar 1, 2012 at 12:39 PM, John W. Eaton <address@hidden> wrote:
On  1-Mar-2012, Corbin Champion wrote:

| The end result though will be that all the
|
| DLD_FUNCTIONS_*_la_LIBADD = liboctinterp.la x y z
|
| will become
|
| DLD_FUNCTIONS_*_la_LIBADD = x y z
|
| in src/Makefile.
|
| Is that right?  That would be an easy change to make.

I think so.  Try it.

jwe

I'll remember to reply to all...eventually :)


That worked for that issue.  Immediately ran into another issue when it was linking ...

When doing this:

/bin/bash ../libtool --tag=CXX   --mode=link arm-linux-gnueabi-g++ -g -O2  -DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O -pthread -O -version-info 1:1:0 -no-undefined -bindir /usr/local/bin        -o liboctinterp.la   etc etc etc

it eventually has:
../libcruft/libcruft.la DLD-FUNCTIONS/__contourc__.la

and I get this error:

libtool: link: cannot find the library `DLD-FUNCTIONS/__contourc__.
la' or unhandled argument `DLD-FUNCTIONS/__contourc__.la'

but that was never created.  Earlier DLD-FUNCTIONS/__contourc__.o was created.  Were there other fixes put in place to get static linking working again?  Any suggestions?

Thanks,
Corbin


One thing that could help is...  Can you (or another) send me what the src/Makefile looks like in a later release after static linking has been fixed and ./configure has been run to enable static linking?  Then, I can see what else I am missing. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]