Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
To: buildroot@busybox.net
Subject: [Buildroot] openssl 1.0.2 with sed error of unknown option
Date: Fri, 20 Mar 2015 20:52:53 -0300	[thread overview]
Message-ID: <550CB2D5.5080504@zacarias.com.ar> (raw)
In-Reply-To: <CAOYKon=qesv3Zrrnno5ha73DJRa5itMqmnMYEmnN58aDLsLuyg@mail.gmail.com>

On 03/20/2015 08:20 PM, Walt Chow wrote:

> Upgrading to openssl 1.0.2, I came across a problem during configuration
> as below:
> 
> Configured for linux-generic32.
> 
> /usr/bin/sed: -e expression #1, char 141: unknown option to `s' make[1]:
> *** 
> 
> 
> The problem comes from openssl.mk <http://openssl.mk>:
> 
> $(SED) "s:-O[0-9]:$(OPENSSL_CFLAGS):" $(@D)/Makefile
> 
> When it expands OPENSSL_CFLAGS, it contains content like "-rpath
> /lib:/usr/lib".
> With this the sed operation will fail.  To resolve this problem, I
> replaced : with ! like:
> 
> $(SED) "s!-O[0-9]!$(OPENSSL_CFLAGS)!" $(@D)/Makefile

Hi.
That's extremely odd, where is that rpath coming from?
Can you post your defconfig so we can look?
Also -rpath in it's direct form shouldn't ever be in CFLAGS, it belongs
to LDFLAGS (should be -Wl,-rpath... for CFLAGS)
Regards.

      reply	other threads:[~2015-03-20 23:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-20 23:20 [Buildroot] openssl 1.0.2 with sed error of unknown option Walt Chow
2015-03-20 23:52 ` Gustavo Zacarias [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=550CB2D5.5080504@zacarias.com.ar \
    --to=gustavo@zacarias.com.ar \
    --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