From: Alexander Stadler <sa.musl@univie.ac.at>
To: musl@lists.openwall.com
Subject: Re: MAP_LOCKED already added to mmap on current git version (was a sidenote on unknown type name 'loff_t' , which is an other "problem")
Date: Fri, 25 Jan 2013 11:10:11 +0100 [thread overview]
Message-ID: <51025A03.2030409@univie.ac.at> (raw)
In-Reply-To: <20130124194735.GF10600@port70.net>
Am 24.01.2013 20:47, schrieb Szabolcs Nagy:
> * Alexander Stadler <sa.maillists@univie.ac.at> [2013-01-24 19:55:27 +0100]:
>> mips-openwrt-linux-musl-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Dtarget_ar71xx=1 -Wall -DFIS_SUPPORT=1 -I/space/build-trunk/trunk/staging_dir/target-mips_r2_musl-0.9.8/usr/include -I/space/build-trunk/trunk/staging_dir/target-mips_r2_musl-0.9.8/include -I/space/build-trunk/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_musl-0.9.8/usr/include -I/space/build-trunk/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_musl-0.9.8/include -Wall -c -o fis.o fis.c
>> fis.c: In function 'fis_open':
>> fis.c:80:64: error: 'MAP_LOCKED' undeclared (first use in this function)
>> fis.c:80:64: note: each undeclared identifier is reported only once for each function it appears in
>>
>
> your musl is old, there were updates to mman.h recently
>
> http://git.musl-libc.org/cgit/musl/commit/?id=7e0d4fce41ac95adc080bffa88ee0f51c1cf2837
> http://git.musl-libc.org/cgit/musl/commit/?id=000806cde6416f51f783d2dc487d49b47d297e4e
>
> there was no musl release since the updates
> so that's why you are hitting these issues
>
> (it's a good idea to check the git log in case of errors,
> musl is still in development)
Thank you very much!
You were absolutely right, adding these commits (and http://git.musl-libc.org/cgit/musl/commit/?id=0e10f740069c2d805d3199a8079b73e828c7d8d9) added defines to mmap including MAP_LOCKED which mtd needed to compile. Didn't thought on checking git for that (as I didn't know that mmap is comming from there too).
So thank you Rich, seems as you don't have to find somebody to add them anymore ;-).
Also I have to say I'm getting really great support on your mailing list, thats very nice.
Alex
next prev parent reply other threads:[~2013-01-25 10:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-23 17:33 unknown type name 'loff_t' Alexander Stadler
2013-01-23 17:37 ` Rich Felker
2013-01-24 18:55 ` Alexander Stadler
2013-01-24 19:47 ` Szabolcs Nagy
2013-01-25 10:10 ` Alexander Stadler [this message]
2013-01-24 18:57 ` Alexander Stadler
2013-01-24 19:19 ` Rich Felker
2013-01-24 19:28 ` Alexander Stadler
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=51025A03.2030409@univie.ac.at \
--to=sa.musl@univie.ac.at \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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).