Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16155 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61820 invoked by uid 1010); 30 Apr 2005 16:32:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 61804 invoked from network); 30 Apr 2005 16:32:09 -0000 Received: from unknown (HELO adinet.com.uy) (127.0.0.1) by localhost with SMTP; 30 Apr 2005 16:32:09 -0000 X-Host-Fingerprint: 24.66.29.51 unknown Windows 2000 SP4, XP SP1 Received: from ([24.66.29.51:3742] helo=lacey.cc) by pb1.pair.com (ecelerity 1.2.12rc1 r(5476:5477)) with SMTP id 79/E2-20173-903B3724 for ; Sat, 30 Apr 2005 12:32:09 -0400 Received: from trlacey.com (192.168.2.4) by lacey.cc (192.168.2.4) for ; Sat, 30 Apr 2005 10:33:55 -0600 (M) X-Mailer: Lacey Mail Server for Windows version 1.0 - www.trlacey.com/LaceyMailServer.htm To: Date: Sat, 30 Apr 2005 10:33:55 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Win32 Build of php_mysql From: lacey@lacey.cc ("Terry R. Lacey") I get these errors. I'm assuming there's version issues between the include and lib files in win32build.zip and the current source code in php_mysql.c Sorry... Here's the errors - Version 5.0.4: Build Log --------------------Configuration: mysql - Win32 Release_TS-------------------- Command Lines Creating temporary file "C:\DOCUME~1\Owner\LOCALS~1\Temp\RSPA33.tmp" with contents [ /nologo /MD /W3 /GX /O2 /I "..\.." /I "..\..\main" /I "..\..\Zend" /I "..\..\..\bindlib_w32" /I "..\..\..\MySQL\include" /I "..\..\TSRM" /D "NDEBUG" /D ZEND_DEBUG=0 /D "ZTS" /D "MYSQL_EXPORTS" /D "COMPILE_DL_MYSQL" /D HAVE_MYSQL=1 /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ZEND_WIN32" /D "PHP_WIN32" /FR"Release_TS/" /Fp"Release_TS/mysql.pch" /YX /Fo"Release_TS/" /Fd"Release_TS/" /FD /c "C:\PHP\php-5.0.4\ext\mysql\php_mysql.c" ] Creating command line "cl.exe @C:\DOCUME~1\Owner\LOCALS~1\Temp\RSPA33.tmp" Creating temporary file "C:\DOCUME~1\Owner\LOCALS~1\Temp\RSPA34.tmp" with contents [ kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib libmySQL.lib php5ts.lib /nologo /dll /incremental:no /pdb:"Release_TS/php_mysql.pdb" /machine:I386 /out:"..\..\Release_TS/php_mysql.dll" /implib:"Release_TS/php_mysql.lib" /libpath:"..\..\..\MySQL\lib\opt" /libpath:"..\..\Release_TS" /libpath:"..\..\Release_TS_Inline" ".\Release_TS\php_mysql.obj" ] Creating command line "link.exe @C:\DOCUME~1\Owner\LOCALS~1\Temp\RSPA34.tmp" Output Window Compiling... php_mysql.c C:\PHP\php-5.0.4\ext\mysql\php_mysql.c(1128) : warning C4013: 'mysql_character_set_name' undefined; assuming extern returning int C:\PHP\php-5.0.4\ext\mysql\php_mysql.c(1715) : warning C4013: 'mysql_real_escape_string' undefined; assuming extern returning int Linking... Creating library Release_TS/php_mysql.lib and object Release_TS/php_mysql.exp php_mysql.obj : error LNK2001: unresolved external symbol _mysql_character_set_name php_mysql.obj : error LNK2001: unresolved external symbol _mysql_real_escape_string ..\..\Release_TS/php_mysql.dll : fatal error LNK1120: 2 unresolved externals Error executing link.exe. Creating command line "bscmake.exe /nologo /o"Release_TS/mysql.bsc" ".\Release_TS\php_mysql.sbr"" Creating browse info file... Output Window Results php_mysql.dll - 3 error(s), 2 warning(s)