postfix-2.6-20090224-nonprod doesn't build
... 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 -- Ralf Hildebrandt (ralf.hildebra...@charite.de) snick...@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de Nothing is faster than the speed of light. To prove this to yourself, try opening the refrigerator door before the light comes on.
Re: postfix-2.6-20090224-nonprod doesn't build
* Ralf Hildebrandt : > ... but then I didn't read the INSTALL document to see if something > changed fundamentally... Read it now. No :) I also tried 20090222 and 20090223, to no avail -- Ralf Hildebrandt (ralf.hildebra...@charite.de) snick...@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de Serious error. All shortcuts have disappeared. Screen. Mind. Both are blank.
Re: postfix-2.6-20090224-nonprod doesn't build
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
Re: postfix-2.6-20090224-nonprod doesn't build
* Wietse Venema : > > gcc -Wmissing-prototypes -Wformat -Wl,--as-needed -DUSE_TLS -DHAS_PCRE > > -DHAS_CDB -DSNAPSHOT -DNONPROD -g -O -I. -I../../include -DLINUX2 -c > > postmulti.c > Look at the lines in the code and remove the word "static". Done. It works now. > BTW, you are overriding the compiler options (-Wl,--as-needed) > and so you are taking chances. Yes, but I also tried without those (of course, just to make sure) I've been using these options for quite some time now, it seems to have no ill effects, except for making the binaries smaller. http://www.gentoo.org/proj/en/qa/asneeded.xml -- Ralf Hildebrandt (ralf.hildebra...@charite.de) snick...@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de OpenVMS is today what Microsoft wants Windows NT v8.0 to be!