[dspam-users] Re: Build Failure for dspam_dump -- Re: [dspam-dev] 3.6 RC2

From: Jonathan Zdziarski <jonathan@nuclearelephant.com>
Date: Fri Sep 23 2005 - 12:54:34 EDT

It looks like -D_GNU_SOURCE never made it into the makefile in
tools/. Try:

Index: Makefile.am
===================================================================
RCS file: /usr/local/cvsroot/dspam/src/tools/Makefile.am,v
retrieving revision 1.4
diff -r1.4 Makefile.am
9c9
< -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I$(top_srcdir)

---
 >   -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I$ 
(top_srcdir)
Jonathan
On Sep 23, 2005, at 12:51 PM, Chaim Frenkel wrote:
> I downloaded RC2. This is an FC4 box with latest updates.
>
> dspam_dump is failing with syntax error somewhere deep in the heart of
> pthreads. I've attached the config.log.
>
> make[3]: Entering directory `/usr/local/src/dspam-3.6.rc2/src/tools'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../../src
> -DLOGDIR=\"/var/log/dspam\" -DCONFIG_DEFAULT=\"/etc/dspam.conf\"
> -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I../.. -I/usr/include/mysql
>         -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../src -MT dspam_dump.o -MD -MP -MF ".deps/dspam_dump.Tpo" -c -o
> dspam_dump.o dspam_dump.c; \
> then mv -f ".deps/dspam_dump.Tpo" ".deps/dspam_dump.Po"; else rm -f
> ".deps/dspam_dump.Tpo"; exit 1; fi
> In file included from ../../src/libdspam.h:37,
>                  from dspam_dump.c:49:
> ../../src/storage_driver.h:45: error: syntax error before  
> 'pthread_rwlock_t'
> ../../src/storage_driver.h:45: warning: no semicolon at end of  
> struct or union
> make[3]: *** [dspam_dump.o] Error 1
>
>
> On 9/23/05, Jonathan Zdziarski <jonathan@nuclearelephant.com> wrote:
>
>> 3.6-RC2 is now available and I'd like to plan for a release early
>> october. Please provide as much good or bad feedback as you can.  
>> Thanks!
>>
>
>
> !DSPAM:100,433432f48221344629600!
>
> <config.log>
>
Received on Fri Sep 23 12:55:50 2005

This archive was generated by hypermail 2.1.8 : Thu Sep 29 2005 - 13:51:29 EDT