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

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #34809: libobjc2 compile fail on MingW

Submitted by:  Adam Fedor <fedor>
Submitted on:  Sat 12 Nov 2011 05:00:34 AM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

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

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup