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


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to