Extension module

From: Date: Tue, 14 Mar 2000 17:53:23 +0000
Subject: Extension module
Groups: php.version4 
Request: Send a blank email to php-version4+get-12089@lists.php.net to get a copy of this message
I need some help here ... Back in January I created an extension module for PHP4. In the absence of any doc on how to get an extension module to "build" properly, I just mucked about with it until it worked. Now it's time to rebuild with the latest CVS snapshot, and I'd like to do this the right way (not to mention, I really can't remember all the handwaving I did before ...). I found the ext_skel script in the ext directory, and ran it: "./ext_skel loco". I then copied the two source files "loco.c" and "php_loco.h" into the ext/loco directory. Then I configure, make and make install. loco.c is getting compiled, and loco.la is getting linked in. The problem is that the signle function, loco_link() isn't known to PHP like it used to be in my previous build, resulting in the following: Fatal Error: call to undefined function: loco_link() in ...... Does anyone have any pointers? This used to work!

« previous php.version4 (#12089) next »