|
Problems installing gcc-3.3: msg#00228gcc.help
Hi, I have built and installed on my system gcc-3.3 successfully, or so it seemed, but when I tried to re-build several C++ libraries I stepped on errors compiling the /usr/include/pthread.h header file. The error itself, as reported by the compiler is: /usr/include/pthread.h:163: error: parse error before `__thread' /usr/include/pthread.h:165: error: `pthread_create' declared as function returning a function /usr/include/pthread.h:166: error: parse error before `void' /usr/include/pthread.h:591: error: storage class specifiers invalid in parameter declarations /usr/include/pthread.h:591: error: storage class specified for parameter ` parameter'] /usr/include/bits/sigthread.h:36: error: storage class specifiers invalid in parameter declarations /usr/include/bits/sigthread.h:36: error: storage class specified for parameter `parameter' I configured gcc-3.3 with: ../gcc-3.3/configure --prefix=/usr --program-suffix=-3.3 --with-local-prefix=/usr --with-gnu-as --enable-languages=java,c,c++ built it with: make CFLAGS='-O' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap and finally installed with: make install All these operations were performed being the superuser, and no related warnings or errors appeared. My system is a Debian Woody GNU/Linux. I have not updated either glibc nor gcc until now ( so I am making quite a lenghty jump ). What I have done wrong? Do I have to install a newer version of glibc? I have been scouring google searching for people with a similar problem ( i.e. the same compile error ) and I have found mentioned something about a gcc make rule called install-non-fixed-includes or something similar... Thanks a lot, Miguel. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | How to use gcc 2.96 compiled library with gcc 3.2: 00228, lucian |
|---|---|
| Next by Date: | GCC Bootstrap failure after upgrading Autoconf and Automake: 00228, Joseph D. Wagner |
| Previous by Thread: | How to use gcc 2.96 compiled library with gcc 3.2i: 00228, lucian |
| Next by Thread: | GCC Bootstrap failure after upgrading Autoconf and Automake: 00228, Joseph D. Wagner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |