This must be something stupid....

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Frosty Carfrost
Forum Newbie
Posts: 1
Joined: Sun Mar 09, 2003 9:02 pm

This must be something stupid....

Post by Frosty Carfrost »

...but I can't get it out :(

I am trying to make my own extension, so I downloaded the latest versioan available (4.1.3 i think), unpacked it, and the I go like this:

Code: Select all

$ cd ext
$ ./ext_skel --extname=Prueba
when if finishes, I edit ext/Prueba/config.m4 and uncomment this lines:

Code: Select all

PHP_ARG_WITH(Prueba, for Prueba support,
Make sure that the comment is aligned:
ї  --with-Prueba             Include Prueba support])
then, from the "root" php source directory, i go like this:

Code: Select all

$ buildconf
$ ./configure --with-Prueba
$ make
and now, when I try to do this

Code: Select all

$ ./sapi/cli/php ext/Prueba/Prueba.php
it says:

Code: Select all

Functions available in the test extension:<br>
confirm_Prueba_compiled<br>
<br>

Fatal error: Call to undefined function:  confirm_prueba_compiled() in /usr/local/src/php-4.3.1/ext/Prueba/Prueba.php on line 14
Can anybody help me??

Thanks
Post Reply