Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] glib doesn't compile
Date: Sun, 03 Dec 2006 08:02:17
Message-Id: 200612030857.05468.bo.andresen@zlin.dk
In Reply to: [gentoo-user] glib doesn't compile by Jorge Almeida
1 On Saturday 02 December 2006 20:32, Jorge Almeida wrote:
2 > I'm failing to emerge glib (_not glibc_!) when emerging -NDu world. My
3 > system is up-to-date (emerging almost everyday).
4 >
5 [SNIP]
6 > i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -fomit-frame-pointer
7 > -Wall -o .libs/errorcheck-mutex-test errorcheck-mutex-test.o
8 > ../glib/.libs/libglib-2.0.so ../gthread/.libs/libgthread-2.0.so
9 > /var/tmp/portage/glib-2.12.4-r1/work/glib-2.12.4/glib/.libs/libglib-2.0.so
10 > -lrt
11 [SNIP]
12
13 This is the same line on my system:
14 > i686-pc-linux-gnu-gcc -march=pentium-m -Os -pipe
15 > -Wall -o .libs/errorcheck-mutex-test errorcheck-mutex-test.o
16 > -pthread ../glib/.libs/libglib-2.0.so ../gthread/.libs/libgthread-2.0.so
17 > -lpthread
18 > /var/tmp/portage/dev-libs/glib-2.12.4-r1/work/glib-2.12.4/glib/.libs/libglib-2.0.so
19 > -lrt
20
21 > Couldn't find any similar error message by googling. I have another box
22 > where glib-2.12.4 compiled successfuly.
23 [SNIP]
24
25 No clue why there's no -pthread and -lpthread on your system but maybe it's
26 the problem. Either way I suggest that you file a bug..
27
28 --
29 Bo Andresen

Replies

Subject Author
Re: [gentoo-user] glib doesn't compile Jorge Almeida <jalmeida@××××××××××××.pt>