Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] dropbear: fix static link for version 0.53.1
@ 2011-05-01 12:37 Jean-Christophe PLAGNIOL-VILLARD
  2011-05-06 13:49 ` Jean-Christophe PLAGNIOL-VILLARD
  2011-05-13 10:05 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-05-01 12:37 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 .../dropbear-0.53.1-static_build_fix.patch         |   26 ++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 package/dropbear/dropbear-0.53.1-static_build_fix.patch

diff --git a/package/dropbear/dropbear-0.53.1-static_build_fix.patch b/package/dropbear/dropbear-0.53.1-static_build_fix.patch
new file mode 100644
index 0000000..0e0a91a
--- /dev/null
+++ b/package/dropbear/dropbear-0.53.1-static_build_fix.patch
@@ -0,0 +1,26 @@
+dropbear: fix static build
+
+the -lcrypt is missing during the link
+
+svr-authpasswd.o: In function `svr_auth_password':
+svr-authpasswd.c:(.text+0xfc): undefined reference to `crypt'
+collect2: ld returned 1 exit status
+
+Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
+---
+ Makefile.in |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: b/Makefile.in
+===================================================================
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -77,7 +77,7 @@ STRIP=@STRIP@
+ INSTALL=@INSTALL@
+ CPPFLAGS=@CPPFLAGS@
+ CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@
+-LIBS+=@LIBS@
++LIBS+=@CRYPTLIB@ @LIBS@
+ LDFLAGS=@LDFLAGS@
+ 
+ EXEEXT=@EXEEXT@
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] dropbear: fix static link for version 0.53.1
  2011-05-01 12:37 [Buildroot] [PATCH] dropbear: fix static link for version 0.53.1 Jean-Christophe PLAGNIOL-VILLARD
@ 2011-05-06 13:49 ` Jean-Christophe PLAGNIOL-VILLARD
  2011-05-12 17:37   ` Jean-Christophe PLAGNIOL-VILLARD
  2011-05-13 10:05 ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-05-06 13:49 UTC (permalink / raw)
  To: buildroot

On 14:37 Sun 01 May     , Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
Ping 

Best Regards,
J.
>  .../dropbear-0.53.1-static_build_fix.patch         |   26 ++++++++++++++++++++
>  1 files changed, 26 insertions(+), 0 deletions(-)
>  create mode 100644 package/dropbear/dropbear-0.53.1-static_build_fix.patch
> 
> diff --git a/package/dropbear/dropbear-0.53.1-static_build_fix.patch b/package/dropbear/dropbear-0.53.1-static_build_fix.patch
> new file mode 100644
> index 0000000..0e0a91a
> --- /dev/null
> +++ b/package/dropbear/dropbear-0.53.1-static_build_fix.patch
> @@ -0,0 +1,26 @@
> +dropbear: fix static build
> +
> +the -lcrypt is missing during the link
> +
> +svr-authpasswd.o: In function `svr_auth_password':
> +svr-authpasswd.c:(.text+0xfc): undefined reference to `crypt'
> +collect2: ld returned 1 exit status
> +
> +Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> +---
> + Makefile.in |    2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +Index: b/Makefile.in
> +===================================================================
> +--- a/Makefile.in
> ++++ b/Makefile.in
> +@@ -77,7 +77,7 @@ STRIP=@STRIP@
> + INSTALL=@INSTALL@
> + CPPFLAGS=@CPPFLAGS@
> + CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@
> +-LIBS+=@LIBS@
> ++LIBS+=@CRYPTLIB@ @LIBS@
> + LDFLAGS=@LDFLAGS@
> + 
> + EXEEXT=@EXEEXT@
> -- 
> 1.7.4.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] dropbear: fix static link for version 0.53.1
  2011-05-06 13:49 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2011-05-12 17:37   ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-05-12 17:37 UTC (permalink / raw)
  To: buildroot

On 15:49 Fri 06 May     , Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 14:37 Sun 01 May     , Jean-Christophe PLAGNIOL-VILLARD wrote:
> > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> > ---
> Ping 
Ping 

Best Regards,
J.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] dropbear: fix static link for version 0.53.1
  2011-05-01 12:37 [Buildroot] [PATCH] dropbear: fix static link for version 0.53.1 Jean-Christophe PLAGNIOL-VILLARD
  2011-05-06 13:49 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2011-05-13 10:05 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2011-05-13 10:05 UTC (permalink / raw)
  To: buildroot

>>>>> "JC" == Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> writes:

 JC> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
 JC> ---
 JC>  .../dropbear-0.53.1-static_build_fix.patch         |   26 ++++++++++++++++++++

Committed, thanks. Please don't forget to send patch upstream.

I've fixed dropbear to automatically link statically when
BR2_PREFER_STATIC_LIB is enabled.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-13 10:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-01 12:37 [Buildroot] [PATCH] dropbear: fix static link for version 0.53.1 Jean-Christophe PLAGNIOL-VILLARD
2011-05-06 13:49 ` Jean-Christophe PLAGNIOL-VILLARD
2011-05-12 17:37   ` Jean-Christophe PLAGNIOL-VILLARD
2011-05-13 10:05 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox