OpenSSH 7.3p1 can't be build on Solaris 10

Yuri Voinov yvoinov at gmail.com
Tue Aug 2 00:42:11 AEST 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
 
configure:17280: result: no
configure:17300: checking for mblen
configure:17356: gcc -o conftest -O3 -m64 -mtune=native -pipe -Wall
-Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result
-fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset
-fstack-protector-strong -fPIE -D_XOPEN_SOURCE  -m64 -Wl,-z,now
-fstack-protector-strong -pie conftest.c -lnsl -lz -lsocket  >&5
In file included from /usr/include/limits.h:17:0,
                 from
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/limits.h:168,
                 from
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/syslimits.h:7,
                 from
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/limits.h:34,
                 from conftest.c:162:
/opt/csw/lib/gcc/i386-pc-solaris2.10/5.2.0/include-fixed/sys/feature_tests.h:346:2:
error: #error "Compiler or options invalid for pre-UNIX 03 X/Open
applications     and pre-2001 POSIX applications"
 #error "Compiler or options invalid for pre-UNIX 03 X/Open applications \
  ^
configure:17362: $? = 1
configure: failed program was:
| /* confdefs.h.  */

ac_cv_func_mblen=no

Seems can't. But why? 7.2 does.


01.08.2016 20:06, Darren Tucker пишет:
> On Mon, Aug 1, 2016 at 10:54 PM, Yuri Voinov <yvoinov at gmail.com> wrote:
>> ../openbsd-compat/openbsd-compat.h:233:23: error: expected identifier or
>> '(' before numeric constant
>>  # define mblen(x, y) (1)
>
> It sounds like you have mblen but configure didn't find it.  Did
> configure detect mblen?  There should be some output from configure,
> and if it didn't there should be a reason in config.log (although
> it'll be buried in there somewhere).
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
 
iQEcBAEBCAAGBQJXn1/DAAoJENNXIZxhPexG23gH/1/hddo9ghHjCmLMaezFVt0S
tlOz7Z4+4GydDks3jytaR3tJrFGRD9eWkf0TegXblA19sDkoOaQV0tJtIBVQ8bpf
Iw137EyszCuJLNGNo+P664Altcmg1YrIJlhqCFh5hvCBT1UsVD9hBjJnQ/Vn37Vy
1atg+SXDBa6WO3bC2I8OmZjwwceIpEnyeCvCmWx3Hp7TEmkeNhGWUXEyibSVTa7k
hgcVEkrw4h+cUFxkWU9QhiSziiIdFr9vthX+N+ur2Oit95nSetendcmPR29WrMcH
852izW40NqpjBhHJqtdLhBkFpAKeFLrs9Fu0znBgkU/W0gYq2rWq7H/aBTWKktc=
=Mndg
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x613DEC46.asc
Type: application/pgp-keys
Size: 2437 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20160801/04d63a82/attachment-0001.bin>


More information about the openssh-unix-dev mailing list