Hi,
I am trying to install qt-x11-free-3.3.2.tar.gz according to it's installaion
instructions, configuraion is without any error but with make these are the
errors:
from mainwindowactions.cpp:27:
/usr/include/pthread.h:163: error: syntax error before `__thread'
/usr/include/pthread.h:163: error: `pthread_create' declared as function returning a function
/usr/include/pthread.h:163: error: syntax error before `void'
/usr/include/pthread.h:365: error: storage class specifiers invalid in parameter declarations
/usr/include/pthread.h:365: error: storage class specified for parameter `parameter'
/usr/include/pthread.h:429: error: storage class specifiers invalid in parameter declarations
/usr/include/pthread.h:429: error: storage class specified for parameter `parameter'
In file included from /usr/include/sys/types.h:266,
from /usr/include/stdlib.h:416,
from /usr/include/c++/3.3.2/cstdlib:52,
from /usr/include/c++/3.3.2/bits/stl_algobase.h:67,
from /usr/include/c++/3.3.2/memory:54,
from /usr/include/c++/3.3.2/string:48,
from ../../../include/qstring.h:56,
from ../../../include/qvariant.h:42,
from metadatabase.h:30,
from mainwindow.h:30,
from mainwindowactions.cpp:27:
/usr/include/bits/pthreadtypes.h:52: error: conflicting types for `typedef struct __pthread_attr_s pthread_attr_t'
/usr/include/pthread.h:114: error: previous declaration as `typedef struct pthread_attr_t pthread_attr_t'
/usr/include/bits/pthreadtypes.h:70: error: conflicting types for `typedef struct pthread_cond_t pthread_cond_t'
/usr/include/pthread.h:87: error: previous declaration as `typedef struct pthread_cond_t pthread_cond_t'
/usr/include/bits/pthreadtypes.h:77: error: conflicting types for `typedef struct pthread_condattr_t pthread_condattr_t'
/usr/include/pthread.h:127: error: previous declaration as `typedef struct pthread_condattr_t pthread_condattr_t'
/usr/include/bits/pthreadtypes.h:93: error: conflicting types for `typedef struct pthread_mutex_t pthread_mutex_t'
/usr/include/pthread.h:78: error: previous declaration as `typedef struct pthread_mutex_t pthread_mutex_t'
/usr/include/bits/pthreadtypes.h:100: error: conflicting types for `typedef struct pthread_mutexattr_t pthread_mutexattr_t'
/usr/include/pthread.h:123: error: previous declaration as `typedef struct pthread_mutexattr_t pthread_mutexattr_t'
gmake[4]: *** [mainwindowactions.o] Error 1
gmake[4]: Leaving directory `/usr/local/softwares/qt/qt-x11-free-3.3.2/tools/designer/designer'
gmake[3]: *** [sub-designer] Error 2
gmake[3]: Leaving directory `/usr/local/softwares/qt/qt-x11-free-3.3.2/tools/designer'
gmake[2]: *** [sub-designer] Error 2
gmake[2]: Leaving directory `/usr/local/softwares/qt/qt-x11-free-3.3.2/tools'
gmake[1]: *** [sub-tools] Error 2
gmake[1]: Leaving directory `/usr/local/softwares/qt/qt-x11-free-3.3.2'
gmake: *** [init] Error 2
so the process is existing wihout completion with above errors.
plz help me.