Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas011.isp.belgacom.be (localhost [127.0.0.1])
        by inav015.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k8QDfrl5029641
        for <joris.at.lebbeke@skynet.be>; Tue, 26 Sep 2006 15:41:53 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx005.isp.belgacom.be (inmx005.isp.belgacom.be [195.238.5.148])
        by inas011.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k8QDfd12029421
        for <joris.at.lebbeke@skynet.be>; Tue, 26 Sep 2006 15:41:46 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx005.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k8QDfVhS007750
        for <joris.at.lebbeke@skynet.be>; Tue, 26 Sep 2006 15:41:34 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k8QDS2pJ023417;
	Tue, 26 Sep 2006 09:29:18 -0400
Received: from srv-exchange.rtenetwork.net (reverse.completel.net
	[213.30.138.179] (may be forged))
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k8QDPoAY023352
	for <tiff@lists.maptools.org>; Tue, 26 Sep 2006 09:25:51 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: [Tiff] Cross compilation mac os x/linux
Date: Tue, 26 Sep 2006 15:25:47 +0200
Message-ID: <E6B8D9377CF5364AB5463906BAAAAA55DE869D@srv-exchange.rtenetwork.net>
In-Reply-To: <9B4D5C50-11EC-4AC8-AFAA-AF781BCBCA68@rte.fr>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Tiff] Cross compilation mac os x/linux
Thread-Index: AcbQxY+RfSFkqOo8R0GA4yHkWcM+aAQqYDNQ
From: "Ivan LAURETTE" <Ivan.LAURETTE@rte.fr>
To: <tiff@lists.maptools.org>
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0573208541=="
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00001b07
X-MSP-STORE: Tue, 26 Sep 2006 15:42:02 +0200
Status:   

This is a multi-part message in MIME format.

--===============0573208541==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C6E16F.4772C3C3"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C6E16F.4772C3C3
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Bob,

=20

I'm sorry, I didn't receive your answer and just found it on the libtiff
mailing list.

=20

I modified dummy.c following your advice.

I still get the same error.

=20

Bob Friesenhahn wrote:
=20
> On Tue, 5 Sep 2006, Ivan LAURETTE wrote:
>>=20
>> I'm trying to cross compile the libtiff 3.8.2 for a PowerPC-860
(linux) on my=20
>> PowerPC G5 (Mac OS 10.4.7). I'm using gcc as crosscompiler. I
configured the=20
>> compilation with:
>=20
> The "libport" approach used in the libtiff build was a bad idea.  It=20
> causes linker problems on some platforms when libport does not provide

> any external symbols.
>=20
> A workaround is to edit port/dummy.c and change the word 'static' to
'extern'.
=20

------_=_NextPart_001_01C6E16F.4772C3C3
Content-Type: text/html;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
pre
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:595.3pt 841.9pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DFR link=3Dblue vlink=3Dpurple style=3D'word-wrap: =
break-word;-khtml-nbsp-mode: space;
-khtml-line-break: after-white-space'>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Bob,<o:p></o:p></=
span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p>=
</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>I&#8217;m sorry, =
I
didn&#8217;t receive your answer and just found it on the libtiff =
mailing list.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p>=
</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>I modified =
dummy.c
following your advice.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>I still get the =
same
error.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p>=
</span></font></p>

<pre><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;
font-family:Arial'>Bob Friesenhahn =
wrote:<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dnavy face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;
font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></pre><pre><=
font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt'>&gt; On Tue, 5 Sep 2006, <st1:PersonName
ProductID=3D"Ivan LAURETTE" w:st=3D"on">Ivan LAURETTE</st1:PersonName> =
wrote:<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt'>&gt;&gt;<o:p>&nbsp;</o:p></span></font></pre><=
pre><font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt'>&gt;&gt; I'm trying to cross compile the =
libtiff 3.8.2 for a PowerPC-860 (linux) on my =
<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt'>&gt;&gt; PowerPC G5 (Mac OS 10.4.7). I'm =
using gcc as crosscompiler. I configured the =
<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt'>&gt;&gt; compilation =
with:<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt'>&gt;<o:p>&nbsp;</o:p></span></font></pre><pre>=
<font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt'>&gt; The &quot;libport&quot; approach used in =
the libtiff build was a bad idea.&nbsp; It =
<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt'>&gt; causes linker problems on some platforms =
when libport does not provide <o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt'>&gt; any external =
symbols.<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt'>&gt; =
<o:p></o:p></span></font></pre><pre><font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt'>&gt; A workaround is to edit port/dummy.c and =
change the word 'static' to =
&#8216;extern&#8217;.<o:p></o:p></span></font></pre><pre><font
size=3D2 color=3Dnavy face=3DArial><span lang=3DEN-GB =
style=3D'font-size:10.0pt;
font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></pre></div>=


</body>

</html>

------_=_NextPart_001_01C6E16F.4772C3C3--

--===============0573208541==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
--===============0573208541==--
