I try to compile PHP5 from the kamikaze repository (https://svn.openwrt.org/openwrt/packages).
This is the command I use:
# make package/php5-{clean,compile}
The following packages are succesfully built (these are dependencies I guess):
curl_7.14.0-1_mipsel.ipk libjpeg_6b-1_mipsel.ipk
jpeg-tools_6b-1_mipsel.ipk libltdl_1.5.22-1_mipsel.ipk
libcurl_7.14.0-1_mipsel.ipk libpng_1.2.8-1_mipsel.ipk
libgd_2.0.33-2_mipsel.ipk libsasl2_2.1.20-1_mipsel.ipk
but when it tries to compile the openldap libs I get the following error:
...
checking for pthread_kill_other_threads_np... yes
checking for LinuxThreads implementation... yes
checking for LinuxThreads consistency... yes
checking if pthread_create() works... yes
checking if select yields when using pthreads... cross
configure: error: crossing compiling: use --with-yielding_select=yes|no|manual
make[2]: *** [/var/www/nils/OpenWrt-SDK-Linux-i686-1/build_mipsel/openldap-2.2.29/.configured] Error 1
make[2]: Leaving directory `/var/www/nils/packages/libs/openldap'
make[1]: *** [openldap-compile] Error 2
make[1]: Leaving directory `/var/www/nils/OpenWrt-SDK-Linux-i686-1/package'
make: *** [package/php5-compile] Error 2
The WR SDK is my own built that I got by 'make DEVELOPER=1 world' on the WR source.
The host system is Debain 3.1.
Whats the reason? I can't figure out,
any help is appreciated.
thanks
(Last edited by openwrt on 2 May 2007, 16:46)