[Scilab-Dev] building scialb 5.3.0 on OpenSolaris

Jonathan Blanchard BlanchardJ at ieee.org
Mon Jan 10 19:08:31 CET 2011


On Mon, Jan 10, 2011 at 2:06 PM, Jonathan Blanchard <BlanchardJ at ieee.org> wrote:
> 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
>

As usual I forget the attachment sorry.

Jonathan Blanchard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sunperflib.patch
Type: application/octet-stream
Size: 823 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/dev/attachments/20110110/84c0d245/attachment.obj>


More information about the dev mailing list