Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 92163 invoked from network); 25 Nov 2010 06:16:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 Nov 2010 06:16:35 -0000 Received: (qmail 55611 invoked by uid 500); 25 Nov 2010 06:17:07 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 55198 invoked by uid 500); 25 Nov 2010 06:17:04 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 55180 invoked by uid 99); 25 Nov 2010 06:17:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 06:17:04 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of d.stonier@gmail.com designates 209.85.161.178 as permitted sender) Received: from [209.85.161.178] (HELO mail-gx0-f178.google.com) (209.85.161.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Nov 2010 06:17:00 +0000 Received: by gxk23 with SMTP id 23so367588gxk.37 for ; Wed, 24 Nov 2010 22:16:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=LhZ9Te50ugw2acSZXRzMXClhcVDH9vNzl1uOsqYs8oM=; b=MdIUSX4iPTSOA8yHo/lux7TI9ypbof+hC3J0g5Y4tYegcXdFwabOudQZHcYgD8jOGU MCFGfNOGgWcve+JLmAARpBMfG7J1COGMbd8nqxQoKwe1wZUzBBfRpa2f92H+w26hIPzs 6XmxIrPjllQ8+P68o5jH/oloCE+5Z5MySwRN8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=erOkoLOMZSgW3FLvcSCt/VsuxBL6Jg2kUrkDWvyFaeZaf/u+32TsGuC6zLXmZh0iRe 7qvQB97Wh5fU+PkGgwMYgQdnMcZ//JUyR0E3rY2b9Q5f21AnvUYqtZRXmRViomcbpOEf 7w6j6YRTucU+PteohzqorRtMNoJj3a65PkJJg= MIME-Version: 1.0 Received: by 10.151.15.12 with SMTP id s12mr2354555ybi.407.1290665797012; Wed, 24 Nov 2010 22:16:37 -0800 (PST) Received: by 10.150.212.5 with HTTP; Wed, 24 Nov 2010 22:16:36 -0800 (PST) Date: Thu, 25 Nov 2010 15:16:36 +0900 Message-ID: Subject: Building with the mingw cross compiler From: Daniel Stonier To: dev@apr.apache.org Content-Type: text/plain; charset=UTF-8 I'm using a mingw cross compiler from http://mingw-cross-env.nongnu.org/ to try and build the apache runtimes. Apr would fail in the configure stage though: checking which type to use for apr_off_t... configure: error: could not determine the size of off_t My config.log showed the problem: ac_cv_sizeof_long_long=8 ac_cv_sizeof_off_t=4^M ac_cv_sizeof_pid_t=4^M ac_cv_sizeof_short=2 Which meant checks for ac_cv_sizeof_off_t weren't working correctly. It also meant the pid_t failed to define itself properly in include/apr.h. I got around it by simply predefining these as constants when configuring, however it'd be good if it got fixed upstream. However, I am not sure where these are actually getting defined. Cheers, Daniel. -- Phone : +82-10-5400-3296 (010-5400-3296) Home: http://snorriheim.dnsdojo.com/ Yujin Robot: http://www.yujinrobot.com/ Embedded Ros : http://www.ros.org/wiki/eros Embedded Control Libraries: http://snorriheim.dnsdojo.com/redmine/wiki/ecl