List Info

Thread: Building glib-2.11.3 for mips




Building glib-2.11.3 for mips
country flaguser name
United States
2007-04-06 17:03:28

I was following the instructions to build glib-2.11.3, all instructions were correct and everything was going smoothly until somewhere during the gmake ( I am building for a mips target):

/bin/sh ../libtool --mode=link /home/pmcdonald/dch_build/main/target/DCH64XX_DISK/scm/build/results/tools/bin/mipsel-unknown-linux-gnu-gcc -g -O2 -Wall -o errorcheck-mutex-test errorcheck-mutex-test.o ../glib/libglib-2.0.la ../gthread/libgthread-2.0.la

/home/pmcdonald/dch_build/main/target/DCH64XX_DISK/scm/build/results/tools/bin/mipsel-unknown-linux-gnu-gcc -g -O2 -Wall -o errorcheck-mutex-test errorcheck-mutex-test.o ../glib/.libs/libglib-2.0.a ../gthread/.libs/libgthread-2.0.a /data/glib/glib-2.11.3/glib/.libs/libglib-2.0.a

../gthread/.libs/libgthread-2.0.a(gthread-impl.o)(.text+0x338): In function `g_mutex_trylock_posix_impl': /data/glib/glib-2.11.3/gthread/gthread-posix.c:176: undefined reference to `pthread_mutex_trylock'

../gthread/.libs/libgthread-2.0.a(gthread-impl.o)(.text+0x5b0): In function `g_cond_timed_wait_posix_impl': /data/glib/glib-2.11.3/gthread/gthread-posix.c:231: undefined reference to `pthread_cond_timedwait'

../gthread/.libs/libgthread-2.0.a(gthread-impl.o)(.text+0x830): In function `g_private_new_posix_impl': /data/glib/glib-2.11.3/gthread/gthread-posix.c:258: undefined reference to `pthread_key_create'

../gthread/.libs/libgthread-2.0.a(gthread-impl.o)(.text+0x90c): In function `g_private_set_posix_impl': /data/glib/glib-2.11.3/gthread/gthread-posix.c:270: undefined reference to `pthread_setspecific'

../gthread/.libs/libgthread-2.0.a(gthread-impl.o)(.text+0x958): In function `g_private_get_posix_impl': /data/glib/glib-2.11.3/gthread/gthread-posix.c:279: undefined reference to `pthread_getspecific'

../gthread/.libs/libgthread-2.0.a(gthread-impl.o)(.text+0xa78): In function `g_thread_create_posix_impl': /data/glib/glib-2.11.3/gthread/gthread-posix.c:315: undefined reference to `pthread_attr_setstacksize'

../gthread/.libs/libgthread-2.0.a(gthread-impl.o)(.text+0xb44):/data/glib/glib-2.11.3/gthread/gthread-posix.c:344: undefined reference to `pthread_create'

../gthread/.libs/libgthread-2.0.a(gthread-impl.o)(.text+0x1020): In function `g_thread_join_posix_impl': /data/glib/glib-2.11.3/gthread/gthread-posix.c:374: undefined reference to `pthread_join'

collect2: ld returned 1 exit status

gmake[3]: *** [errorcheck-mutex-test] Error 1

gmake[3]: Leaving directory `/data/glib/glib-2.11.3/tests'

gmake[2]: *** [all-recursive] Error 1

gmake[2]: Leaving directory `/data/glib/glib-2.11.3/tests'

gmake[1]: *** [all-recursive] Error 1

gmake[1]: Leaving directory `/data/glib/glib-2.11.3'

gmake: *** [all] Error 2

 

Thanks, Paul

Re: Building glib-2.11.3 for mips
user name
2007-04-06 17:28:09
> I was following the instructions to build glib-2.11.3,
all instructions were
> correct and everything was going smoothly until
somewhere during the gmake (
> I am building for a mips target):

I wouldn't use glib 2.11 -- that was a development version
on the road
to the glib 2.12 version and will have more bugs than a
current glib
2.12 release while also not being source compatible with the
2.12
line.

_______________________________________________
directfb-dev mailing list
directfb-devdirectfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/
directfb-dev

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )