Ralf Hildebrandt:
> ... but then I didn't read the INSTALL document to see if something
> changed fundamentally...
> 
> The error is:
> 
> [src/postmulti]
> gcc -Wmissing-prototypes -Wformat -Wl,--as-needed  -DUSE_TLS -DHAS_PCRE 
> -DHAS_CDB -DSNAPSHOT -DNONPROD -g -O -I. -I../../include -DLINUX2 -c 
> postmulti.c
> postmulti.c:426: error: static declaration of 'var_multi_start_cmds' follows 
> non-static declaration
> ../../include/mail_params.h:3098: error: previous declaration of 
> 'var_multi_start_cmds' was here
> postmulti.c:427: error: static declaration of 'var_multi_stop_cmds' follows 
> non-static declaration
> ../../include/mail_params.h:3102: error: previous declaration of 
> 'var_multi_stop_cmds' was here
> postmulti.c:428: error: static declaration of 'var_multi_cntrl_cmds' follows 
> non-static declaration
> ../../include/mail_params.h:3106: error: previous declaration of 
> 'var_multi_cntrl_cmds' was here
> make: *** [postmulti.o] Fehler 1
> make: *** [update] Fehler 1

Look at the lines in the code and remove the word "static".

BTW, you are overriding the compiler options (-Wl,--as-needed)
and so you are taking chances.

        Wietse

Reply via email to