delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 19 Nov 2008 12:28:13 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: mmap call gives invalid argument |
Message-ID: | <20081119112813.GG10351@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <2e7d31500811182249m6c38119cv67686eaaf2e1e5e1 AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <2e7d31500811182249m6c38119cv67686eaaf2e1e5e1@mail.gmail.com> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Nov 19 14:49, Carlo Florendo wrote: > Good day Cygwin gurus, > > I'm trying to run a very tiny app called dmidecode on cygwin > (http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.9.tar.gz). > The app is so small it takes 5 seconds for it to compile OOTB. For > several years, I've compiled the app on Cygwin on several Pentium > systems (even using non-updated Cygwin installations) and the thing > had always worked properly. > > This time, I got a mininotebook with a VIA processor and then, when I > compile dmidecode, it doesn't work properly anymore. Please let me > know if this is a Cygwin problem or a dmidecode problem. I can't give > you more hardware details since I need dmidecode to get the hardware > details. Thus, I'm a bit stuck with a recursive problem here. Here's > what I do: > > $ tar -zxf dmidecode-2.9.tar.gz > $ cd dmidecode-2.9 > $ make > gcc -W -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual > -Wcast-align -Wwrite-strings -Wmissing-prototypes -Winline -Wundef -O2 > -c dmidecode.c -o dmidecode.o > <snip> > gcc dmidecode.o dmiopt.o dmioem.o util.o -o dmidecode > <snip> > <snip> > $ ./dmidecode.exe > # dmidecode 2.9 > SMBIOS 2.5 present. > 54 structures occupying 1495 bytes. > Table at 0x3BEE3000. > > /dev/mem: mmap: Invalid argument Can you please extract the mmap call from the source and show it to us? Apparently the new dmidecode release uses some argument not supported by Cygwin (or not in this circumstances). Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |