This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PHP 4.3.3 not compiling with Semaphore, Shared Memory and IPC Functions (--enable-sysvmsg --enable-sysvsem --enable-sysvshm)


Hi

I am trying to compile PHP V4.3.3 for CLI with the following;

./configure  --enable-cli --enable-sysvmsg --enable-sysvsem --enable-sysvshm
 --enable-sigchild --with-mysql --enable-pcntl

but get the following while running 'make'

<snip>
pt -lcrypt -lm -lcrypt -lcrypt  -o sapi/cgi/php.exe
ext/sysvmsg/sysvmsg.o(.text+0x2e1): In function `zif_msg_set_queue':
/php-4.3.3/ext/sysvmsg/sysvmsg.c:143: undefined reference to `_msgctl'
ext/sysvmsg/sysvmsg.o(.text+0x4c0):/php-4.3.3/ext/sysvmsg/sysvmsg.c:167:
undefined reference to `_msgctl'
ext/sysvmsg/sysvmsg.o(.text+0x724): In function `zif_msg_stat_queue':
/php-4.3.3/ext/sysvmsg/sysvmsg.c:189: undefined reference to `_msgctl'
ext/sysvmsg/sysvmsg.o(.text+0x954): In function `zif_msg_get_queue':
/php-4.3.3/ext/sysvmsg/sysvmsg.c:221: undefined reference to `_msgget'
ext/sysvmsg/sysvmsg.o(.text+0x9a8):/php-4.3.3/ext/sysvmsg/sysvmsg.c:224:
undefined reference to `_msgget'
ext/sysvmsg/sysvmsg.o(.text+0xa88): In function `zif_msg_remove_queue':
/php-4.3.3/ext/sysvmsg/sysvmsg.c:248: undefined reference to `_msgctl'
ext/sysvmsg/sysvmsg.o(.text+0xbfc): In function `zif_msg_receive':
/php-4.3.3/ext/sysvmsg/sysvmsg.c:294: undefined reference to `_msgrcv'
ext/sysvmsg/sysvmsg.o(.text+0xf9a): In function `zif_msg_send':
/php-4.3.3/ext/sysvmsg/sysvmsg.c:379: undefined reference to `_msgsnd'
ext/sysvsem/sysvsem.o(.text+0x10a): In function `release_sysvsem_sem':
/php-4.3.3/ext/sysvsem/sysvsem.c:137: undefined reference to `_semop'
ext/sysvsem/sysvsem.o(.text+0x384): In function `zif_sem_get':
/php-4.3.3/ext/sysvsem/sysvsem.c:186: undefined reference to `_semget'
ext/sysvsem/sysvsem.o(.text+0x3e0):/php-4.3.3/ext/sysvsem/sysvsem.c:218:
undefined reference to `_semop'
ext/sysvsem/sysvsem.o(.text+0x437):/php-4.3.3/ext/sysvsem/sysvsem.c:227:
undefined reference to `_semctl'
ext/sysvsem/sysvsem.o(.text+0x470):/php-4.3.3/ext/sysvsem/sysvsem.c:263:
undefined reference to `_semop'
ext/sysvsem/sysvsem.o(.text+0x510):/php-4.3.3/ext/sysvsem/sysvsem.c:242:
undefined reference to `_semctl'
ext/sysvsem/sysvsem.o(.text+0x733): In function `php_sysvsem_semop':
/php-4.3.3/ext/sysvsem/sysvsem.c:310: undefined reference to `_semop'
ext/sysvsem/sysvsem.o(.text+0x992): In function `zif_sem_remove':
/php-4.3.3/ext/sysvsem/sysvsem.c:364: undefined reference to `_semctl'
ext/sysvsem/sysvsem.o(.text+0x9b9):/php-4.3.3/ext/sysvsem/sysvsem.c:373:
undefined reference to `_semctl'
ext/sysvshm/sysvshm.o(.text+0x65): In function `php_release_sysvshm':
/php-4.3.3/ext/sysvshm/sysvshm.c:80: undefined reference to `_shmdt'
ext/sysvshm/sysvshm.o(.text+0x285): In function `zif_shm_attach':
/php-4.3.3/ext/sysvshm/sysvshm.c:136: undefined reference to `_shmget'
ext/sysvshm/sysvshm.o(.text+0x2a7):/php-4.3.3/ext/sysvshm/sysvshm.c:147:
undefined reference to `_shmat'
ext/sysvshm/sysvshm.o(.text+0x3dd):/php-4.3.3/ext/sysvshm/sysvshm.c:141:
undefined reference to `_shmget'
ext/sysvshm/sysvshm.o(.text+0x7d2): In function `zif_shm_remove':
/php-4.3.3/ext/sysvshm/sysvshm.c:217: undefined reference to `_shmctl'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php.exe] Error 1


I have the cygipc library installed ok as far as I know and have tried older
versions of V4.3.x with same results.
Without the IPC functions in the configure line it compiles ok.

Has anyone had any luck getting this to work?

(I am running winXP with latest Cygwin + packages at time of sending this
email.)

Thanks

Rich.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]