Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44947 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34374 invoked from network); 13 Jul 2009 22:56:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jul 2009 22:56:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=ezyang@MIT.EDU; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ezyang@MIT.EDU; sender-id=pass Received-SPF: pass (pb1.pair.com: domain MIT.EDU designates 18.7.7.80 as permitted sender) X-PHP-List-Original-Sender: ezyang@MIT.EDU X-Host-Fingerprint: 18.7.7.80 BISCAYNE-ONE-STATION.MIT.EDU Solaris 9 Received: from [18.7.7.80] ([18.7.7.80:45090] helo=biscayne-one-station.mit.edu) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/79-24812-3ABBB5A4 for ; Mon, 13 Jul 2009 18:56:36 -0400 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id n6DMuVsV010440 for ; Mon, 13 Jul 2009 18:56:31 -0400 (EDT) Received: from localhost (dhcp-18-111-25-106.dyn.mit.edu [18.111.25.106]) (authenticated bits=0) (User authenticated as ezyang@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id n6DMuUNh004913 for ; Mon, 13 Jul 2009 18:56:31 -0400 (EDT) Content-Type: text/plain; charset=UTF-8 To: internals In-reply-to: <200907132215.10768.thomas@koch.ro> References: <200907132215.10768.thomas@koch.ro> Date: Mon, 13 Jul 2009 18:56:30 -0400 Message-ID: <1247525647-sup-1878@javelin> User-Agent: Sup/git Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.42 X-Spam-Flag: NO X-Spam-Score: 0.00 Subject: Re: [PHP-DEV] Can't use embeded sapi From: ezyang@MIT.EDU ("Edward Z. Yang") Excerpts from Thomas Koch's message of Mon Jul 13 16:15:10 -0400 2009: > worker.o: In function `main': > /var/checkouts/gearman-php-worker/worker.c:5: undefined reference to > `php_embed_init' > /var/checkouts/gearman-php-worker/worker.c:6: undefined reference to > `php_embed_shutdown' > collect2: ld returned 1 exit status My guess is that you're missing some includes that you may need. Double check your code against that in the book. Cheers, Edward