[Scilab-Dev] building scialb 5.3.0 on OpenSolaris

Jonathan Blanchard BlanchardJ at ieee.org
Mon Jan 10 19:06:17 CET 2011


On Mon, Jan 10, 2011 at 1:37 PM, Jonathan Blanchard <BlanchardJ at ieee.org> wrote:
> On Mon, Jan 10, 2011 at 1:18 PM, Kostas Oikonomou <ko at research.att.com> wrote:
>> Jonathan Blanchard <BlanchardJ at ...> writes:
>>
>>>
>>>
>>> > Thanks.  I added '-lsunmath' to configure, and it gets added to the last
>>> > compilation command, but the error still looks to be the same.
>>> >
>>> >
>>>
>>> This is a bit puzzling, are you using sun linker?
>>>
>>> Jonathan Blanchard
>>
>> Yes, /usr/ccs/bin/ld.
>>
>> I also searched on Google, and some of the undefined symbols, e.g.
>> _gfortran_os_error are in the library /usr/lib/libgfortran.so. It seems to me
>> that gfortran should include this library by default, but even after adding
>> -lgfortran to LIBS, these symbols are still undefined.
>>
>> Kostas
>>
>>
>
> I'm trying a rebuild right now to compare build output. That -nostdlib
> option in your link line is suspicious, I don't remember scilab
> manually linking everything. In the meantime do you have CFLAGS,
> LDFLAGS and friends defined to anything?
>
>
> Jonathan Blanchard
>

k. Nevermind what I just said. The major diff between my link line and
your is the linking of sunperf for that lib. Try applying the attached
patch and then running autoreconf in your top source dir.

Then slightly modify your build options by removing -lsunperf and
-lsunmath from LIBS.

Jonathan Blanchard



More information about the dev mailing list