Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4618 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37325 invoked by uid 1010); 30 Sep 2003 15:05:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37271 invoked from network); 30 Sep 2003 15:05:21 -0000 Received: from unknown (HELO stella.fastforwardnetwork.com) (209.51.153.50) by pb1.pair.com with SMTP; 30 Sep 2003 15:05:21 -0000 Received: (qmail 32608 invoked from network); 30 Sep 2003 15:07:02 -0000 Received: from pd9e6141e.dip.t-dialin.net (HELO hristov.com) (217.230.20.30) by d.goto.bg with SMTP; 30 Sep 2003 15:07:02 -0000 Message-ID: <3F799C54.3010500@hristov.com> Date: Tue, 30 Sep 2003 18:08:04 +0300 User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.5) Gecko/20030917 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Manfred Stienstra CC: internals@lists.php.net References: <1064332750.15197.13.camel@tail.dwerg.net> <1064334626.25515.106.camel@blobule.suds> <1064932686.28212.20.camel@tail.dwerg.net> <3F7999B3.4090505@hristov.com> <1064934002.28212.25.camel@tail.dwerg.net> In-Reply-To: <1064934002.28212.25.camel@tail.dwerg.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] MonetDB extension From: php@hristov.com (Andrey Hristov) Manfred Stienstra wrote: >On Tue, 2003-09-30 at 16:56, Andrey Hristov wrote: > > >>Manfred Stienstra wrote: >> >> >> >>>Hi, >>> >>>As some might remember from last week, I'm trying to develop a php >>>extension, but I'm having a little trouble getting it compiled... >>> >>>/home/dwerg/code/2003/monetdb/php-4.3.3/ext/monet/monet.c:42: error: >>>`zif_monet_connect' undeclared here (not in a function) >>>/home/dwerg/code/2003/monetdb/php-4.3.3/ext/monet/monet.c:42: error: >>>initializer element is not constant >>> >>>Does anyone know how I can fix this? >>> >>> > > > >>Then, please place the files somewhere on the web, so we can see the code >> >> > >Here are the files: > >http://tail.dwerg.net/monet/monet.c >http://tail.dwerg.net/monet/php_monet.h >http://tail.dwerg.net/monet/config.m4 > >Manfred > > > I see something bad in php_monet.h : PHP_FUNCTION(mysql_connect); PHP_FUNCTION(mysql_close); As you probably see this you misspelled the names. Andrey