Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-02 Thread Jaco Lesch
On 4/1/19 20:08, Wietse Venema wrote: Wietse Venema: unix_dgram_connect.c: In function 'unix_dgram_connect': unix_dgram_connect.c:63:24: error: expected identifier or '(' before numeric constant struct sockaddr_un sun; ^ Any idea why identical code in src/util/u

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Wietse Venema
Wietse Venema: > > unix_dgram_connect.c: In function 'unix_dgram_connect': > > unix_dgram_connect.c:63:24: error: expected identifier or '(' before > > numeric constant > > struct sockaddr_un sun; > > ^ > > Any idea why identical code in src/util/unix_listen.c compi

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Thomas Wagner
oh, right. reading your reply, I re-discovered my local fix I use for the SFE packaging project: == #fix unlucky selection of name for struct (introduced in some 3.4.x version) grep "struct sockaddr_un sun;" src/util/unix_dgram_connect.c \ && gsed -i.bak_undef_sun -e '/struct sockaddr_un sun;/

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Andrew Evdokimov
On 01/04/2019 14:14, Wietse Venema wrote: unix_dgram_connect.c: In function 'unix_dgram_connect': unix_dgram_connect.c:63:24: error: expected identifier or '(' before numeric constant struct sockaddr_un sun; ^ Any idea why identical code in src/util/unix_listen.

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Wietse Venema
Viktor Dukhovni: > > On Apr 1, 2019, at 5:04 AM, Jaco Lesch wrote: > > > > unix_dgram_connect.c:63:24: error: expected identifier or ?(? before > > numeric constant > > struct sockaddr_un sun; > > Takes me back to my roots working with SunOS 3.x. Ever since, I've > kept away from sin, by

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Viktor Dukhovni
> On Apr 1, 2019, at 5:04 AM, Jaco Lesch wrote: > > unix_dgram_connect.c:63:24: error: expected identifier or ‘(’ before numeric > constant > struct sockaddr_un sun; Takes me back to my roots working with SunOS 3.x. Ever since, I've kept away from sin, by naming unix-domain sockaddrs "s_u

Re: Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Wietse Venema
> unix_dgram_connect.c: In function 'unix_dgram_connect': > unix_dgram_connect.c:63:24: error: expected identifier or '(' before > numeric constant > struct sockaddr_un sun; > ^ Any idea why identical code in src/util/unix_listen.c compiles without error? unix_dgr

Postfix 3.4.4 compile problems on Solaris 11

2019-04-01 Thread Jaco Lesch
Guys Attempting to compile Postfix 3.4.4 on Solaris 11 with GCC 7.3.0, but I am getting the following error when running "make makefiles": gcc -I. -I../../include -DNO_NISPLUS -Dstrcasecmp=fix_s