mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] gobject-introspection: syntax error, unexpected typedef-names
Date: Fri, 2 Sep 2016 11:17:01 +0200	[thread overview]
Message-ID: <20160902091701.s5k6n7c2o44fp6dl@pengutronix.de> (raw)
In-Reply-To: <3f35ed88-67b8-d58b-cae6-024d2dfb7a2b@af-inventions.de>

On Thu, Sep 01, 2016 at 07:21:04PM +0200, Roland Hieber wrote:
> I'm trying to compile {host-}gobject-introspection on ptxdist-2016-08.0 on a
> Debian jessie. The compile target fails with various syntax errors like
> these (full build log is attached):
> 
> > .../sysroot-target/usr/include/glib-2.0/glib/glib-autocleanups.h:88:
> > syntax error, unexpected typedef-name, expecting identifier or '(' in
> > 'typedef GVariantType *GVariantType_autoptr;' at
> > 'GVariantType_autoptr'
> 
> The host-target seems to build though, and the host package is (apparently)
> installed correctly into platform/sysroot-host.  However, the same error
> messages in the target package seem to fail the build.
> 
> Also the autogen.sh lines in host-gobject-introspection.extract.post stage
> look strange to me.
> 
> Also, when building without -je1 -ji1 (see second attachment), I get
> additional warnings "FATAL: kernel too old".  (Does that refer to the Linux
> kernel?  I'm running 3.16.0-4-amd64, but I'm not sure if I'm able to upgrade
> that...)

I don't think the Kernel Version matters. I think the errors are caused by
a broken cross ldd. Please test check if .../sysroot-cross/bin/qemu/ldd
works correctly for target binaries. If not, then please send this file,
it's a shell script.

Michael


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2016-09-02  9:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-01 17:21 Roland Hieber
2016-09-02  9:17 ` Michael Olbrich [this message]
2016-09-02 15:17   ` Roland Hieber
2016-09-05 13:07     ` Michael Olbrich
2016-09-08 13:15       ` Roland Hieber
2016-09-09  6:38         ` Michael Olbrich
2016-09-09 10:41           ` Roland Hieber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160902091701.s5k6n7c2o44fp6dl@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox