I am having some issues related to the configure application when 
building mcal into php when using Solaris 8.

I think I've figured it out, when I get undefined references to 
cc_searched, cc_log, cc_vlog, and cc_login, these tend to be related to 
those undefined symbols in libmcal because they are call backs.

It seems that php_mcal.c properly makes use of these, but the main issue 
is that configure still adds a "-lmcal" to the compilation of the 
condtest.c applications it uses for finding things as simple as 
getcwd(), for example.

What I have found is that if you include "-lmcal", you have to have 
those four functions defined (in Solaris 8) because the linker defaults 
to disallowing undefined refereces on build of an executable (it does 
allow undefined references in the build of shared libraries).

It would seem that the PHP configure needs to be fixed, or something 
else needs to be done, and I'd like to speak with the owner of the build 
system, or MCAL to discuss some options.  You guys are the experts, I'm 
just reporting an issue.  I'll open a bug if that makes more sense.

My current workaround is to prefix my configure as such:

                env LDFLAGS="-z nodefs" ./configure ...

And that allows the configure to run properly.  I'm still working on a 
final build, but hope to have that soon.

Please respond directly, or cc me as this group looks very noisy and I 
might lose ya! :)

Cheers,

--
-bk


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

Reply via email to