* Ettore Del Negro ([email protected]) wrote: > Hello, > > i'm trying to add a tracepoint in PHP-5.3.8/Zend/zend.c and i'm getting this > (linking) error: > > gcc -I/usr/include -g -fvisibility=hidden -O0 -Wall ext/date/.libs/php_date.o > […] > -lcrypt /usr/lib/liblttng-ust.so /usr/lib/liblttng-ust-tracepoint.so -lrt > /usr/lib/liburcu-bp.so /usr/lib/liburcu-common.so -luuid -lpthread -ldl > Zend/.libs/zend.o:(__tracepoints+0x18): undefined reference to > `__tracepoint_provider_php_zend' > collect2: ld returned 1 exit status > make: *** [sapi/fpm/php-fpm] Error 1 > > I followed exactly the doc/examples/easy-ust example and added -llttng-ust in > PHP's Makefile. > I'm using lttng-ust-2.0.0-rc2 and userspace-rcu-0.6.7 . > > What am i missing?
Hi, Could you please provide the diff of your modifications to the zend sources, along with c/h files added, and your build system modifications ? Thanks, Mathieu > > Regards, > Ettore > _______________________________________________ > lttng-dev mailing list > [email protected] > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
