Re: [Rd] file 2 is not in sorted order error building unsuffered consequences

From: Joshua Wiley <>
Date: Tue, 08 May 2012 08:20:20 -0700

On Tue, May 8, 2012 at 3:48 AM, Duncan Murdoch <> wrote:
> On 12-05-08 1:46 AM, Joshua Wiley wrote:
>> Hi All,
>> I just downloaded the source tar ball (Revision: 59324 Last Changed
>> Date: 2012-05-07) and tried to compile on a Win x64 system.  I am
>> using Rtools version  The only change I make is changing
>> MkRules.dist ->  MkRules.local and setting Multi=64  I have previously
>> compiled unsuffered consquences without issue, but on the current
>> version, I get this error
>> windres -F pe-x86-64  -I../include -i dllversion.rc -o dllversion.o
>> comm: file 2 is not in sorted order
>> make[3]: *** [R.dll] Error 1
>> make[2]: *** [../../bin/x64/R.dll] Error 2
>> make[1]: *** [rbuild] Error 2
>> make: *** [all] Error 2
>> I did not note any other errors or warnings earlier on, though I may
>> have missed some.  I can provide the full log if requested.  Any
>> ideas?
> I believe that message is about the file src/gnuwin32/Rdll.hide.  It is
> supposed to be sorted, using ASCII collation order.  I believe the version
> in the repository is sorted properly; can you check yours?

Thanks for your reply. It looks sorted correctly and explicitly sorting prior to running make does not change the error. here is a bit of output:


> We've had some problems with recent versions of Cygwin not sorting properly.
>  The last instance had it put names in the order
>  BZ2_bzWriteClose_at_20
>  BZ2_bzWriteClose64_at_28
> but ASCII order should put @ after 6.  Are you using the comm and Cygwin
> dlls from Rtools, or have you got newer ones?

As far as I know I should only be using the dlls from Rtools. It is the first thing on my path environment variable, and although cygwin is installed, I do not even have it on my path. Interestingly, there are no problems if set MULTI=32 instead of 64 in MkRules.

Thanks again,


> Duncan Murdoch

Joshua Wiley
Ph.D. Student, Health Psychology
Programmer Analyst II, Statistical Consulting Group
University of California, Los Angeles

______________________________________________ mailing list
Received on Tue 08 May 2012 - 15:23:10 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 08 May 2012 - 17:00:56 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive