View Issue Details

IDProjectCategoryView StatusLast Update
0000258ardourbugspublic2004-06-02 15:55
Reportereradicator Assigned Totaybin  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0000258: missing #include causes compilation borkage
DescriptionArdour fails to build in directory libs/pbd with the error:

pthread_utils.cc: In function `void pthread_kill_all(int)':
pthread_utils.cc:73: error: `pthread_kill' undeclared (first use this function)
pthread_utils.cc:73: error: (Each undeclared identifier is reported only once
   for each function it appears in.)

pthread_kill is declared through signal.h, which was not included.
Additional InformationSee the bug report over at gentoo...
http://bugs.gentoo.org/show_bug.cgi?id=33105
TagsNo tags attached.

Activities

2004-02-12 13:01

 

ardour-pthread.patch (422 bytes)   
--- ardour-0.9beta8/libs/pbd/pbd/pthread_utils.h~	2003-04-16 07:17:03.000000000 -0500
+++ ardour-0.9beta8/libs/pbd/pbd/pthread_utils.h	2003-11-09 12:17:01.469711326 -0600
@@ -2,6 +2,7 @@
 #define __pbd_pthread_utils__
 
 #include <pthread.h>
+#include <signal.h>
 #include <string>
 
 int  pthread_create_and_store (std::string name, pthread_t  *thread, pthread_attr_t *attr, void * (*start_routine)(void *), void * arg);
ardour-pthread.patch (422 bytes)   

taybin

2004-02-13 04:59

administrator   ~0000419

Fixed in my source. Will commit soon.

taybin

2004-06-02 15:55

administrator   ~0000952

Committed a long time ago; haven't heard of any problems since.

Issue History

Date Modified Username Field Change
2004-02-12 13:01 eradicator New Issue
2004-02-12 13:01 eradicator File Added: ardour-pthread.patch
2004-02-13 04:59 taybin Status new => resolved
2004-02-13 04:59 taybin Resolution open => fixed
2004-02-13 04:59 taybin Assigned To => taybin
2004-02-13 04:59 taybin Note Added: 0000419
2004-06-02 15:55 taybin Status resolved => closed
2004-06-02 15:55 taybin Note Added: 0000952