[PD] sonogram(unauthorized) Segmentation fault

Gerda Strobl gerda.strobl at student.tugraz.at
Mon Oct 30 18:53:02 CET 2006


Hi,

my system is  debian 2617.

I just checked :root@/home/gerda/externals/unauthorized/sonogram~ 
whereis libpthread
libpthread: /usr/lib/libpthread.a /usr/lib/libpthread.so
..but I could not find out the version.

Therefore I installed: libpthread-dev
Version: 2.0.7-4
Depends: libpthread20 (= 2.0.7-4)

Then I did: make clean.
Installing the external now produces: error: conflicting types for 
'pthread_t'
the same is with cooled~

so it looks like ther is something with lipthread..but now I dont know 
how to go on.


root@/home/gerda/externals/unauthorized/sonogram~ make
cc -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointer -Wall 
-W -Wno-shadow -Wstrict-pro
totypes -Wno-unused -Wno-parentheses -Wno-switch -g  -I../../src   
-I/usr/local/lib/pd/pd-0.40-1/s
rc -o sonogram~.o -c sonogram~.c
In file included from sonogram~.c:46:
/usr/include/pthread.h:285: error: conflicting types for 'pthread_t'
/usr/include/bits/pthreadtypes.h:152: error: previous declaration of 
'pthread_t' was here
/usr/include/pthread.h:286: error: conflicting types for 'pthread_attr_t'
/usr/include/bits/pthreadtypes.h:54: error: previous declaration of 
'pthread_attr_t' was here
/usr/include/pthread.h:287: error: conflicting types for 'pthread_key_t'
/usr/include/bits/pthreadtypes.h:82: error: previous declaration of 
'pthread_key_t' was here
/usr/include/pthread.h:289: error: conflicting types for 
'pthread_mutexattr_t'
/usr/include/bits/pthreadtypes.h:102: error: previous declaration of 
'pthread_mutexattr_t' was her       e
/usr/include/pthread.h:290: error: conflicting types for 'pthread_mutex_t'
/usr/include/bits/pthreadtypes.h:95: error: previous declaration of 
'pthread_mutex_t' was here
/usr/include/pthread.h:291: error: conflicting types for 
'pthread_condattr_t'
/usr/include/bits/pthreadtypes.h:79: error: previous declaration of 
'pthread_condattr_t' was here
/usr/include/pthread.h:292: error: conflicting types for 'pthread_cond_t'
/usr/include/bits/pthreadtypes.h:72: error: previous declaration of 
'pthread_cond_t' was here
sonogram~.c: In function 'sonogram_update_block':
sonogram~.c:327: warning: format '%d' expects type 'int', but argument 5 
has type 't_int'
sonogram~.c:347: warning: format '%d' expects type 'int', but argument 5 
has type 't_int'
sonogram~.c: In function 'sonogram_resize':
sonogram~.c:1561: warning: ordered comparison of pointer with integer zero
make: *** [sonogram~.pd_linux] Error 1

Gerda

Yves Degoyon wrote:
> hola,
>
>
> ouye, seems you have a problem with threading
> ( which system? which libpthread? ),
> you can confirm the diagnostic
> trying to use cooled~
> which is also a threaded external.
>
> if it crashed, there is probably
> a problem with libpthread.
>
> cheers,
> sevy





More information about the Pd-list mailing list