configure failure os x

Matthias Andree matthias.andree at gmx.de
Thu Apr 3 12:09:47 CEST 2003


"Michael K. Ter Louw" <mterlo1 at uic.edu> writes:

> configure:3333: warning: function declaration isn't a prototype
> configure: In function `main':
> configure:3334: warning: unused variable `foo'
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock

Where does this pthread dependency come from? My bogofilter version on
Linux or FreeBSD does not rely on pthread.

> make error:
>
> xlc_r -DHAVE_CONFIG_H -I. -I. -I.  -I./dcdflib/doc 
> -I/homes/home1/mterlo1/include  -DBOGOFILTER -g  -c `test -f 'globals.c' || 
> echo './'`globals.c
> "common.h", line 66.24: 1506-046 (S) Syntax error.
> make[3]: *** [globals.o] Error 1

The compiler chokes on the trailing comma. I can fix that.

>>From 'man xlc_r':
>
>   C for AIX Compiler
>
>   Usage:
>      xlc [ option | inputfile ]...
>      cc [ option | inputfile ]...

What happens if you just use cc or c89 for CC, instead of xlc_r?

-- 
Matthias Andree




More information about the Bogofilter mailing list