nezticle / RaspberryPi-BuildRoot

The objective of this project is to provide an SDK and root file system for the Raspberry Pi that is lightweight and takes full advantage of the hardware available. The resulting image produced is small distro known as Bsquask (linux). The Bsquask SDK provides a GCC 4.6.3 toolchain for building armv6 binaries with the hardfloat ABI, as well as bootloaders, kernel image, rootfs, and development sysroot for the Raspberry Pi.
http://bsquask.com
GNU General Public License v2.0
228 stars 61 forks source link

Beecrypt #25

Closed Pwolfger closed 11 years ago

Pwolfger commented 11 years ago

Hi, today I tried to compile rpm, which depends on beecrypt. However it always failed with the following error: /home/paul/raspberry/bsquask/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/lib/libbeecrypt.so: undefined reference to mpaddsqrtrc' /home/paul/raspberry/bsquask/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/lib/libbeecrypt.so: undefined reference tompaddmul' /home/paul/raspberry/bsquask/host/usr/arm-unknown-linux-gnueabi/sysroot/usr/lib/libbeecrypt.so: undefined reference to `mpsetmul'

objdump -T staging/usr/lib/libbeecrypt.so.7.0.0 revealed that there really was an undefined reference to these three functions, although they are present in source file build/beecrypt-4.2.1/mp.c My dirty fix was just to remove the preprocessor statements from the three concerned functions. Now it seems to work, at least objdump doesn't report them as missing and rpm got also configured successfully.

Kind regards, Paul

nezticle commented 11 years ago

I remember seeing this error when I first started this project (though at the time I wasn't comfortable enough with BuildRoot to try and fix it at the time). I'll take a look and see what can be done.

nezticle commented 11 years ago

Seems to be fixed as of the last update from upstream BuildRoot.