Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] libglib2 error - Please help me
@ 2007-10-22 10:51 Ömer Celikkanat
  2007-10-24 17:17 ` Kuten Ivan
  0 siblings, 1 reply; 2+ messages in thread
From: Ömer Celikkanat @ 2007-10-22 10:51 UTC (permalink / raw)
  To: buildroot

Hi people,

I have a problem with the package "libglib2". I get this compiler eror:


make[3]: Entering directory `/home/ocelikkanat/buildroot/build_i386/glib-
2.14.1/gobject'
if
/home/ocelikkanat/buildroot/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc
-DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib
-I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION
-DG_DISABLE_CONST_RETURNS  -pthread  -g -O2 -Wall -MT glib-genmarshal.o -MD
-MP -MF ".deps/glib-genmarshal.Tpo" \
  -c -o glib-genmarshal.o `test -f 'glib-genmarshal.c' || echo './'`glib-
genmarshal.c; \
then mv -f ".deps/glib-genmarshal.Tpo" ".deps/glib-genmarshal.Po"; \
else rm -f ".deps/glib-genmarshal.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link
/home/ocelikkanat/buildroot/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc
-g -O2 -Wall  -L/home/ocelikkanat/buildroot/build_i386/staging_dir/usr/lib
-lc -o glib-genmarshal  glib-genmarshal.o ../glib/libglib-2.0.la -lintl
mkdir .libs
/home/ocelikkanat/buildroot/build_i386/staging_dir/usr/bin/i386-linux-uclibc-gcc
-g -O2 -Wall -o .libs/glib-genmarshal glib-genmarshal.o
-L/home/ocelikkanat/buildroot/build_i386/staging_dir/usr/lib
../glib/.libs/libglib-2.0.so-L/home/ocelikkanat/buildroot/build_i386/staging_dir/usr/lib/
/home/ocelikkanat/buildroot/build_i386/staging_dir/usr/lib/libintl.so -lc
-Wl,--rpath -Wl,/home/ocelikkanat/buildroot/build_i386/staging_dir/usr/lib
../glib/.libs/libglib-2.0.so: undefined reference to `wcscoll'
../glib/.libs/libglib-2.0.so: undefined reference to `_stdlib_mb_cur_max'
../glib/.libs/libglib-2.0.so: undefined reference to `wcsxfrm'
collect2: ld returned 1 exit status
make[3]: *** [glib-genmarshal] Error 1
make[3]: Leaving directory `/home/ocelikkanat/buildroot/build_i386/glib-
2.14.1/gobject'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ocelikkanat/buildroot/build_i386/glib-
2.14.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ocelikkanat/buildroot/build_i386/glib-
2.14.1'
make: *** [/home/ocelikkanat/buildroot/build_i386/glib-2.14.1
/glib/.libs/libglib-2.0.a] Error 2


These functions "wcscoll, wcsxfrm" are included in wchar.h and this is in
libc. But if I link the libc no success. I'm dispaired and don't know how I
can get forward. I can compile the other parts like "gthread, gmodule"
manually. Before this error I got a linker error from "libglib-2.0.so". This
grabs to libc.so.6 instead of libc.so.0.

Can anybody help me? Pleaseeeee.

greets
?mer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20071022/969d18a2/attachment.htm 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] libglib2 error - Please help me
  2007-10-22 10:51 [Buildroot] libglib2 error - Please help me Ömer Celikkanat
@ 2007-10-24 17:17 ` Kuten Ivan
  0 siblings, 0 replies; 2+ messages in thread
From: Kuten Ivan @ 2007-10-24 17:17 UTC (permalink / raw)
  To: buildroot

?mer Celikkanat wrote:
> Hi people,
> 
> I have a problem with the package "libglib2". I get this compiler eror:
...
> -Wl,--rpath -Wl,/home/ocelikkanat/buildroot/build_i386/staging_dir/usr/lib
> ../glib/.libs/libglib-2.0.so: undefined reference to `wcscoll'
> ../glib/.libs/libglib-2.0.so: undefined reference to `_stdlib_mb_cur_max'
> ../glib/.libs/libglib-2.0.so: undefined reference to `wcsxfrm'

What uclibc config are you using?

You have to use:
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.29-wchar.config"
and not this which is a default one:
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-0.9.29.config"


BR,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-24 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-22 10:51 [Buildroot] libglib2 error - Please help me Ömer Celikkanat
2007-10-24 17:17 ` Kuten Ivan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox