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

Group
 
 

bug #34809: libobjc2 compile fail on MingW

Submitter:  Adam Fedor <fedor>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-ec04.
    Corresponding source code