<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
with this solution I was able to build cvsup with cm3. <br>
<br>
Thanks to all.<br>
<br>
Ronny<br>
<br>
Daniel Alejandro Benavides D. wrote:
<blockquote
 cite="mid20070605023041.71990.qmail@web27105.mail.ukl.yahoo.com"
 type="cite">
  <pre wrap="">Hi,
One of the problems I had when compiling cvsup with
current cm3 on suplib/src/FileAttr.m3 
when calling utime.gettimeofday because of the
definition of the function Utime
<*EXTERNAL*>
PROCEDURE gettimeofday (VAR t: struct_timeval;
                        z: UNTRACED REF
struct_timezone := NIL): int

in the z parameter have changed, the patch was written
before this change in the procedure.

The FileAttr.m3 uses the function on line 746:
EVAL Utime.gettimeofday(times[0], tz);

tz is declared before in line 744:
tz: UNTRACED REF Utime.struct_timezone:=NIL;

The program compiles as explained in the guide:
<a class="moz-txt-link-freetext" href="http://es.geocities.com/dabenavidesd/InstallationGuidecm3-Modula-3.html#SECTION00060000000000000000">http://es.geocities.com/dabenavidesd/InstallationGuidecm3-Modula-3.html#SECTION00060000000000000000</a>

I didnt have any more problems compiling cvsup with 
cm3.

Sorry by the late posting of this issue.


--- John Polstra <a class="moz-txt-link-rfc2396E" href="mailto:jdp@polstra.com"><jdp@polstra.com></a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hmm, actually you may be closer to the right answers
than I was.  I 
don't see how the lack of the patch could explain
some of those errors.

John


Tony Hosking wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Looks like John has the answers...

On Jun 4, 2007, at 11:11 AM, John Polstra wrote:

      </pre>
      <blockquote type="cite">
        <pre wrap="">There is a patch for CVSup that you have to apply
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">before you can build 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">it with cm3.  Look on the cm3 downloads page, and
        </pre>
      </blockquote>
    </blockquote>
    <pre wrap="">you'll find it.
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">John

Ronny Forberger wrote:
        </pre>
        <blockquote type="cite">
          <pre wrap="">Hi there,
since I've been able to build the cm3 compiler
          </pre>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">successfully on Debian 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">Linux 'etch' x86, I'm faced up to some other
          </pre>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">build problem:
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">When trying to build cvsup-snap-16.1h from
          </pre>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">sources using cm3 my build 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">process stops by the following error:
          </pre>
          <blockquote type="cite">
            <pre wrap="">make[2]: Entering directory
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">`/home/rforb/work/cvsup-snap-16.1h/suptcp'
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">cm3
--- building in LINUXLIBC6 ---


Fatal Error: duplicate unit: 
/usr/local/cm3/pkg/tcp/src/POSIX/SockOpt.i3
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">../src/POSIX/SockOpt.i3
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">make[2]: *** [all] Error 1
make[2]: Leaving directory
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">`/home/rforb/work/cvsup-snap-16.1h/suptcp'
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">===> suplib
make[2]: Entering directory
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">`/home/rforb/work/cvsup-snap-16.1h/suplib'
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">cm3
--- building in LINUXLIBC6 ---

new source -> compiling TokScan.i3
"../src/TokScan.i3", line 36: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (IP)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">1 error encountered
new source -> compiling FileAttr.i3
"../src/FileAttr.i3", line 33: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(TokScan)
1 error encountered
new source -> compiling FileAttrRep.i3
"../src/FileAttrRep.i3", line 33: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(FileAttr)
1 error encountered
new source -> compiling FileAttrOS.m3
"../src/POSIX/FileAttrOS.m3", line 31: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">errors (FileAttr)
"../src/POSIX/FileAttrOS.m3", line 31: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">errors (FileAttrRep)
2 errors encountered
new source -> compiling SupFileRec.i3
"../src/SupFileRec.i3", line 36: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(FileAttr)
"../src/SupFileRec.i3", line 37: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(TokScan)
2 errors encountered
new source -> compiling SupMisc.i3
"../src/SupMisc.i3", line 37: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (IP)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">"../src/SupMisc.i3", line 37: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(SupFileRec)
"../src/SupMisc.i3", line 39: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (SupTCP)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">3 errors encountered
new source -> compiling PathComp.m3
"../src/PathComp.m3", line 33: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(SupMisc)
1 error encountered
new source -> compiling ChannelMux.i3
"../src/ChannelMux.i3", line 33: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (IP)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">"../src/ChannelMux.i3", line 34: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (SupConnFD)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">2 errors encountered
new source -> compiling ChannelMux.m3
"../src/ChannelMux.m3", line 32: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(ChannelMux)
"../src/ChannelMux.m3", line 35: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (IP)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">"../src/ChannelMux.m3", line 35: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (TCP)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">"../src/ChannelMux.m3", line 36: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (SupConnFD)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">4 errors encountered
new source -> compiling AuthMD5.i3
"../src/AuthMD5.i3", line 33: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (IP)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">1 error encountered
new source -> compiling AuthMD5.m3
"../src/AuthMD5.m3", line 31: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(AuthMD5)
"../src/AuthMD5.m3", line 33: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (IP)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">2 errors encountered
new source -> compiling TokScan.m3
"../src/TokScan.m3", line 31: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(TokScan)
"../src/TokScan.m3", line 34: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (IP)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">"../src/TokScan.m3", line 34: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(SupMisc)
3 errors encountered
new source -> compiling DevT.i3
"../src/DevT.i3", line 38: imported interface
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">contains errors (TokScan)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">1 error encountered
new source -> compiling UnixMisc.i3
"../src/UnixMisc.i3", line 35: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (IP)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">1 error encountered
new source -> compiling FileAttr.m3
"../src/FileAttr.m3", line 31: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(FileAttr)
"../src/FileAttr.m3", line 31: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(FileAttrRep)
"../src/FileAttr.m3", line 34: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(DevT)
"../src/FileAttr.m3", line 35: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(SupMisc)
"../src/FileAttr.m3", line 36: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(TokScan)
"../src/FileAttr.m3", line 36: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(UnixMisc)
6 errors encountered
new source -> compiling FileID.i3
"../src/FileID.i3", line 33: imported interface
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(FileAttr)
1 error encountered
new source -> compiling FileID.m3
"../src/FileID.m3", line 31: imported interface
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(FileID)
"../src/FileID.m3", line 34: imported interface
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">contains errors (DevT)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">"../src/FileID.m3", line 34: imported interface
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(FileAttr)
"../src/FileID.m3", line 34: imported interface
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(FileAttrRep)
4 errors encountered
new source -> compiling CVProto.i3
"../src/CVProto.i3", line 33: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(FileAttr)
"../src/CVProto.i3", line 33: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(TokScan)
2 errors encountered
new source -> compiling CVProto.m3
"../src/CVProto.m3", line 35: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(CVProto)
"../src/CVProto.m3", line 38: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(SupMisc)
"../src/CVProto.m3", line 38: imported
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(TokScan)
3 errors encountered
new source -> compiling ErrMsg.m3
"../src/ErrMsg.m3", line 34: unable to find
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">interface (IP)
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">"../src/ErrMsg.m3", line 34: imported interface
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <pre wrap="">contains errors 
    </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">(TokScan)
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->=== message truncated ===



                
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
<a class="moz-txt-link-freetext" href="http://es.voice.yahoo.com">http://es.voice.yahoo.com</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Ronny Forberger
Systemadministrator

elego Software Solutions GmbH           ronny.forberger(at)elegosoft.com
Ohmstraße 9,  10179 Berlin              HRB 77719
Tel.: +49 30 23 45 86 96                Amtsgericht Charlottenburg
Fax:  +49 30 23 45 86 95                Sitz der Gesellschaft: Berlin
<a class="moz-txt-link-freetext" href="http://www.elegosoft.com">http://www.elegosoft.com</a>                Geschäftsführer: Olaf Wagner

Bitte senden Sie Ihre technischen Support-Anfragen an admins(at)elego.de .
</pre>
</body>
</html>