Cosmicboy n00b


Joined: 18 Jun 2002 Posts: 63 Location: NRW, Germany
|
Posted: Thu Jun 02, 2005 11:41 am Post subject: eaccelerator compile error |
|
|
Hi,
I try to compile the newest version of eaccelerator (V0.93) an I get this error message:
Code: | #error "Semaohore type is not selected. Define one of the following: MM_SEM_SPINLOCK, MM_SEM_PTHREAD, MM_SEM_POSIX, MM_SEM_IPC, MM_SEM_FCNTL, MM_SEM_FLOCK, MM_SEM_BEOS, MM_SEM_OS2, MM_SEM_WIN32"
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:927:4: #error "Shared memeory type is not selected. Define one of the following: MM_SHM_IPC, MM_SHM_MMAP_ANON, MM_SHM_MMAP_ZERO, MM_SHM_MMAP_FILE, MM_SHM_MALLOC, MM_SHM_BEOS, MM_SHM_OS2, MM_SHM_WIN32"
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c: In function `mm_init':
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:975: `mm_mutex' undeclared (first use in this function)
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:975: (Each undeclared identifier is reported only once
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:975: for each function it appears in.)
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c: In function `_mm_create':
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:1155: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c: In function `mm_sem_type':
/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/mm.c:1213: `MM_SEM_TYPE' undeclared (first use in this function)
make: *** [mm.lo] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
gcc -I. -I/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3 -DPHP_ATOM_INC -I/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/include -I/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/main -I/var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -DHAVE_CONFIG_H -march=pentium3 -O3 -pipe -c /var/tmp/portage/eaccelerator-0.9.3/work/eaccelerator-0.9.3/webui.c -fPIC -DPIC -o webui.lo
|
Can someone tell me, what I have to do, to compile eaccelerator?
Thanks
Thorsten |
|