Re: [Vala] [ANNOUNCE] Vala 0.3.5 - Compiler for the GObject type system
- From: Yu Feng <rainwoodman gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] [ANNOUNCE] Vala 0.3.5 - Compiler for the GObject type system
- Date: Fri, 15 Aug 2008 14:21:14 -0400
Vala 0.3.5 fails to compile on AIX 5.3
libtool: link: gcc -g -O2 -o .libs/valac valacompiler.o
-L/N/u/fengy/Libra/opt/lib -L../gobject/.libs -lvala -lgobject-2.0
-lglib-2.0 -L/opt/freeware/lib -lintl -liconv
-Wl,-blibpath:/N/u/fengy/Libra/opt/lib:/opt/freeware/lib:/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0:/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/../../..:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined
symbol: .vala_code_context_set_target_glib_major
ld: 0711-317 ERROR: Undefined
symbol: .vala_code_context_set_target_glib_minor
ld: 0711-317 ERROR: Undefined
symbol: .vala_code_context_get_target_glib_major
ld: 0711-317 ERROR: Undefined symbol: .vala_genie_parser_new
ld: 0711-317 ERROR: Undefined symbol: .vala_genie_parser_parse
objdump shows the symbols are in vala/.libs/libvalacore.a
libra02 /N/u/fengy/Libra/source/vala-0.3.5/vala/.libs$ objdump -t
libvalacore.a|grep major
[1200](sec -2)(fl 0x00)(ty 0)(scl 140) (nx 0) 0x00000000
_ValaCodeContextPrivate:T1626=s100_library:232,0,32;_memory_management:34,32,32;_assert:34,64,32;_checking:34,96,32;_non_null:34,128,32;_non_null_experimental:34,160,32;_ccode_only:34,192,32;_compile_only:34,224,32;_output:232,256,32;_basedir:232,288,32;_directory:232,320,32;_debug:34,352,32;_optlevel:33,384,32;_thread:34,416,32;_module_init_method:1996=*1279,448,32;_save_temps:34,480,32;_target_glib_major:33,512,32;_target_glib_minor:33,544,32;source_files:1663,576,32;c_source_files:1663,608,32;_root:1997=*1307,640,32;cycles:1663,672,32;packages:1663,704,32;defines:1663,736,32;_codegen:1998=*1303,768,32;;
[1329](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 2)
0x00001020 .vala_code_context_get_target_glib_major
.vala_code_context_get_target_glib_major :
[1332](sec -2)(fl 0x00)(ty 0)(scl 142) (nx 0) 0x00001020
vala_code_context_get_target_glib_major:F33
[1638](sec -2)(fl 0x00)(ty 0)(scl 132) (nx 0) 0x0000001e major:R33
[1700](sec 1)(fl 0x00)(ty 20)(scl 2) (nx 2)
0x00002560 .vala_code_context_set_target_glib_major
.vala_code_context_set_target_glib_major :
[1703](sec -2)(fl 0x00)(ty 0)(scl 142) (nx 0) 0x00002560
vala_code_context_set_target_glib_major:F-11
[2779](sec 2)(fl 0x00)(ty 0)(scl 107) (nx 1) 0x00006848
vala_code_context_get_target_glib_major
[2781](sec 2)(fl 0x00)(ty 0)(scl 2) (nx 1) 0x00006848
vala_code_context_get_target_glib_major
[2863](sec 2)(fl 0x00)(ty 0)(scl 107) (nx 1) 0x00006950
vala_code_context_set_target_glib_major
[2865](sec 2)(fl 0x00)(ty 0)(scl 2) (nx 1) 0x00006950
vala_code_context_set_target_glib_major
Is there any mis-configuration of the Makefiles?
Yu
On Thu, 2008-08-14 at 23:13 +0200, Jürg Billeter wrote:
We are pleased to announce version 0.3.5 of Vala, a compiler for the
GObject type system.
Vala 0.3.5 is now available for download at:
http://download.gnome.org/sources/vala/0.3/
Changes since 0.3.4
* Notify on property changes by default (Jared Moore)
* Add unique-1.0 bindings (Phil Housley)
* Updates to the GLib, GTK+, and GStreamer bindings.
* Many bug fixes.
Vala is a new programming language that aims to bring modern programming
language features to GNOME developers without imposing any additional
runtime requirements and without using a different ABI compared to
applications and libraries written in C.
valac, the Vala compiler, is a self-hosting compiler that translates
Vala source code into C source and header files. It uses the GObject
type system to create classes and interfaces declared in the Vala source
code. It's also planned to generate GIDL files when gobject-
introspection is ready.
The syntax of Vala is similar to C#, modified to better fit the GObject
type system. Vala supports modern language features as the following:
* Interfaces
* Properties
* Signals
* Foreach
* Lambda expressions
* Type inference for local variables
* Generics
* Non-null types
* Assisted memory management
* Exception handling
Vala is designed to allow access to existing C libraries, especially
GObject-based libraries, without the need for runtime bindings. Each to
be used library requires a Vala API file at compile-time, containing the
class and method declarations in Vala syntax. Vala currently comes with
bindings for current versions of GLib, GTK+, and many more.
Using classes and methods written in Vala from an application written in
C is not difficult. The Vala library only has to install the generated
header files and C applications may then access the GObject-based API of
the Vala library as usual. It should also be easily possible to write a
bindings generator for access to Vala libraries from applications
written in e.g. C# as the Vala parser is written as a library, so that
all compile-time information is available when generating a binding.
More information about Vala is available at
http://live.gnome.org/Vala
The Vala Team
Jürg Billeter and Raffaele Sandrini
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]