The following issue has been SUBMITTED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=872 
====================================================================== 
Reported By:                slava
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   872
Category:                   installation scripts
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             13-Jan-11 12:37 CET
Last Modified:              13-Jan-11 12:37 CET
====================================================================== 
Summary:                    make error: invalid application of 'sizeof' to
incomplete type 'struct event'
Description: 
/bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc
-DHAVE_CONFIG_H -I. -I. -I.. -I..    -g -O2 -I/usr/include/gli
b-2.0 -I/usr/lib64/glib-2.0/include   -D_LARGEFILE64_SOURCE -pthread
-I/usr/include/gmime-2.4 -I/usr/include/glib-2.0 -I/usr/l
ib64/glib-2.0/include   -I/usr/include/zdb -W -Wall -Wpointer-arith
-Wstrict-prototypes -c -o libdbmail_la-server.lo `test -f 
'server.c' || echo './'`server.c                                          
                                                   
 x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_LARGEF
ILE64_SOURCE -pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/zdb -W -Wa
ll -Wpointer-arith -Wstrict-prototypes -c server.c  -fPIC -DPIC -o
..libs/libdbmail_la-server.o                                
server.c: In function 'dm_queue_drain':                                   
                                                   
server.c:71:2: warning: implicit declaration of function 'event_del'      
                                                   
server.c:85:2: warning: implicit declaration of function 'event_add'      
                                                   
server.c: In function 'server_setup':                                     
                                                   
server.c:200:8: error: invalid application of 'sizeof' to incomplete type
'struct event'                                      
server.c:201:2: warning: implicit declaration of function 'event_set'     
                                                   
server.c:201:30: error: 'EV_READ' undeclared (first use in this function) 
                                                   
server.c:201:30: note: each undeclared identifier is reported only once
for each function it appears in                       
server.c: In function 'server_start_cli':                                 
                                                   
server.c:227:3: warning: implicit declaration of function 'event_init'    
                                                   
server.c:230:3: warning: implicit declaration of function 'event_dispatch'
                                                   
server.c: In function 'server_sig_cb':                                    
                                                   
server.c:542:2: warning: implicit declaration of function 'EVENT_SIGNAL'  
                                                   
server.c: In function 'server_set_sighandler':                            
                                                   
server.c:558:12: error: invalid application of 'sizeof' to incomplete type
'struct event'                                     
server.c:559:12: error: invalid application of 'sizeof' to incomplete type
'struct event'                                     
server.c:560:13: error: invalid application of 'sizeof' to incomplete type
'struct event'                                     
server.c:562:2: warning: implicit declaration of function 'signal_set'    
                                                   
server.c:562:2: warning: implicit declaration of function 'signal_add'    
                                                   
server.c: In function 'server_run':                                       
                                                   
server.c:673:13: error: invalid application of 'sizeof' to incomplete type
'struct event'                                     
server.c:676:5: error: invalid use of undefined type 'struct event'       
                                                   
server.c:676:22: error: dereferencing pointer to incomplete type          
                                                   
server.c:676:51: error: 'EV_READ' undeclared (first use in this function) 
                                                   
server.c:676:5: error: invalid use of undefined type 'struct event'       
                                                   
server.c:676:83: error: dereferencing pointer to incomplete type          
                                                   
server.c:677:5: error: invalid use of undefined type 'struct event'       
                                                   
server.c:677:22: error: dereferencing pointer to incomplete type          
                                                   
server.c:682:5: error: invalid use of undefined type 'struct event'       
                                                   
server.c:682:22: error: dereferencing pointer to incomplete type          
                                                   
server.c:682:5: error: invalid use of undefined type 'struct event'  
server.c:677:22: error: dereferencing pointer to incomplete type          
                                                   
server.c:682:5: error: invalid use of undefined type 'struct event'       
                                                   
server.c:682:22: error: dereferencing pointer to incomplete type          
                                                   
server.c:682:5: error: invalid use of undefined type 'struct event'       
                                                   
server.c:682:91: error: dereferencing pointer to incomplete type          
                                                   
server.c:683:5: error: invalid use of undefined type 'struct event'       
                                                   
server.c:683:22: error: dereferencing pointer to incomplete type          
                                                   
make[3]: *** [libdbmail_la-server.lo] Error 1                             
                                                   
make[3]: Leaving directory `/tmp/dbmail-3.0.0-rc1/src'                    
                                                   
make[2]: *** [all-recursive] Error 1                                      
                                                   
make[2]: Leaving directory `/tmp/dbmail-3.0.0-rc1/src'                    
                                                   
make[1]: *** [all-recursive] Error 1                                      
                                                   
make[1]: Leaving directory `/tmp/dbmail-3.0.0-rc1'                        
                                                   
make: *** [all] Error 2                   
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
13-Jan-11 12:37  slava          New Issue                                    
13-Jan-11 12:37  slava          File Added: report.tgz                       
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to