[Buildroot] Buildroot fails to build shared library for libglib12 on avr32

David Brown david at westcontrol.com
Tue Jan 13 13:29:37 UTC 2009


Should I be posting this sort of thing here in the mailing list, or 
using the bug tracker?



When building for the avr32, libglib12 does not build a shared library 
for the target, and therefore fails to build properly.  The fix, as far 
as I can see, is to patch "ltconfig" so that avr32 builds are treated 
like uclibc builds.  I based this on an old mailing list post:

http://lists.busybox.net/pipermail/buildroot/2008-February/007030.html

The post refers to issue number 1478 in the bug tracker for busybox, but 
I can't find a bug with this number.


Adding the following patch to package/libglib12 fixes the problem:

package/libglib12/libglib-sharedlib-avr32.patch

--- glib/ltconfig
+++ glib/ltconfig
@@ -1982,7 +1982,7 @@
    fi
    ;;

-linux-uclibc*)
+linux-uclibc* | avr32-linux*)
    version_type=linux
    need_lib_prefix=no
    need_version=no



mvh.,

David Brown




More information about the buildroot mailing list