Hello list:

I refer to a break in building dbmail_2_0_branch on any FBSD installation.

Before I go tearing into this to find a solution, has anyone encountered and fixed the getopt issue on FreeBSD, any versions?

I seem to recall a part of thread on this but can't find it now. Looks like a bug. Thought I would ask first b4 making a bug rpt.

* This refers to dbmail_2_0_branch.
* This build-break occurs with FBSD 4.8/4.9/4.10/4.11/5.2.1/5.3, and appears to be an idiosyncrasy with FBSD's getopt or getopt_long modules. (There are no problems with this on any version of Linux I have built on.)


./configure --with-mysql
... GOOD
[snip]
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
[snip]


gmake
... FAILS
[snip]
gcc -DHAVE_CONFIG_H -I. -I. -I. -fomit-frame-pointer -g -O2 -W -Wall -Wpointer-arith -Wstrict-prototypes -c pop3d.c
In file included from misc.h:32,
from pop3d.c:41:
/usr/include/unistd.h:376: error: conflicting types for 'dm_getopt'
dm_getopt.h:62: error: previous declaration of 'dm_getopt' was here
/usr/include/unistd.h:376: error: conflicting types for 'dm_getopt'
dm_getopt.h:62: error: previous declaration of 'dm_getopt' was here
[snip]


Thanks...
Mike

Reply via email to