Re: compiling extension
| From: | Markus Fischer | Date: | Mon, 01 Jul 2002 23:12:32 +0000 |
| Subject: | Re: compiling extension | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85715@lists.php.net to get a copy of this message | ||
On Tue, Jul 02, 2002 at 12:42:08AM +0200, Ron Lange wrote :
> my last question for this week (I hope):
> How can I include the sources of my lib in the php build??? Although it's
> compiling fine, the apache build fails about undefined references to my
> functions. I am really tired now, since four hours I am trying to solve
> this problem. May I am only stupid. Who knows.
You don't need to include your sources but a static library
of your extension needs to be created which exports the
symbols as needed and which gets statically linked into
libphp4.so . But since all you say is "it doesn't work" and
you don't give any concrete error message, sample
input/output or even sources, it's pretty hard to be exact,
either.
- Markus