| Summary: | failed to compile libglib2 | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | oilehus |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
oilehus
2010-11-14 21:20:55 UTC
It should be fixed in git : http://git.buildroot.org/buildroot/commit/?id=6c01ef20ee96f770bf7fc0fede90b3861d529015 Do you have this commit in your tree ? I can see the patch file in the tree, but somehow it didn't automatically apply this patch, if I manually applied the patch, it can build without problem. is it a typo for the patch file's name ? Should "libglib-2.26.0-fix-compilation-with-no-builtin-atomic.patch" be "libglib2-2.26.0-fix-compilation-with-no-builtin-atomic.patch"? After I made that change, I don't see that error any more but I saw another one: ./.libs/libgio-2.0.so: undefined reference to `in6addr_loopback' ./.libs/libgio-2.0.so: undefined reference to `in6addr_any' collect2: ld returned 1 exit status make[5]: *** [gsettings] Error 1 make[5]: *** Waiting for unfinished jobs.... ../glib/.libs/libglib-2.0.so: warning: the use of OBSOLESCENT `utime' is discouraged, use `utimes' ./.libs/libgio-2.0.so: undefined reference to `in6addr_loopback' ./.libs/libgio-2.0.so: undefined reference to `in6addr_any' collect2: ld returned 1 exit status make[5]: *** [gio-querymodules] Error 1 if I enable "IPv6" in toolchain, it's ok. It seems like libglib2 2.26.0 is not compatible with IPv4 any more. Fixed in git, thanks |