Re: rygel c files
- From: Xia Zhou <xia zhou streamunlimited com>
- To: "Zeeshan Ali (Khattak)" <zeeshanak gnome org>
- Cc: "rygel-list gnome org" <rygel-list gnome org>
- Subject: Re: rygel c files
- Date: Mon, 01 Dec 2014 18:36:15 +0100
Hi,
Thanks for the quick reply.
The version of valac in tarball is a git version - valac 0.24.0.74-2894.
I compile with the exact version, now it works. Thanks.
The reason to generate c files is for generating rygel's patch in yocto.
Since it's quite complex to include gobject inspection in yocto, we
would like to have our customized rygel patches including vala file
changes and accordingly c file changes.
Thanks again.
B.R
Xia
On 12/01/14 17:59, Zeeshan Ali (Khattak) wrote:
Hi Xia,
Without looking into details, you need the same version of valac and
bindings to generate the same C code. The version is specified at the
top of each generated file.
Why do you care about differences in generated code btw?
On Mon, Dec 1, 2014 at 4:41 PM, Xia Zhou <xia zhou streamunlimited com> wrote:
Hi,
I'm facing some problem in rygel's valac compiling.
I download rygel's tarball (rygel-0.22.2.tar.xz) and compile it on my pc
(configure and make). I haven't changed any source code. The c files
generated on my pc are different from the ones in rygel's tarball. I'm using
ubuntu14.04, valac 0.24.0 and automake 1.14.1.
Any idea to generate c files to be the same with tarball's?
Thank you in advance.
Mainly the differences in c files are function name changes and macro
G_UNLIKELY is deleted:
example as:
- if (G_UNLIKELY (_inner_error_ != NULL)) {
+ if (_inner_error_ != NULL) {
-static void __lambda9_ (Block2Data* _data2_);
-static void ___lambda9__soup_session_callback (SoupSession* session,
SoupMessage* msg, gpointer self);
+static void __lambda8_ (Block2Data* _data2_);
+static void ___lambda8__soup_session_callback (SoupSession* session,
SoupMessage* msg, gpointer self);
B.R
Xia
--
Xia Zhou, M.Sc, E.E.
Embedded Engineer | Software | StreamUnlimited
Mobile: +43 (0) 699 1721 2699
Office: +43 1 667 2002 4050
Fax: +43 1 667 2002 4401
Skype: xia.zhou_streamunlimited
Meet us at:
CES - Las Vegas, 6-9 January 2015
ISE - Amsterdam, 10-12 February 2015
_______________________________________________
rygel-list mailing list
rygel-list gnome org
https://mail.gnome.org/mailman/listinfo/rygel-list
--
Xia Zhou, M.Sc, E.E.
Embedded Engineer | Software | StreamUnlimited
Mobile: +43 (0) 699 1721 2699
Office: +43 1 667 2002 4050
Fax: +43 1 667 2002 4401
Skype: xia.zhou_streamunlimited
Meet us at:
CES - Las Vegas, 6-9 January 2015
ISE - Amsterdam, 10-12 February 2015
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]