Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 33105

Summary: Ardour fails to build with the error `pthread_kill' undeclared
Product: Gentoo Linux Reporter: Arthur Peters <amp>
Component: Current packagesAssignee: Jeremy Huddleston (RETIRED) <eradicator>
Status: RESOLVED FIXED    
Severity: normal CC: sound
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Add #include <signal.h> to libs/pbd/pbd/pthread_utils.h

Description Arthur Peters 2003-11-09 15:46:16 UTC
Ardour 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. I added
#include <signal.h> to pthread_utils.cc. The patch is attached.

Reproducible: Always
Steps to Reproduce:
1. Run emerge ardour
2.
3.

Actual Results:  
The above error.

Expected Results:  
Built and installed ardour

I am using glibc 2.3.2-r8 with nptl support.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test9-bk9)
=================================================================
System uname: 2.6.0-test9-bk9 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs digest"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/
http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml
alsa gdbm berkdb slang readline tetex aalib bonobo tcltk java guile X sdl gpm
tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt opengl mozilla
gphoto2 cdr 3dfx acpi acpi4linux apache2 autofs caps dga emacs evo fluidsynth
gnomedb gstreamer gtk2 imap innodb ipv6 jack jack-caps jack-tmpfs ladcca maildir
mbox mmx moznocompose moznoirc moznomail mozsvg mpi mule nptl plotutils radeon
rage128 samba sse tiff usb xinerama xml xvid -svga -arts -motif"
Comment 1 Arthur Peters 2003-11-09 15:49:36 UTC
Created attachment 20488 [details, diff]
Add #include <signal.h> to libs/pbd/pbd/pthread_utils.h

I successfully used this to build ardour on my system. Ardour crashs a bit,
but
I think that is other bugs, not the patch.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-12 04:57:49 UTC
in portage