[Buildroot] trouble with building openssh in svn version 19003

3 messages, 3 authors, 2007-07-13 · open the first message on its own page

[Buildroot] trouble with building openssh in svn version 19003

From: BuraphaLinux Server <hidden>
Date: 2007-07-05 18:14:23

Hello,

    While attempting to build openssh in buildroot subversion version 19003
I get this at the end of the build attempt for openssh:

scp.o: In function `bwlimit':
scp.c:(.text+0x420): undefined reference to `__fixunsdfdi'
scp.c:(.text+0x435): undefined reference to `__udivdi3'
scp.c:(.text+0x44e): undefined reference to `__umoddi3'
make[1]: *** [scp] Error 1

Are other people seeing this when they try this on pentium 4 systems?
Is this a problem with compiler flags, or is it just some functions that
are not included with uClibc?  Should I make a patch that just avoids
building scp?  sftp still seems to build and can do the same kinds of
file transfers, but not as neatly in scripts.

[Buildroot] trouble with building openssh in svn version 19003

From: Sonrier Romary <hidden>
Date: 2007-07-10 14:10:03

Hello,

I have the same issue, i just can't build openssh in buildroot revision 
19057,

Does someone has solved this bug? i didn't see any bug corresponding to 
that issue in mantis,
should i create one?

Anyway , does someone has any idea about this bug?

Regards,

Romary Sonrier


BuraphaLinux Server a ?crit :
Hello,

    While attempting to build openssh in buildroot subversion version 19003
I get this at the end of the build attempt for openssh:

scp.o: In function `bwlimit':
scp.c:(.text+0x420): undefined reference to `__fixunsdfdi'
scp.c:(.text+0x435): undefined reference to `__udivdi3'
scp.c:(.text+0x44e): undefined reference to `__umoddi3'
make[1]: *** [scp] Error 1

Are other people seeing this when they try this on pentium 4 systems?
Is this a problem with compiler flags, or is it just some functions that
are not included with uClibc?  Should I make a patch that just avoids
building scp?  sftp still seems to build and can do the same kinds of
file transfers, but not as neatly in scripts.
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

  

[Buildroot] [PATCH] trouble with building openssh in svn version 19003

From: Ralph Siemsen <hidden>
Date: 2007-07-13 15:05:12

On Fri, Jul 06, 2007 at 01:14:23AM +0700, BuraphaLinux Server wrote:
Hello,

    While attempting to build openssh in buildroot subversion version 19003
I get this at the end of the build attempt for openssh:

scp.o: In function `bwlimit':
scp.c:(.text+0x420): undefined reference to `__fixunsdfdi'
scp.c:(.text+0x435): undefined reference to `__udivdi3'
scp.c:(.text+0x44e): undefined reference to `__umoddi3'
make[1]: *** [scp] Error 1
The following patch fixes the problem for me (attached).

-R
-------------- next part --------------
--- package/openssh/openssh.mk	11 Jul 2007 14:49:36 -0000	1.1.1.2
+++ package/openssh/openssh.mk	13 Jul 2007 14:59:24 -0000
@@ -15,6 +15,8 @@
 	$(ZCAT) $(DL_DIR)/$(OPENSSH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	toolchain/patch-kernel.sh $(OPENSSH_DIR) package/openssh/ openssh\*.patch
 	$(CONFIG_UPDATE) $(@D)
+	# From http://osdir.com/ml/lfs.clfs.devel/2007-01/msg00017.html
+	$(SED) s/@LD@/@CC@/ $(OPENSSH_DIR)/Makefile.in
 	touch $@
 
 $(OPENSSH_DIR)/.configured: $(OPENSSH_DIR)/.unpacked
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help