From: <ni...@in...> - 2002-11-04 23:28:19
|
Gwenole asked: > Are you sure HAVE_MACH_VM is defined to 1 on MacOS X 10.2? Their mmap() > implementation may still not work properly. configure says: checking for mmap... yes checking for mprotect... yes checking for munmap... yes checking for vm_allocate... yes checking for vm_deallocate... yes checking for vm_protect... yes checking for mach_task_self... yes checking for task_self... no checking for cam_open_btl in -lcam... no configure: WARNING: Cannot find libcam for SCSI management, disabling SCSI support. checking whether vm_protect works... no checking whether mmap supports MAP_ANON... no checking whether mmap supports MAP_ANONYMOUS... no checking whether mprotect works... no checking whether we can map Low Memory area 0x0000-0x2000... no checking whether signal handlers need to be reinstalled... no checking whether sigaction handlers need to be reinstalled... no checking whether your system supports extended signal handlers... no checking whether we can skip instruction in SIGSEGV handler... no checking for the addressing mode to use... memory banks checking for GAS .p2align feature... no checking for GCC 2.7 or higher... yes checking for GCC 3.0 or higher... yes and config.h contains: /* Define if your system has a working vm_allocate()-based memory allocator. */ #define HAVE_MACH_VM 1 /* Define if you have the <memory.h> header file. */ #define HAVE_MEMORY_H 1 /* Define if you have the `mmap' function. */ #define HAVE_MMAP 1 /* Define if <sys/mman.h> defines MAP_ANON and mmap()'ing with MAP_ANON works. */ /* #undef HAVE_MMAP_ANON */ /* Define if <sys/mman.h> defines MAP_ANONYMOUS and mmap()'ing with MAP_ANONYMOUS works. */ /* #undef HAVE_MMAP_ANONYMOUS */ /* Define if your system has a working mmap()-based memory allocator. */ #define HAVE_MMAP_VM 1 /* Define if you have the `mprotect' function. */ #define HAVE_MPROTECT 1 /* Define if you have the `munmap' function. */ #define HAVE_MUNMAP 1 > Does the screen remain black? Yes. I can set a debug mode that draws some random snow in the screen bitmap each time through the drawing loop, so I am pretty sure it is nothing wrong with the OS X window stuff. It just seems like the video device is never opened, although it attempts to open the CDRom and other such things. Very strange. -- | Nigel Pearson, ni...@in... | "Things you own | | Telstra BI&D, Sydney, Australia | end up owning you" | | Office: 8255 4222 Fax: 8255 3153 | "not a beautiful snowflake" | | Mobile: 0408 664435 Home: 9792 6998 | Tyler - Fight Club | |