From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] libbsd: incompatible type signatures
Date: Mon, 19 Aug 2013 13:04:26 -0400 [thread overview]
Message-ID: <e54b5d6c444e511bcdc4fad49276363c@ladd.quanstro.net> (raw)
In-Reply-To: <20130819171736.3d6621a9@Krypton>
On Mon Aug 19 11:21:18 EDT 2013, staal1978@gmail.com wrote:
> Dear all,
>
> I just hit the following compilation error and I wonder if this is some
> sort of bug in the APE libraries and how to trace down what is really
> wrong:
>
> ??none??: incompatible type signatures
> 50220469(/386/lib/ape/libdraw.a(screen)) and
> 9bbe58(/386/lib/ape/libbsd(bind)) for bind
>
> htonl: incompatible type signatures
> 617952a3(/386/lib/ape/libbsd.a(bind)) and ac7c45d0
> (/386/lib/ape/libbsd.a(ntohs)) for ntohs
this is a bug in the ape libraries. the ape version of
devdraw should be including /sys/src/ape/lib/9/libc.h
which should
#define bind _BIND
it looks like 9atom doesn't do this properly. i'll submit
a 9atom patch, but simply adding it to /sys/src/ape/lib/9/libc.h
doesn't work, so give me a bit. it's a rats' nest of defines...
the sloppy way to get this done would be to add
-Dbind=_BIND to draw's mkfile.
- erik
next prev parent reply other threads:[~2013-08-19 17:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-19 15:17 Jens Staal
2013-08-19 15:30 ` lucio
2013-08-19 16:28 ` Jens Staal
2013-08-19 17:04 ` erik quanstrom [this message]
2013-08-20 7:17 ` Jens Staal
2013-08-27 3:32 ` erik quanstrom
2013-08-27 6:21 ` Jens Staal
2013-08-27 12:29 ` erik quanstrom
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e54b5d6c444e511bcdc4fad49276363c@ladd.quanstro.net \
--to=quanstro@quanstro.net \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).