Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/libeXosip2
Date: Wed, 4 Feb 2009 22:49:21 +0100	[thread overview]
Message-ID: <218F941249F34F48B7D7566B00C35169@aeglos> (raw)
In-Reply-To: 87tz7acqjg.fsf@macbook.be.48ers.dk

> ulf> Log:
> ulf> Define OSIP_CFLAGS and OSIP_LIBS for libeXosip2
>
>
No email for a few days.

> ulf> Changeset:
> ulf> Modified: trunk/buildroot/package/libeXosip2/libeXosip2.mk
> ulf> ===================================================================
> ulf> --- trunk/buildroot/package/libeXosip2/libeXosip2.mk 2009-02-02 
> 07:22:19 UTC (rev 25217)
> ulf> +++ trunk/buildroot/package/libeXosip2/libeXosip2.mk 2009-02-02 
> 07:24:48 UTC (rev 25218)
> ulf> @@ -22,32 +22,19 @@
> ulf> (cd $(LIBEXOSIP2_DIR); rm -rf config.cache; \
> ulf> $(TARGET_CONFIGURE_OPTS) \
> ulf> $(TARGET_CONFIGURE_ARGS) \
> ulf> + OSIP_CFLAGS="$(TARGET_CFLAGS)" \
> ulf> + OSIP_LIBS="-L$(STAGING_DIR)/usr/lib -losip2 -losipparser2" \
>
> Peter> Aren't those things already provided in TARGET_CONFIGURE_* ?

It seems that libeXosip2 ignores CFLAGS and LIBS and uses the OSIP_ stuff.

libeXosip2 fails when building on OpenSuSE 11.0 for ARM.
Reason is that configure is trying to use host libraries.

While this problem at first sight would point at OpenSuSE I think that it is 
more complex.
I have previously seen in other packages that during configure something is 
tested,
inside the host files.
If the host has the same default as Buildroot, then the build can complete,
using buildroot directories, but if the host have other values then
the build goes wrong and the packaes fails to build.

The problem is not that OpenSuSE uses a different default.
It is that configure uses the host stuff in the first place.
>
> ulf> - --includedir=$(STAGING_DIR)/usr/include \
> ulf> - --oldincludedir=/usr/include \
>
> Peter> Why were these removed?

The build can complete without them (for ARM on OpenSuSE at least),
According to the principle of Occam's razor they then should not be present.

>

It certainly did not work without this

Best Regards
Ulf Samuelsson

  reply	other threads:[~2009-02-04 21:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-02  7:24 [Buildroot] svn commit: trunk/buildroot/package/libeXosip2 ulf at uclibc.org
2009-02-02 12:25 ` Peter Korsgaard
2009-02-04 12:52   ` Peter Korsgaard
2009-02-04 21:49     ` Ulf Samuelsson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-01-25 23:32 ulf at uclibc.org
2009-01-25 20:44 ulf at uclibc.org
2009-01-25 20:48 ` Peter Korsgaard
2009-01-16 21:19 ulf at uclibc.org
2009-01-14 23:49 ulf at uclibc.org
2009-01-15  8:58 ` Peter Korsgaard
2009-01-15 20:41   ` Ulf Samuelsson

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=218F941249F34F48B7D7566B00C35169@aeglos \
    --to=ulf.samuelsson@atmel.com \
    --cc=buildroot@busybox.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