bugGNUstep - Bugs: bug #34809, libobjc2 compile fail on MingW


bug #34809: libobjc2 compile fail on MingW

Submitted by:  Adam Fedor <fedor>
Submitted on:  Sat 12 Nov 2011 05:00:34 AM UTC  
Category:  Libraries Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 12 Nov 2011 05:00:34 AM UTC, original submission:  

I tried compiling the latest libobjc2 svn on MingW and got this:

This is gnustep-make 2.6.0. Type 'make print-gnustep-make-help' for help.
Making all for library libobjc...
Compiling file block_to_imp.c ...
block_to_imp.c:8:22: fatal error: sys/mman.h: No such file or directory
compilation terminated.
make[3]: *** [obj/libobjc.obj/block_to_imp.c.o] Error 1
make[2]: *** [internal-library-all_] Error 2
make[1]: *** [libobjc.all.library.variables] Error 2
make: *** [internal-all] Error 2

Windows doesn't have mmap, but it can map files (see: http://sourceware.org/ml/binutils/2009-10/msg00169.html).  I'm not sure I understand enough about what libobjc2 is doing with mmap to implement a fix.

Adam Fedor <fedor>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by fedor (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5