[Buildroot] [PATCH 11/12] directfb: bump to 1.4.10
Lionel Landwerlin
llandwerlin at gmail.com
Fri Nov 5 13:30:23 UTC 2010
On Fri, Nov 5, 2010 at 1:52 PM, Peter Korsgaard <jacmet at uclibc.org> wrote:
>>>>>> "llandwerlin" == llandwerlin <llandwerlin at gmail.com> writes:
>
> llandwerlin> From: Lionel Landwerlin <llandwerlin at gmail.com>
> llandwerlin> Signed-off-by: Lionel Landwerlin <llandwerlin at gmail.com>
> llandwerlin> ---
> llandwerlin> package/directfb/directfb.mk | 2 +-
> llandwerlin> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> llandwerlin> diff --git a/package/directfb/directfb.mk b/package/directfb/directfb.mk
> llandwerlin> index e4b6d90..2703677 100644
> llandwerlin> --- a/package/directfb/directfb.mk
> llandwerlin> +++ b/package/directfb/directfb.mk
> llandwerlin> @@ -4,7 +4,7 @@
> llandwerlin> #
> llandwerlin> #############################################################
> llandwerlin> DIRECTFB_VERSION_MAJOR:=1.4
> llandwerlin> -DIRECTFB_VERSION:=1.4.5
> llandwerlin> +DIRECTFB_VERSION:=$(DIRECTFB_VERSION_MAJOR).10
>
> I'm getting build breakage with:
>
> libtool: link: /scratch/peko/staging/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc
> --sysroot=/scratch/peko/staging -I/scratch/peko/staging/usr/include/freetype2 -
> O3 -ffast-math -pipe -pipe -Os -mtune=arm926ej-s -march=armv5te -mabi=aapcs-linu
> x -msoft-float -I/scratch/peko/staging/usr/include -I/scratch/peko/staging/inclu
> de -D_GNU_SOURCE -finstrument-functions -std=gnu99 -Werror-implicit-function-dec
> laration -o .libs/dfbinspector dfbinspector.o -L/scratch/peko/staging/lib -L/sc
> ratch/peko/staging/usr/lib ../src/.libs/libdirectfb.so ../lib/fusion/.libs/libfu
> sion.so ../lib/direct/.libs/libdirect.so -ldl -lpthread -Wl,-rpath -Wl,/usr/lib
> ../src/.libs/libdirectfb.so: undefined reference to `sqrt'
> collect2: ld returned 1 exit status
> make[3]: *** [dfbg] Error 1
>
> We seem to be dropping -lm.
>
> Any idea why? If not, then I'll revert the patch as I would like to put
> out -rc1 this weekend.
>
I issue has been discussed on the directfb mailing list indeed.
I haven't seen it with glibc...
If you're about reverting it, you also have to revert the sawman bump.
I think I can add a patch to force -lm for now, I will send this patch
tonight. Can you wait for it ?
Regards,
--
Lionel Landwerlin
More information about the buildroot
mailing list