A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=281 ====================================================================== Reported By: kouta Assigned To: ====================================================================== Project: DBMail Issue ID: 281 Category: General Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 07-Nov-05 15:16 CET Last Modified: 21-Dec-05 09:53 CET ====================================================================== Summary: compilation problem on FreeBSD-4.x ? Description: when i try to compile dbmail 2.0-r1905 on FreeBSD 4.11, i get the following error: === ranlib .libs/libdbmail.a creating libdbmail.la (cd .libs && rm -f libdbmail.la && ln -s ../libdbmail.la libdbmail.la) cc -DHAVE_CONFIG_H -I. -I. -I. -fomit-frame-pointer -O -pipe -march=pentiumpro -fPIC -I/usr/local/include/mysql -W -Wall -Wpointer-arith -Wstrict-prototypes -c main.c main.c: In function `main': main.c:422: syntax error before `dsnuser' gmake[2]: *** [main.o] &http://www.dbmail.org/mantis/view.php?id=1054;&http://www.dbmail.org/mantis/view.php?id=1096;&http://www.dbmail.org/mantis/view.php?id=1080;&http://www.dbmail.org/mantis/view.php?id=1073;&http://www.dbmail.org/mantis/view.php?id=1082;&http://www.dbmail.org/mantis/view.php?id=1072; 1 gmake[2]: Leaving directory `/usr/home/mark/port-updates/dbmail/work/dbmail-2.0.7' gmake[1]: *** [all-recursive] &http://www.dbmail.org/mantis/view.php?id=1054;&http://www.dbmail.org/mantis/view.php?id=1096;&http://www.dbmail.org/mantis/view.php?id=1080;&http://www.dbmail.org/mantis/view.php?id=1073;&http://www.dbmail.org/mantis/view.php?id=1082;&http://www.dbmail.org/mantis/view.php?id=1072; 1 gmake[1]: Leaving directory `/usr/home/mark/port-updates/dbmail/work/dbmail-2.0.7' gmake: *** [all-recursive-am] &http://www.dbmail.org/mantis/view.php?id=1054;&http://www.dbmail.org/mantis/view.php?id=1096;&http://www.dbmail.org/mantis/view.php?id=1080;&http://www.dbmail.org/mantis/view.php?id=1073;&http://www.dbmail.org/mantis/view.php?id=1082;&http://www.dbmail.org/mantis/view.php?id=1072; 2 *** Error code 2 ===
after commenting "deliver_to_user_t dsnuser;" on line 422, compilation went ok. ====================================================================== ---------------------------------------------------------------------- mike - 20-Dec-05 21:47 ---------------------------------------------------------------------- GCC 3.4.2 is fine meaning that FBSD 5.* and 6.* each build ok but 4.* BSD(ultra-stable legacy build) with GCC 2.95 fails. Installing GCC 3.4.* cures problem but that has other significant ramifications for FBSD 4.*. Problem seems to be 2.95 reads "continue;" block differently.. (I am not a "C" person but seems to me I recall a simple little hing about the earlier compiler vs new and that syntax. What was it? Anyone?) ---------------------------------------------------------------------- paul - 21-Dec-05 09:53 ---------------------------------------------------------------------- Please use a not-so-ancient version. This has been fixed long ago. Issue History Date Modified Username Field Change ====================================================================== 07-Nov-05 15:16 kouta New Issue 20-Dec-05 21:47 mike Note Added: 0000958 21-Dec-05 09:53 paul Note Added: 0000959 ======================================================================