Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Jack Mitchell <ml@communistcode.co.uk>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Couple of autotools configure problems
Date: Mon, 10 Sep 2012 14:28:38 +0100	[thread overview]
Message-ID: <504DEB06.2060901@communistcode.co.uk> (raw)
In-Reply-To: <20120910131556.GC3502@jama.jama.net>

On 10/09/12 14:15, Martin Jansa wrote:
> On Mon, Sep 10, 2012 at 02:00:12PM +0100, Jack Mitchell wrote:
>> First off:
>>
>> | automake: warnings are treated as errors
>> | lib/Makefile.am:22: warning: ':='-style assignments are not portable
>> | lib/Makefile.am:23: warning: ':='-style assignments are not portable
>> | autoreconf: automake failed with exit status: 1
>> | ERROR: autoreconf execution failed.
>>
>> What is a portable version of ':=', maybe '+='? I can't get anything but
>> unrelated hits from Google.
>>
>> Secondly:
>>
>> | autoreconf: running: aclocal -I
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12
>> -I
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libwebsockets-0.0.0-r0/git/aclocal-copy/
>> -I
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12
>> -I
>> /mnt/storage/yoctoBuilds/poky-beaglebone.git/beaglebone-db/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libwebsockets-0.0.0-r0/git/aclocal-copy/
>> --force --warnings=cross
>> | aclocal: warning: unknown warning category 'cross'
>>
>> Where does this warning=cross come from and how come it doesn't effect
>> any other autotool builds?
>>
>> I am attempting to compile libwebsockets which is located at:
>> http://git.warmcat.com/cgi-bin/cgit/libwebsockets/tree/
>>
>> Cheers,
> See this thread
> http://lists.linuxtogo.org/pipermail/openembedded-core/2012-September/029108.html
>
> Cheers,
>

Thanks, seems as though the patch has just landed in master in the past 
few minutes!

As for the first issue I have found that ':=' operator means 'expand and 
use' , they are used here and it turns out to be a make issue, not 
configure:

libwebsockets_la_CFLAGS:=-Wall -std=gnu99 -pedantic
libwebsockets_la_LDFLAGS:=

Could I change them to

libwebsockets_la_CFLAGS =-Wall -std=gnu99 -pedantic
libwebsockets_la_LDFLAGS =

or even,

libwebsockets_la_CFLAGS+=-Wall -std=gnu99 -pedantic
libwebsockets_la_LDFLAGS+=

I don't see anything that needs expanding, or does it expand the 
variable and then append the new flags?

Cheers,

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




      reply	other threads:[~2012-09-10 14:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-10 13:00 Couple of autotools configure problems Jack Mitchell
2012-09-10 13:08 ` Phil Blundell
2012-09-10 14:16   ` Jack Mitchell
2012-09-10 14:22     ` Phil Blundell
2012-09-10 14:32       ` Jack Mitchell
2012-09-10 13:15 ` Martin Jansa
2012-09-10 13:28   ` Jack Mitchell [this message]

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=504DEB06.2060901@communistcode.co.uk \
    --to=ml@communistcode.co.uk \
    --cc=openembedded-devel@lists.openembedded.org \
    /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