[Vala] Vala on OpenIndiana or Solaris



Just trying out latest OpenIndiana's Hipster with all updates.

Want Vala to run well on it.

New to the Solaris way of doing things.

Used
http://sfe.opencsw.org/localhostoih/info/0/pkg%3A%2F%2Flocalhostoih%2Fsfe%2Fdeveloper%2Fvala%400.29.3%2C5.11-0.0.151.1.8%3A20160710T175029Z
to bootstrap build vala-0.36.4.tar.xz

Had to manually cp vapigen.pc to vapigen-0.36.pc and
libvala.pc to libvala-0.36.pc and run extra make in a few directories

From old examples https://valadoc.org I archived May 2015

910 of 940 build and run well

13 in that batch Segmentation Fault (core dumped)

GLib.Array.prepend_vals.vala
GLib.error.vala
GLib.Error.vala
GLib.FileStream.getc.vala
GLib.FileStream.gets.vala
GLib.FileStream.read_line.vala
GLib.Process.abort.vala
GLib.Test.fail.vala
GLib.Test.rand_bit.vala
GLib.Test.rand_int_range.vala
GLib.Test.rand_int.vala
GLib.Test.run.vala
GLib.Test.trap_assert_passed.vala

2 would not build at all

https://valadoc.org/glib-2.0/GLib.Math.pow10.html
https://valadoc.org/glib-2.0/GLib.Math.pow10f.html

Both say:
warning: implicit function declaration
Undefined  symbol first referenced in file

Skipped building a few

Got a lot of warning: improper pointer/integer combination: op "="
https://docs.oracle.com/cd/E19205-01/819-5265/bjane/index.html

How do you add header file to the vala source file to fix this?

Thanks


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