php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15067 unresolved external symbols
Submitted: 2002-01-16 10:05 UTC Modified: 2002-06-17 21:40 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: heitro at dot bireme dot br Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.1.1 OS: Windows 2000
Private report: No CVE-ID: None
 [2002-01-16 10:05 UTC] heitro at dot bireme dot br
When compiling my own php extension, I got two 
linking errors which I didn?t have when I
compiled with version 4.0.6 :

1)The ParameterPassedByReference function is not
in the php4ts.dll library as is was in the 4.0.6
version. 

2)The function wrong_param_count as replaced
by zend_wrong_param_count but even if I use the macro
WRONG_PARAM_COUNT a link error appears.

MSVC output:

Linking...
   Creating library Release/phpwin.lib and object Release/phpwin.exp
isis.obj : error LNK2001: unresolved external symbol __imp__wrong_param_count
isis.obj : error LNK2001: unresolved external symbol __imp__ParameterPassedByReference
Release/phpwin.dll : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

phpwin.dll - 3 error(s), 0 warning(s)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-17 21:40 UTC] sniper@php.net
These are not bugs in any way.
The api changed a bit since 4.0.6, you'd better 
follow the php-dev / php-cvs lists to be on 
top of all changes happening.

Anyway, for that problem 1, look at latest CVS sources
of ext/xmlrpc/xmlrpc-epi-php.c which has example
how it should be done. (some other extension might
be better example though..as this uses quite old stuff)

Problem number 2 iI don't know of..looks odd.

You're better off asking on php-dev@lists.php.net than
here.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 10:01:28 2025 UTC