Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:15121 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 26438 invoked by uid 1010); 20 Feb 2005 14:12:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 26419 invoked from network); 20 Feb 2005 14:12:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2005 14:12:33 -0000 X-Host-Fingerprint: 195.121.6.54 smtp15.wxs.nl NetCache Data OnTap 5.x Received: from ([195.121.6.54:64579] helo=smtp15.wxs.nl) by pb1.pair.com (ecelerity 1.2 (r4437)) with SMTP id E9/F5-12222-0DA98124 for ; Sun, 20 Feb 2005 09:12:33 -0500 Received: from [10.0.0.13] (ip3e830243.speed.planet.nl [62.131.2.67]) by smtp15.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IC700FALRGUNH@smtp15.wxs.nl> for internals@lists.php.net; Sun, 20 Feb 2005 15:12:30 +0100 (CET) Date: Sun, 20 Feb 2005 15:12:41 +0100 In-reply-to: To: Sebastian Bergmann Cc: internals@lists.php.net Message-ID: <42189AD9.5020703@php.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050106 References: <20050219164842.79612.qmail@lists.php.net> Subject: Re: problems compiling mysqli (on win32) From: tularis@php.net ("M. Sokolewicz") Sebastian Bergmann wrote: > M. Sokolewicz wrote: > >>So, is this a problem with my compiler being stupid? > > > Are you sure you have the right MySQL headers and libraries? > ah, thanks for the headsup on this, it seems it was indeed a header/library mismatch; the configure script took em from the win32build dir instead of the mysql install (had to move the win32buikd ones to have it fetch the mysql install headers/libs instead) so, that works now; only problem left is an unresolved extrenal symbols problem. php5ts.dll.def : error LNK2001: unresolved external symbol _libiconv_version php5ts.dll.def : error LNK2001: unresolved external symbol libiconv php5ts.dll.def : error LNK2001: unresolved external symbol libiconv_close php5ts.dll.def : error LNK2001: unresolved external symbol libiconv_open php5ts.dll.def : error LNK2001: unresolved external symbol libiconv_set_relocati on_prefix Release_TS\php5ts.lib : fatal error LNK1120: 5 unresolved externals LINK : fatal error LNK1141: failure during build of exports file Now, I have no idea why this is hapenning, because according to the makefile, it links to them via PHP_DLL_DEF_SOURCES (which has the correct paths. I've tried changing them, and make failed earlier because it couldn't find them...). I can't figure out why it has to be so much more complicated on win32-systems; guess that's because few people actually try it there =/ - tul