SV: [PHP4BETA] ODBC (bug #2886) and compiling on NT
| From: | Mikkel Staunsholm | Date: | Wed, 12 Jan 2000 15:31:33 +0000 |
| Subject: | SV: [PHP4BETA] ODBC (bug #2886) and compiling on NT | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9078@lists.php.net to get a copy of this message | ||
If I remember correctly, ODBC is broken in the win32/b3 distribution.
Get the newest CVS. Then follow the win32-compilation guide religiously.
Except for the Cygnus-dir which you might have to move one step closer to
the root.
You probably need a servicepack for VC6, but I'm not sure. I use SP3.
Mikkel.
> Hi
>
> I've been trying to compile the 4.0beta3 code for some while now in an
> attempt to get to the bottom of bug 2886. I had problems with
> a number of
> with the linker failing due to a number of unresolved
> externals. I was using
> VC++5, and upgraded yesterday to VC++6. The number of
> unresolved externals
> has reduced, but the linker still fails with the following:
>
> resolv.lib(nsap_addr.obj) : error LNK2001: unresolved external symbol
> __pctype
> resolv.lib(res_query.obj) : error LNK2001: unresolved external symbol
> __pctype
> resolv.lib(res_init.obj) : error LNK2001: unresolved external symbol
> __pctype
> resolv.lib(res_debug.obj) : error LNK2001: unresolved external symbol
> __pctype
> resolv.lib(base64.obj) : error LNK2001: unresolved external
> symbol __pctype
> resolv.lib(nsap_addr.obj) : error LNK2001: unresolved external symbol
> ___mb_cur_max
> resolv.lib(res_query.obj) : error LNK2001: unresolved external symbol
> ___mb_cur_max
> resolv.lib(res_init.obj) : error LNK2001: unresolved external symbol
> ___mb_cur_max
> resolv.lib(res_debug.obj) : error LNK2001: unresolved external symbol
> ___mb_cur_max
> resolv.lib(base64.obj) : error LNK2001: unresolved external symbol
> ___mb_cur_max
> resolv.lib(res_send.obj) : error LNK2001: unresolved external
> symbol _writev
> Release_TS/php4ts.dll : fatal error LNK1120: 3 unresolved externals
>
> So can anyone advise me on what to do to find pctype,
> mb_cur_max and writev?
>
> Cheers
> --
> Phil Driscoll
> Dial Solutions
> +44 (0)113 294 5112
> http://www.dialsolutions.com
> http://www.dtonline.org
>
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail:
> php4beta-admin@lists.php.net
>