[yocto] yocto krogoth can't get apache2 with php to build

robert terrell robert.l.terrell.ihi at gmail.com
Wed Jul 13 08:55:52 PDT 2016


Thank you in advance.  Could really use the help.

I have to get php5 working in apache2.

yocto at yocto-H8SGL:~/poky/build$ bitbake core-image-lsb
Loading cache: 100%
|#########################################################################################################|
ETA:  00:00:00
Loaded 2379 entries from dependency cache.
Parsing recipes: 100%
|#######################################################################################################|
Time: 00:00:01
Parsing of 1829 .bb files complete (1828 cached, 1 parsed). 2379 targets,
116 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "intel-corei7-64"
DISTRO            = "poky-lsb"
DISTRO_VERSION    = "2.1.1"
TUNE_FEATURES     = "m64 corei7"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "krogoth:98c57bb512ea6790db8604fcf0b88c81651d2ab4"
meta-intel        = "krogoth:b8c199201ffe026485a14e1fcfc398e2b3551512"
meta-oe
meta-python
meta-networking
meta-webserver    = "master:303d9ea960e2d88281079a4e71abe2cf8c815184"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: php-5.6.18-r0 do_compile: oe_runmake failed
ERROR: php-5.6.18-r0 do_compile: Function failed: do_compile (log file is
located at
/home/yocto/poky/build/tmp/work/corei7-64-poky-linux/php/5.6.18-r0/temp/log.do_compile.11301)
ERROR: Logfile of failure stored in:
/home/yocto/poky/build/tmp/work/corei7-64-poky-linux/php/5.6.18-r0/temp/log.do_compile.11301

Here is where it fails

 -lmcrypt -lltdl -lbz2 -lz -lm -lxml2 -lxml2 -lxml2 -lcrypt -lxml2 -lxml2
-lxml2 -lxml2 -lcrypt  -o sapi/cgi/php-cgi
|
/home/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/5.3.0/ld:
TSRM/.libs/TSRM.o: undefined reference to symbol 'pthread_sigmask@
@GLIBC_2.2.5'
| /home/yocto/poky/build/tmp/sysroots/intel-corei7-64/lib/libpthread.so.0:
error adding symbols: DSO missing from command line
| collect2: error: ld returned 1 exit status
| make: *** [sapi/fpm/php-fpm] Error 1


Again thanks for any help.

bobt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160713/e446fd7f/attachment.html>


More information about the yocto mailing list