[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compilacion de Glib falla



He probado con las versiones 1.2.2 y 1.2.1, y con las dos me pasa lo
mismo: hago el configure, y sale bien, luego hago un make, y llegado
siempre al mismo punto falla y me devuelve esto:

________________________CutCutCut_________________________________________
gthread-posix.c: In function `g_mutex_new_posix_impl':
In file included from gthread.c:42:
gthread-posix.c:55: warning: implicit declaration of function
`pthread_mutex_init'
gthread-posix.c: In function `g_mutex_free_posix_impl':
gthread-posix.c:62: warning: implicit declaration of function
`pthread_mutex_destroy'
gthread-posix.c: In function `g_mutex_trylock_posix_impl':
gthread-posix.c:78: warning: implicit declaration of function
`pthread_mutex_trylock'
gthread-posix.c: In function `g_cond_new_posix_impl':
gthread-posix.c:93: `pthread_cond_t' undeclared (first use this
function)
gthread-posix.c:93: (Each undeclared identifier is reported only once
gthread-posix.c:93: for each function it appears in.)
gthread-posix.c:93: parse error before `)'
gthread-posix.c:94: warning: implicit declaration of function
`pthread_cond_init'
gthread-posix.c:94: parse error before `)'
gthread-posix.c: In function `g_cond_timed_wait_posix_impl':
gthread-posix.c:127: warning: implicit declaration of function
`pthread_cond_timedwait'
gthread-posix.c:127: `pthread_cond_t' undeclared (first use this
function)
gthread-posix.c:127: parse error before `)'
gthread-posix.c:111: warning: `result' might be used uninitialized in
this function
gthread-posix.c: In function `g_cond_free_posix_impl':
gthread-posix.c:143: warning: implicit declaration of function
`pthread_cond_destroy'
gthread-posix.c:143: `pthread_cond_t' undeclared (first use this
function)
gthread-posix.c:143: parse error before `)'
gthread-posix.c: In function `g_private_new_posix_impl':
gthread-posix.c:151: warning: implicit declaration of function
`pthread_key_create'
gthread-posix.c: In function `g_private_set_posix_impl':
gthread-posix.c:165: warning: implicit declaration of function
`pthread_setspecific'
gthread-posix.c: At top level:
gthread-posix.c:187: `pthread_mutex_lock' undeclared here (not in a
function)
gthread-posix.c:187: initializer element for
`g_thread_functions_for_glib_use_default.mutex_lock' is not constant
gthread-posix.c:189: `pthread_mutex_unlock' undeclared here (not in a
function)
gthread-posix.c:189: initializer element for
`g_thread_functions_for_glib_use_default.mutex_unlock' is not constant
gthread-posix.c:192: `pthread_cond_signal' undeclared here (not in a
function)
gthread-posix.c:192: initializer element for
`g_thread_functions_for_glib_use_default.cond_signal' is not constant
gthread-posix.c:193: `pthread_cond_broadcast' undeclared here (not in a
function
)
gthread-posix.c:193: initializer element for
`g_thread_functions_for_glib_use_default.cond_broadcast' is not constant
gthread-posix.c:194: `pthread_cond_wait' undeclared here (not in a
function)
gthread-posix.c:194: initializer element for
`g_thread_functions_for_glib_use_default.cond_wait' is not constant
make[2]: *** [gthread.lo] Error 1
make[2]: Leaving directory
`/usr/local/trabajo/root/instalar/glib-1.2.1/gthread'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/trabajo/root/instalar/glib-1.2.1'
make: *** [all-recursive-am] Error 2
________________________CutCutCut_________________________________________

¿ A que podra verse debido ?



Reply to: