Thanks for the diffs.
After making the changes to configure.ac and fparseIn.c, configure completes
and when I run make it immediately returns:
$ make
CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal-1.14 -I m4
/bin/sh: line 1: aclocal-1.14: not found
Makefile:373: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127
If I run configure without making the changes to configure.ac and fparseIn.c
then it fails of course on cdefs.h.
However, if I don't make a change to either file and run configure, then
configure completes. If I then add the lines to fparseIn.c and run make it
then returns:
zone1:~/opensmtpd-201406192306p1$ make
make all-recursive
make[1]: Entering directory
'/home/ilc14/opensmtpd-201406192306p1'
Making all in openbsd-compat
make[2]: Entering directory
'/home/ilc14/opensmtpd-201406192306p1/openbsd-compat'
gcc
-DHAVE_CONFIG_H -I. -I.. -I../smtpd -I../openbsd-compat -g -O2
-fPIC -DPIC -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
-Wformat-security -Wno-pointer-sign -Wno-unused-result
-fno-strict-aliasing -fno-builtin-memset -MT imsg.o -MD -MP -MF
.deps/imsg.Tpo -c -o imsg.o imsg.c
imsg.c: In function 'imsg_read':
imsg.c:92:5: error: 'struct msghdr' has no member named 'msg_control'
imsg.c:93:5: error: 'struct msghdr' has no member named 'msg_controllen'
imsg.c:116:14: error: 'struct msghdr' has no member named 'msg_controllen'
imsg.c:116:14: error: 'struct msghdr' has no member named 'msg_control'
imsg.c:117:6: warning: implicit declaration of function 'CMSG_NXTHDR'
[-Wimplicit-function-declaration]
imsg.c:117:11: warning: assignment makes pointer from integer without a cast
[enabled by default]
Makefile:417: recipe for target 'imsg.o' failed
make[2]: *** [imsg.o] Error 1
make[2]: Leaving directory '/home/ilc14/opensmtpd-201406192306p1/openbsd-compat'
Makefile:407: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ilc14/opensmtpd-201406192306p1'
Makefile:338: recipe for target 'all' failed
make: *** [all] Error 2
Thanks for your help. It is greatly appreciated.
On Sunday, June 22, 2014 5:52 PM, G B <[email protected]> wrote:
Thanks for the diffs.
After making the changes to configure.ac and fparseIn.c, configure completes
and when I run make it immediately returns:
$ make
CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal-1.14 -I m4
/bin/sh: line 1: aclocal-1.14: not found
Makefile:373: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127
If I run configure without making the changes to configure.ac and fparseIn.c
then it fails of course on cdefs.h.
However, if I don't make a change to either file and run configure, then
configure completes. If I then add the lines to fparseIn.c and run make it
then returns:
zone1:~/opensmtpd-201406192306p1$ make
make all-recursive
make[1]: Entering directory
'/home/ilc14/opensmtpd-201406192306p1'
Making all in openbsd-compat
make[2]: Entering directory
'/home/ilc14/opensmtpd-201406192306p1/openbsd-compat'
gcc
-DHAVE_CONFIG_H -I. -I.. -I../smtpd -I../openbsd-compat -g -O2
-fPIC -DPIC -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
-Wformat-security -Wno-pointer-sign -Wno-unused-result
-fno-strict-aliasing -fno-builtin-memset -MT imsg.o -MD -MP -MF
.deps/imsg.Tpo -c -o imsg.o imsg.c
imsg.c: In function 'imsg_read':
imsg.c:92:5: error: 'struct msghdr' has no member named 'msg_control'
imsg.c:93:5: error: 'struct msghdr' has no member named 'msg_controllen'
imsg.c:116:14: error: 'struct msghdr' has no member named 'msg_controllen'
imsg.c:116:14: error: 'struct msghdr' has no member named 'msg_control'
imsg.c:117:6: warning: implicit declaration of function 'CMSG_NXTHDR'
[-Wimplicit-function-declaration]
imsg.c:117:11: warning: assignment makes pointer from integer without a cast
[enabled by default]
Makefile:417: recipe for target 'imsg.o' failed
make[2]: *** [imsg.o] Error 1
make[2]: Leaving directory '/home/ilc14/opensmtpd-201406192306p1/openbsd-compat'
Makefile:407: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ilc14/opensmtpd-201406192306p1'
Makefile:338: recipe for target 'all' failed
make: *** [all] Error 2
Thanks for your help. It is greatly appreciated.
On Sunday, June 22, 2014 4:38 PM, G B <[email protected]> wrote:
Thanks for the diffs.
After making the changes to configure.ac and fparseIn.c, configure completes
and when I run make it immediately returns:
$ make
CDPATH="${ZSH_VERSION+.}:" && cd . && aclocal-1.14 -I m4
/bin/sh: line 1: aclocal-1.14: not found
Makefile:373: recipe for target 'aclocal.m4' failed
make: *** [aclocal.m4] Error 127
If I run configure without making the changes to configure.ac and fparseIn.c
then it fails of course on cdefs.h.
However, if I don't make a change to either file and run configure, then
configure completes. If I then add the lines to fparseIn.c and run make it
then returns:
zone1:~/opensmtpd-201406192306p1$ make
make all-recursive
make[1]: Entering directory
'/home/ilc14/opensmtpd-201406192306p1'
Making all in openbsd-compat
make[2]: Entering directory
'/home/ilc14/opensmtpd-201406192306p1/openbsd-compat'
gcc -DHAVE_CONFIG_H -I. -I.. -I../smtpd -I../openbsd-compat -g -O2 -fPIC
-DPIC -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
-Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -fno-builtin-memset
-MT imsg.o -MD -MP -MF .deps/imsg.Tpo -c -o imsg.o imsg.c
imsg.c: In function 'imsg_read':
imsg.c:92:5: error: 'struct msghdr' has no member named 'msg_control'
imsg.c:93:5: error: 'struct msghdr' has no member named 'msg_controllen'
imsg.c:116:14: error: 'struct msghdr' has no member named 'msg_controllen'
imsg.c:116:14: error: 'struct msghdr' has no member named 'msg_control'
imsg.c:117:6: warning: implicit declaration of function 'CMSG_NXTHDR'
[-Wimplicit-function-declaration]
imsg.c:117:11: warning: assignment makes pointer from integer without a cast
[enabled by default]
Makefile:417: recipe for target 'imsg.o' failed
make[2]: *** [imsg.o] Error 1
make[2]: Leaving directory '/home/ilc14/opensmtpd-201406192306p1/openbsd-compat'
Makefile:407: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ilc14/opensmtpd-201406192306p1'
Makefile:338: recipe for target 'all' failed
make: *** [all] Error 2
Thanks for your help. It is greatly appreciated.
On Sunday, June 22, 2014 4:21 AM, Charles Longeau <[email protected]> wrote:
On Saturday 21 June 2014 à 14:05, John Grasty wrote:
> Hey,
>
> I saw this thread
> https://www.mail-archive.com/[email protected]/msg00866.html on building
> openSmtpd on SmartOS. Was any progress made?
FYI, I just added the check related to the missing include:
https://github.com/OpenSMTPD/OpenSMTPD/commit/93b560580a67671b4e3da4c357b2aace7c19bac1
Please report us any new failing build on SmartOS/illumos, so we can fix
them.
Thanks,
Charles