Have you ever encountered the same error during build?Thanks

The forum for our foreign guests... Please post in English
Antworten
czhong
Beiträge: 1
Registriert: Samstag 2. Februar 2008, 03:44

Have you ever encountered the same error during build?Thanks

Beitrag von czhong »

My dreambox is DB500, so I checked out the dreambox source code by this following command:
cvs -d anoncvs@cvs.tuxbox-cvs.sourceforge.net:/cvs/tuxbox -z3 co -P -rdreambox .
And all necessary Archive files are downloaded: gcc-core-3.4.4.tar.bz2, gcc-g++-3.4.4.tar.bz2, glibc-2.3.2.tar.bz2, uClibc-0.9.11.tar.bz2 ......
I build the DM500 image as the following steps:
1. Change into "cdk" directory
2. chmod ugo+x prepare
3. ./prepare dm500
4. make dreamboximage_root
But during the make step, I encountered the problem when building the second step gcc(gcc-g++) with the following error:
In file included from ./gthr-default.h:1,
from ../../gcc-3.4.4/gcc/gthr.h:96,
from ../../gcc-3.4.4/gcc/unwind-dw2.c:42:
../../gcc-3.4.4/gcc/gthr-posix.h:43:21: pthread.h: No such file or directory
In file included from ./gthr-default.h:1,
from ../../gcc-3.4.4/gcc/gthr.h:96,
from ../../gcc-3.4.4/gcc/unwind-dw2.c:42:

I checked the patches file for the GCC, I found those patches file are made from gcc3.4.2, not the 3.4.4, so I guess it's the root cause, but when I changed the GCC3.4.4 to GCC3.4.2 in the rules-archive and rules-make, I encountered more errors report during the building step on GCC.

Did you encountered the same error before, if yes, could you please provide me some help on it? Thanks very much in advance!
Antworten