Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65760 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77045 invoked from network); 10 Feb 2013 18:55:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Feb 2013 18:55:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.51 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.51 mail-la0-f51.google.com Received: from [209.85.215.51] ([209.85.215.51:42727] helo=mail-la0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 57/F9-20900-B3DE7115 for ; Sun, 10 Feb 2013 13:55:55 -0500 Received: by mail-la0-f51.google.com with SMTP id fo13so5096792lab.24 for ; Sun, 10 Feb 2013 10:55:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=l87bJufIwxlrk42GM6HaAn0OHdo0QhaCml3h+zLullk=; b=XibxPUo7qJf7NPIk8dOREhPMSrvdABQWeidXkdPAq77Wwm3iAmqUF/yqFEj3CbdrbQ Uf3sRXTrqu9Fhuzf5ZbYg/GI5mmLXQiMkDmZO9JVY4xSpoYZWQCyEGiBVYkxuN9EaI+e yfAmpJzHE1ZSpiN/zuF8BbXCR1Gn3pgzWYN/cBD+iTYRnL7QNVNSo/Oar3mqOwj3He+t JzTVfXth8GWqOSwyxbasWsnF15+aUVcQn8bV2jDd9CE/UqPjiTYWHqGez6K4rwjF9QeQ x/2/w2LAXSCm81mUaEUARjxdEvbahgmyvUnHXWQ+pZwLdFeIKtkwh5f6neXOpdGeTwTY yH9A== MIME-Version: 1.0 X-Received: by 10.112.43.198 with SMTP id y6mr4824239lbl.93.1360522552227; Sun, 10 Feb 2013 10:55:52 -0800 (PST) Received: by 10.112.111.131 with HTTP; Sun, 10 Feb 2013 10:55:51 -0800 (PST) Received: by 10.112.111.131 with HTTP; Sun, 10 Feb 2013 10:55:51 -0800 (PST) In-Reply-To: References: Date: Sun, 10 Feb 2013 19:55:51 +0100 Message-ID: To: Dennis Clarke Cc: Stanislav Malyshev , Christopher Jones , PHP internals , ssb@php.net, Rasmus Lerdorf Content-Type: multipart/alternative; boundary=bcaec52d4d316f3ab204d563577b Subject: Re: [PHP-DEV] ext/gd/gd_ctx.c: In function '_php_image_stream_putc': error: 'struct gdIOCtx' has no member named 'data' From: pierre.php@gmail.com (Pierre Joye) --bcaec52d4d316f3ab204d563577b Content-Type: text/plain; charset=ISO-8859-1 On Feb 10, 2013 7:25 PM, "Dennis Clarke" wrote: > > > Dear PHP folks : > > I am trying to build php 5.4.11 with the GD extension and running into an error where both > GCC 4.7.2 and Oracle Studio 12.3 claim that : > > "/usr/local/build/php-5.4.11_SunOS5.10_sparcv9+GD.001/ext/gd/gd_ctx.c", line 51: error: improper member use: data > "/usr/local/build/php-5.4.11_SunOS5.10_sparcv9+GD.001/ext/gd/gd_ctx.c", line 58: error: improper member use: data > "/usr/local/build/php-5.4.11_SunOS5.10_sparcv9+GD.001/ext/gd/gd_ctx.c", line 67: error: improper member use: data There is a problem when an external library is used. Using the bundled lib fixes this problem ("--with-gd") Cheers, Pierre --bcaec52d4d316f3ab204d563577b--