From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <3ed0f5f3e13abce134cb9bc328d28a68@quintile.net> Date: Thu, 19 Jan 2012 11:03:15 -0800 Message-ID: From: John Floren To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] /ape/libcrypto.a ??none??: /386/lib/ape/libssl.a first Topicbox-Message-UUID: 5f2b7a34-ead7-11e9-9d60-3106f5b1d025 On Thu, Jan 19, 2012 at 2:32 AM, ROuNIN wr= ote: > Hello! > I still get the following: > > pcc =A0-o 8.out app_rand.8 apps.8 asn1pars.8 ca.8 ciphers.8 crl.8 > crl2p7.8 dgst.8 dh.8 dhparam.8 dsa.8 dsaparam.8 ec.8 ecparam.8 enc.8 > engine.8 errstr.8 gendh.8 gendsa.8 genrsa.8 nseq.8 ocsp.8 openssl.8 > passwd.8 pkcs12.8 pkcs7.8 pkcs8.8 prime.8 rand.8 req.8 rsa.8 rsautl.8 > s_cb.8 s_client.8 s_server.8 s_socket.8 s_time.8 sess_id.8 smime.8 > speed.8 spkac.8 verify.8 version.8 x509.8 /386/lib/ape/libssl.a /386/ > lib/ape/libcrypto.a > ar vu /386/lib/ape/libregexp.a regcomp.8 regerror.8 regexec.8 regsub.8 > regaux.8 rregexec.8 rregsub.8 > ar vu /386/lib/ape/libutf.a rune.8 runestrcat.8 runestrchr.8 > runestrcmp.8 runestrcpy.8 runestrdup.8 runestrlen.8 runestrecpy.8 > runestrncat.8 runestrncmp.8 runestrncpy.8 runestrrchr.8 runestrstr.8 > runetype.8 utfecpy.8 utflen.8 utfnlen.8 utfrrune.8 utfrune.8 utfutf.8 > ar vu /386/lib/ape/libv.a getpass.8 tty.8 rand.8 nrand.8 getfields.8 > min.8 max.8 error.8 nap.8 > pcc -c /sys/src/cmd/gs/zlib/gzio.c > /sys/src/cmd/gs/zlib/gzio.c:181[stdin:1575] function args not checked: > fdopen > /sys/src/cmd/gs/zlib/gzio.c:627[stdin:1995] incompatible types: "INT" > and "VOID" for op "AS" > pcc: cpp: 8c 9278: error > mk: pcc -c /sys/src/cmd/gs/zlib/gzio.c =A0: exit status=3Drc 9275: pcc > 9277: cpp: 8c 9278: error > mk: for (i in ... =A0: exit status=3Drc 5839: rc 9272: mk 9274: error > mk: cd lib mk all =A0: exit status=3Drc 5831: mk 5834: error > mk: mk lib.all mk ... =A0: exit status=3Drc 5828: mk 5830: error > mk: date for (i ... =A0: exit status=3Drc 5075: rc 5825: mk 5827: error > term% > > What do I need to do? Sorry, I may need an extra detailed explanation > on what to do. > ROuNIN > I just saw this yesterday. Basically, vsnprintf may return an int or nothing depending on your library (in APE, it depends on whether or not you've defined _C99_SPRINTF_EXTENSION). By default, APE is going to give you a vsnprintf that returns void, but the code expects it to return int. You can get around this by adding -DHAS_vsnprintf_void to the CFLAGS variable in /sys/src/ape/lib/z/mkfile. John