#12 Cannot crosscompile 2.9p1 with uclibc

v1.0_(example)
open
nobody
None
1
2014-01-26
2014-01-23
Anonymous
No

Hi,
trying to crosscompile on

Linux devel-vm.1wire.eu 2.6.32-5-686 #1 SMP Mon Sep 23 23:00:18 UTC 2013 i686 GNU/Linux

with
arm-linux-uclibc-gcc-3.3.6: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped

for a
setuid ELF 32-bit LSB executable, ARM, version 1, dynamically linked (uses shared libs), not stripped

configure runs fine with

./configure --target=arm-linux --host=arm-linux --bindir=/usr/local/addons/owfs --oldincludedir=/usr/local/addons/owfs --includedir=/usr/local/addons/owfs --libdir=/usr/local/addons/owfs --prefix=/usr/local/addons/owfs --exec-prefix=/usr/local/addons/owfs --with-fuseinclude=/usr/local/addons/fuse/include --with-fuselib=/usr/local/addons/fuse/lib --enable-owhttpd=no

but i always get
/usr/src/owfs-2.9p1/module/owlib/src/c/.libs/libow.so: undefined reference to `round'

up from version 2.7p26, 2.7p25 runs fine .....

Google said nothing about that. Any help is much appreciated.

Discussion

  • Paul Alfille

    Paul Alfille - 2014-01-26

    This appears to be a problem with uclibc not having the round() function defined. I'll cook up an alternative.

     
  • Paul Alfille

    Paul Alfille - 2014-01-26

    Fixed -- now using lrint which was used elsewhere in the code without complaints.

     


Anonymous

Cancel  Add attachments