pb de compilation sous solaris 8 [ldap] - Programmation
MarshPosté le 03-07-2002 à 16:22:59
Citation :
[..] cd liblthread; make all cc -I../../include -Dsunos5 -D_REENTRANT -DLDAP_DEBUG -DLDAP_REFERRALS -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_NDBM -DTHREAD_SUNOS5_LWP -c thread.c "../../include/lthread.h", line 70: identifier redeclared: pthread_attr_t current : int previous: struct {pointer to void __pthread_attrp} : "/usr/include/sys/types.h", line 399 "../../include/lthread.h", line 71: warning: typedef redeclared: pthread_t "../../include/lthread.h", line 85: identifier redeclared: pthread_mutexattr_t current : int previous: struct {pointer to void __pthread_mutexattrp} : "/usr/include/sys/types.h", line 406 "../../include/lthread.h", line 86: identifier redeclared: pthread_mutex_t current : struct _lwp_mutex {struct {..} flags, union {..} lock, unsigned long long data} previous: struct _pthread_mutex {struct {..} __pthread_mutex_flags, union {..} __pthread_mutex_lock, unsigned long long __pthread_mutex_data} : "/usr/include/sys/types.h", line 371 "../../include/lthread.h", line 93: identifier redeclared: pthread_condattr_t current : int previous: struct {pointer to void __pthread_condattrp} : "/usr/include/sys/types.h", line 413 "../../include/lthread.h", line 94: identifier redeclared: pthread_cond_t current : struct _lwp_cond {struct {..} flags, unsigned long long data} previous: struct _pthread_cond {struct {..} __pthread_cond_flags, unsigned long long __pthread_cond_data} : "/usr/include/sys/types.h", line 380 cc: acomp failed for thread.c *** Error code 2 make: Fatal error: Command failed for target `thread.o' Current working directory /tmp/ldap-3.3/libraries/liblthread *** Error code 1 make: Fatal error: Command failed for target `all' Current working directory /tmp/ldap-3.3/libraries *** Error code 1 make: Fatal error: Command failed for target `all' [root@falbala](158): more .mak .make-platform@ .makefiles
voila mon pb.. ca me met ca quand je lance le make apparamment ca compile pas non plus sous solaris 9..
si qq'un a deja eu ce pb merci de m'en faire part !
Marsh Posté le 03-07-2002 à 16:22:59
[..]
cd liblthread; make all
cc -I../../include -Dsunos5 -D_REENTRANT -DLDAP_DEBUG -DLDAP_REFERRALS -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD -DLDBM_USE_NDBM -DTHREAD_SUNOS5_LWP -c thread.c
"../../include/lthread.h", line 70: identifier redeclared: pthread_attr_t
current : int
previous: struct {pointer to void __pthread_attrp} : "/usr/include/sys/types.h", line 399
"../../include/lthread.h", line 71: warning: typedef redeclared: pthread_t
"../../include/lthread.h", line 85: identifier redeclared: pthread_mutexattr_t
current : int
previous: struct {pointer to void __pthread_mutexattrp} : "/usr/include/sys/types.h", line 406
"../../include/lthread.h", line 86: identifier redeclared: pthread_mutex_t
current : struct _lwp_mutex {struct {..} flags, union {..} lock, unsigned long long data}
previous: struct _pthread_mutex {struct {..} __pthread_mutex_flags, union {..} __pthread_mutex_lock, unsigned long long __pthread_mutex_data} : "/usr/include/sys/types.h", line 371
"../../include/lthread.h", line 93: identifier redeclared: pthread_condattr_t
current : int
previous: struct {pointer to void __pthread_condattrp} : "/usr/include/sys/types.h", line 413
"../../include/lthread.h", line 94: identifier redeclared: pthread_cond_t
current : struct _lwp_cond {struct {..} flags, unsigned long long data}
previous: struct _pthread_cond {struct {..} __pthread_cond_flags, unsigned long long __pthread_cond_data} : "/usr/include/sys/types.h", line 380
cc: acomp failed for thread.c
*** Error code 2
make: Fatal error: Command failed for target `thread.o'
Current working directory /tmp/ldap-3.3/libraries/liblthread
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /tmp/ldap-3.3/libraries
*** Error code 1
make: Fatal error: Command failed for target `all'
[root@falbala](158): more .mak
.make-platform@ .makefiles
voila mon pb.. ca me met ca quand je lance le make
apparamment ca compile pas non plus sous solaris 9..
si qq'un a deja eu ce pb merci de m'en faire part !