Menu

#8 Compile error, missing abort declaration

open
nobody
threads (3)
5
2001-10-08
2001-10-08
Anonymous
No

Hi,
Just tried compiling dcethreads-2.0.2, but make
barfs with the following error message:

cc1: warnings being treated as errors
pthread_dce.c: In function `pthd4_atfork':
pthread_dce.c:1751: warning: implicit declaration of
function `abort'

Adding the line

#include <stdlib.h>

at the beginning of pthread_dce.c gets rid of the
error.

Thank you for your time.

Discussion