Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] trouble with building openssh in svn version 19003
@ 2007-07-05 18:14 BuraphaLinux Server
  2007-07-10 14:10 ` Sonrier Romary
  2007-07-13 15:05 ` [Buildroot] [PATCH] " Ralph Siemsen
  0 siblings, 2 replies; 3+ messages in thread
From: BuraphaLinux Server @ 2007-07-05 18:14 UTC (permalink / raw)
  To: buildroot

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.

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

* [Buildroot] trouble with building openssh in svn version 19003
  2007-07-05 18:14 [Buildroot] trouble with building openssh in svn version 19003 BuraphaLinux Server
@ 2007-07-10 14:10 ` Sonrier Romary
  2007-07-13 15:05 ` [Buildroot] [PATCH] " Ralph Siemsen
  1 sibling, 0 replies; 3+ messages in thread
From: Sonrier Romary @ 2007-07-10 14:10 UTC (permalink / raw)
  To: buildroot

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
>
>   

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

* [Buildroot] [PATCH] trouble with building openssh in svn version 19003
  2007-07-05 18:14 [Buildroot] trouble with building openssh in svn version 19003 BuraphaLinux Server
  2007-07-10 14:10 ` Sonrier Romary
@ 2007-07-13 15:05 ` Ralph Siemsen
  1 sibling, 0 replies; 3+ messages in thread
From: Ralph Siemsen @ 2007-07-13 15:05 UTC (permalink / raw)
  To: buildroot

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

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

end of thread, other threads:[~2007-07-13 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-05 18:14 [Buildroot] trouble with building openssh in svn version 19003 BuraphaLinux Server
2007-07-10 14:10 ` Sonrier Romary
2007-07-13 15:05 ` [Buildroot] [PATCH] " Ralph Siemsen

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