Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Paul Menzel <paulepanter@users.sourceforge.net>
Cc: Michael 'Mickey' Lauer <mickey@vanille-media.de>,
	openembedded-devel@lists.openembedded.org
Subject: Re: libfsotransport_git: `do_compile()` fails with error: Pointer arithmetic not supported for `void*'
Date: Wed, 6 Oct 2010 16:14:20 +0200	[thread overview]
Message-ID: <20101006141420.GI3264@jama> (raw)
In-Reply-To: <1286373970.3792.6.camel@mattotaupa>

On Wed, Oct 06, 2010 at 04:06:10PM +0200, Paul Menzel wrote:
> Dear OE folks,
> 
> 
> `libfsotransport_git.bb` fails to compile with the following error [1]. The log from Tinderbox is is not from my build machine, but I do get the same error.
> 
>         NOTE: make
>         make  all-recursive
>         make[1]: Entering directory `/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/libfsotransport-1_0.9.6+gitr842+43fae6cf5e3aa57f5d7fed467896d2d4d0f69679-r2.2/git/libfsotransport'
>         Making all in fsotransport
>         make[2]: Entering directory `/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/libfsotransport-1_0.9.6+gitr842+43fae6cf5e3aa57f5d7fed467896d2d4d0f69679-r2.2/git/libfsotransport/fsotransport'
>         /home/shr/shr-unstable/tmp/sysroots/x86_64-linux/usr/bin/valac -C --basedir .. --vapidir ../vapi --pkg posix --pkg linux --pkg glib-2.0 --pkg gio-2.0 --pkg gee-1.0 --pkg fsobasics-2.0 --header fsotransport.h --library fsotransport-2.0  -D FAST_BAUD --pkg hsuart basetransport.vala commandqueue.vala delegate.vala null.vala parser.vala pipe.vala pty.vala serial.vala socket.vala transport.vala hsuart.vala
>         basetransport.vala:463.13-463.31: error: Pointer arithmetic not supported for `void*'
>                     rdata += (int)bread;
>                     ^^^^^^^^^^^^^^^^^^^
>         basetransport.vala:463.13-463.31: error: Assignment: Invalid callback assignment attempt
>                     rdata += (int)bread;
>                     ^^^^^^^^^^^^^^^^^^^
>         Compilation failed: 2 error(s), 0 warning(s)
>         make[2]: *** [.vala.stamp] Error 1
>         make[2]: Leaving directory `/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/libfsotransport-1_0.9.6+gitr842+43fae6cf5e3aa57f5d7fed467896d2d4d0f69679-r2.2/git/libfsotransport/fsotransport'
>         make[1]: *** [all-recursive] Error 1
>         make[1]: Leaving directory `/home/shr/shr-unstable/tmp/work/armv4t-oe-linux-gnueabi/libfsotransport-1_0.9.6+gitr842+43fae6cf5e3aa57f5d7fed467896d2d4d0f69679-r2.2/git/libfsotransport'
>         make: *** [all] Error 2
>         FATAL: oe_runmake failed
>         ERROR: Function do_compile failed
> 
> Might this be related to the switch to new Vala version 0.11.0 [3] which has such a check included [2]? Commit ecafbae [4] seems not to be enough.

Hi,

actually this commit is not enough ([4] doesn't change
FSO_CORNUCOPIA_SRCREV which is used in libfsotransport):
http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=4f8ed5aa3bd3d5d5144efea2b16cfef4822fcbaa

it fixes one kind of problems with new vala (detection), but
I wasn't able to fix libfsotransport and for fsogsmd I have patch not
yet pushed to cornucopia repo (both waiting for mickey).

Regards,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



  reply	other threads:[~2010-10-06 14:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-06 14:06 libfsotransport_git: `do_compile()` fails with error: Pointer arithmetic not supported for `void*' Paul Menzel
2010-10-06 14:14 ` Martin Jansa [this message]
2010-10-06 16:07   ` Michael 'Mickey' Lauer

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=20101006141420.GI3264@jama \
    --to=martin.jansa@gmail.com \
    --cc=mickey@vanille-media.de \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=paulepanter@users.sourceforge.net \
    /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