<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV style="FONT: 10pt Courier New; COLOR: #000000">
<DIV>Dear Jan,</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks for the pointer. I am using Gentoo Linux on all my servers and they 
also have howtos about this topic. The warning is definitely an important one 
though...</DIV></DIV>
<DIV style="FONT: 10pt Courier New; COLOR: #000000">I will first try to find a 
version of Radiance where 3ds2mgf still worked and compare the sources, then I 
will know if it's worth the effort. I am sure I have some old machine with gcc 
3.* somewhere, I guess I will try that first.</DIV>
<DIV style="FONT: 10pt Courier New; COLOR: #000000">&nbsp;</DIV>
<DIV style="FONT: 10pt Courier New; COLOR: #000000">&nbsp;Erwin</DIV>
<BLOCKQUOTE id=tobit_blockquote 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <TABLE id=tobit_repfor 
  style="BORDER-RIGHT: #e0e0e0 1px solid; BORDER-TOP: #e0e0e0 1px solid; FONT: 10pt Arial; BORDER-LEFT: #e0e0e0 1px solid; COLOR: black; BORDER-BOTTOM: 0px" 
  cellSpacing=0 cols=3 cellPadding=0 width="99%" border=0>
    <TBODY>
    <TR borderColor=#dfdfdf borderColorLight=#dfdfdf bgColor=#dfdfdf>
      <TD 
      style="PADDING-LEFT: 4px; PADDING-BOTTOM: 1px; PADDING-TOP: 1px; BORDER-BOTTOM: #ffffff 1px solid" 
      width=140 colSpan=2 height=22>
        <DIV style="FONT: bold 9pt Arial">Original 
        Message&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV></TD>
      <TD style="BORDER-BOTTOM: #ffffff 1px solid" align=right>
        <DIV style="FONT: 8pt Arial">
        <DIV style="FONT: 8pt Arial"><STRONG><FONT 
        color=#808080>&nbsp;&nbsp;&nbsp;processed by 
        David.InfoCenter</FONT></STRONG>&nbsp;</DIV></DIV></TD></TR></TBODY></TABLE>
  <TABLE id=tobit_repfor2 
  style="BORDER-RIGHT: #e0e0e0 1px solid; BORDER-TOP: 0px; FONT: 8pt Tahoma; BORDER-LEFT: #e0e0e0 1px solid; COLOR: black; BORDER-BOTTOM: #e0e0e0 1px solid" 
  cellSpacing=0 cols=2 cellPadding=0 width="99%" border=0>
    <TBODY>
    <TR style="PADDING-BOTTOM: 2px">
      <TD style="PADDING-LEFT: 6px; BORDER-BOTTOM: #ffffff 1px solid" width=68 
      bgColor=#efefef height=18>
        <DIV style="FONT: 8pt Tahoma">Subject:&nbsp;</DIV></TD>
      <TD style="PADDING-LEFT: 4px; BORDER-BOTTOM: #efefef 1px solid" 
      bgColor=#ffffff>
        <DIV style="FONT: 8pt Tahoma">Re: [Radiance-dev] Re: behavior of 3ds2mgf 
        (08-Okt-2008 9:01)</DIV></TD></TR>
    <TR style="PADDING-BOTTOM: 2px">
      <TD style="PADDING-LEFT: 6px; BORDER-BOTTOM: #ffffff 1px solid" width=68 
      bgColor=#efefef height=18>
        <DIV style="FONT: 8pt Tahoma">From:&nbsp;&nbsp;&nbsp;&nbsp;</DIV></TD>
      <TD style="PADDING-LEFT: 4px; BORDER-BOTTOM: #efefef 1px solid" 
      bgColor=#ffffff>
        <DIV style="FONT: 8pt Tahoma"><A 
        href="mailto:jan.wienold@ise.fraunhofer.de">Jan Wienold 
        &lt;jan.wienold@ise.fraunhofer.de&gt;</A></DIV></TD></TR>
    <TR style="PADDING-BOTTOM: 0px">
      <TD style="PADDING-LEFT: 6px" width=68 bgColor=#efefef height=17>
        <DIV 
        style="FONT: 8pt Tahoma">To:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV></TD>
      <TD style="PADDING-LEFT: 4px" bgColor=#ffffff>
        <DIV style="FONT: 8pt Tahoma"><A 
        href="mailto:radiance@rendigo.com">radiance@rendigo.com</A></DIV></TD></TR></TBODY></TABLE>
  <DIV>&nbsp;</DIV>Dear Erwin,<BR><BR>I don't know if the gcc is really the 
  problem - but if yes, see below an instruction how to build an older gcc 
  version with a newer one. I use that for compiling esp-r- which also has 
  trouble with gcc4.xx.<BR><BR>Then you have two gcc versions in parallel. Be 
  careful while installing: you have to use the <I>make bootstrap </I>otherwise 
  you can destroy your system (if you install it as root it replaces the 
  existing libraries -&nbsp; I once&nbsp; destroyed my system&nbsp; with 
  that....) <BR>Before using programs compiled under gcc3.x, you have to set the 
  library path to the related lib-path ( export LD_LIBRARYPATH=/opt/gcc33/lib or 
  similar).<BR><BR>Good luck!<BR><BR>Jan<BR><BR>------------- Instruction to 
  build an gcc 3.3.6, using gcc4.xx ---------------------------<BR><BR>Get 
  gcc-core from from GCC Mirrors Page<BR><BR>Compiling GCC-3.3.6:<BR><BR>Untar 
  the source then configure with:<BR>./configure --prefix=/opt/gcc33 
  --program-suffix=-3.3<BR>WARNING: Do NOT configure it with the default prefix! 
  It is recommended to compile it with this prefix else you can damage your 
  system!<BR>Now compile it with make bootstrap and after that install it with 
  make install. <BR><BR><BR><BR><BR><BR><BR>Gregory J. Ward wrote: 
  <BLOCKQUOTE cite=mid:96E7552E-4368-413C-99EF-949E639880F4@gmail.com 
  type="cite">Sorry, Erwin.&nbsp; I tried.&nbsp; It isn't easy for me to debug 
    something using a compiler I don't have on a machine I don't have. 
    <BR><BR>-Greg <BR><BR>
    <BLOCKQUOTE type="cite">From: "Erwin Zierler" <A 
      class=moz-txt-link-rfc2396E 
      href="mailto:radiance@rendigo.com">&lt;radiance@rendigo.com&gt;</A> 
      <BR>Date: October 7, 2008 9:56:34 PM PDT <BR><BR>I have tried your patch 
      but it didn't change things really. Out of curiosity I compiled the 
      current head on a 32bit machine (also under Linux) and I get the exact 
      same behavior (using the original 3ds2mgf.c). <BR>So I finally tried an 
      older binary of 3ds2mgf (Radiance 3.6a) on the same system and this one 
      works just fine. Unfortunatly I dont have the sources anymore to see what 
      happens if I compile them <BR>Somehow I get a feeling it might have to do 
      with the gcc version I am using on all these systems nowadays: <BR><BR># 
      gcc --version <BR>gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1) <BR><BR>For all 
      older compilations I am pretty sure I was still using gcc 3.*. <BR>Just in 
      case that helps. <BR>&nbsp;Erwin 
    <BR></BLOCKQUOTE><BR>_______________________________________________ 
    <BR>Radiance-dev mailing list <BR><A class=moz-txt-link-abbreviated 
    href="mailto:Radiance-dev@radiance-online.org">Radiance-dev@radiance-online.org</A> 
    <BR><A class=moz-txt-link-freetext 
    href="http://www.radiance-online.org/mailman/listinfo/radiance-dev">http://www.radiance-online.org/mailman/listinfo/radiance-dev</A> 
    <BR></BLOCKQUOTE><BR><BR><PRE class=moz-signature cols="72">-- 
Dipl.-Ing. Jan Wienold
Project Manager
Fraunhofer-Institut für Solare Energiesysteme
Thermal Systems and Buildings, Lighting and Daylighting
Heidenhofstr. 2, 79110 Freiburg, Germany
Phone: +49(0)761 4588 5133 Fax:+49(0)761 4588 9133
<A class=moz-txt-link-abbreviated href="mailto:jan.wienold@ise.fraunhofer.de">jan.wienold@ise.fraunhofer.de</A>
<A class=moz-txt-link-freetext href="http://www.ise.fraunhofer.de/">http://www.ise.fraunhofer.de</A>

In office: 
Mo,Tue: 8:30-18:00
We,Thu: 8:30-16:00
Fr:  8:30-15:30
</PRE></BLOCKQUOTE></BODY></HTML>