[M3devel] errors building cvsup wih cm3

Ronny Forberger ronny.forberger at elegosoft.com
Thu Jun 7 13:53:48 CEST 2007


Hi,

with this solution I was able to build cvsup with cm3.

Thanks to all.

Ronny

Daniel Alejandro Benavides D. wrote:

>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:
>http://es.geocities.com/dabenavidesd/InstallationGuidecm3-Modula-3.html#SECTION00060000000000000000
>
>I didnt have any more problems compiling cvsup with 
>cm3.
>
>Sorry by the late posting of this issue.
>
>
>--- John Polstra <jdp at polstra.com> wrote:
>
>  
>
>>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:
>>    
>>
>>>Looks like John has the answers...
>>>
>>>On Jun 4, 2007, at 11:11 AM, John Polstra wrote:
>>>
>>>      
>>>
>>>>There is a patch for CVSup that you have to apply
>>>>        
>>>>
>>before you can build 
>>    
>>
>>>>it with cm3.  Look on the cm3 downloads page, and
>>>>        
>>>>
>>you'll find it.
>>    
>>
>>>>John
>>>>
>>>>Ronny Forberger wrote:
>>>>        
>>>>
>>>>>Hi there,
>>>>>since I've been able to build the cm3 compiler
>>>>>          
>>>>>
>>successfully on Debian 
>>    
>>
>>>>>Linux 'etch' x86, I'm faced up to some other
>>>>>          
>>>>>
>>build problem:
>>    
>>
>>>>>When trying to build cvsup-snap-16.1h from
>>>>>          
>>>>>
>>sources using cm3 my build 
>>    
>>
>>>>>process stops by the following error:
>>>>>          
>>>>>
>>>>>>make[2]: Entering directory
>>>>>>            
>>>>>>
>>`/home/rforb/work/cvsup-snap-16.1h/suptcp'
>>    
>>
>>>>>>cm3
>>>>>>--- building in LINUXLIBC6 ---
>>>>>>
>>>>>>
>>>>>>Fatal Error: duplicate unit: 
>>>>>>/usr/local/cm3/pkg/tcp/src/POSIX/SockOpt.i3
>>>>>>            
>>>>>>
>>../src/POSIX/SockOpt.i3
>>    
>>
>>>>>>make[2]: *** [all] Error 1
>>>>>>make[2]: Leaving directory
>>>>>>            
>>>>>>
>>`/home/rforb/work/cvsup-snap-16.1h/suptcp'
>>    
>>
>>>>>>===> suplib
>>>>>>make[2]: Entering directory
>>>>>>            
>>>>>>
>>`/home/rforb/work/cvsup-snap-16.1h/suplib'
>>    
>>
>>>>>>cm3
>>>>>>--- building in LINUXLIBC6 ---
>>>>>>
>>>>>>new source -> compiling TokScan.i3
>>>>>>"../src/TokScan.i3", line 36: unable to find
>>>>>>            
>>>>>>
>>interface (IP)
>>    
>>
>>>>>>1 error encountered
>>>>>>new source -> compiling FileAttr.i3
>>>>>>"../src/FileAttr.i3", line 33: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(TokScan)
>>>>>>1 error encountered
>>>>>>new source -> compiling FileAttrRep.i3
>>>>>>"../src/FileAttrRep.i3", line 33: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(FileAttr)
>>>>>>1 error encountered
>>>>>>new source -> compiling FileAttrOS.m3
>>>>>>"../src/POSIX/FileAttrOS.m3", line 31: imported
>>>>>>            
>>>>>>
>>interface contains 
>>    
>>
>>>>>>errors (FileAttr)
>>>>>>"../src/POSIX/FileAttrOS.m3", line 31: imported
>>>>>>            
>>>>>>
>>interface contains 
>>    
>>
>>>>>>errors (FileAttrRep)
>>>>>>2 errors encountered
>>>>>>new source -> compiling SupFileRec.i3
>>>>>>"../src/SupFileRec.i3", line 36: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(FileAttr)
>>>>>>"../src/SupFileRec.i3", line 37: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(TokScan)
>>>>>>2 errors encountered
>>>>>>new source -> compiling SupMisc.i3
>>>>>>"../src/SupMisc.i3", line 37: unable to find
>>>>>>            
>>>>>>
>>interface (IP)
>>    
>>
>>>>>>"../src/SupMisc.i3", line 37: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(SupFileRec)
>>>>>>"../src/SupMisc.i3", line 39: unable to find
>>>>>>            
>>>>>>
>>interface (SupTCP)
>>    
>>
>>>>>>3 errors encountered
>>>>>>new source -> compiling PathComp.m3
>>>>>>"../src/PathComp.m3", line 33: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(SupMisc)
>>>>>>1 error encountered
>>>>>>new source -> compiling ChannelMux.i3
>>>>>>"../src/ChannelMux.i3", line 33: unable to find
>>>>>>            
>>>>>>
>>interface (IP)
>>    
>>
>>>>>>"../src/ChannelMux.i3", line 34: unable to find
>>>>>>            
>>>>>>
>>interface (SupConnFD)
>>    
>>
>>>>>>2 errors encountered
>>>>>>new source -> compiling ChannelMux.m3
>>>>>>"../src/ChannelMux.m3", line 32: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(ChannelMux)
>>>>>>"../src/ChannelMux.m3", line 35: unable to find
>>>>>>            
>>>>>>
>>interface (IP)
>>    
>>
>>>>>>"../src/ChannelMux.m3", line 35: unable to find
>>>>>>            
>>>>>>
>>interface (TCP)
>>    
>>
>>>>>>"../src/ChannelMux.m3", line 36: unable to find
>>>>>>            
>>>>>>
>>interface (SupConnFD)
>>    
>>
>>>>>>4 errors encountered
>>>>>>new source -> compiling AuthMD5.i3
>>>>>>"../src/AuthMD5.i3", line 33: unable to find
>>>>>>            
>>>>>>
>>interface (IP)
>>    
>>
>>>>>>1 error encountered
>>>>>>new source -> compiling AuthMD5.m3
>>>>>>"../src/AuthMD5.m3", line 31: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(AuthMD5)
>>>>>>"../src/AuthMD5.m3", line 33: unable to find
>>>>>>            
>>>>>>
>>interface (IP)
>>    
>>
>>>>>>2 errors encountered
>>>>>>new source -> compiling TokScan.m3
>>>>>>"../src/TokScan.m3", line 31: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(TokScan)
>>>>>>"../src/TokScan.m3", line 34: unable to find
>>>>>>            
>>>>>>
>>interface (IP)
>>    
>>
>>>>>>"../src/TokScan.m3", line 34: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(SupMisc)
>>>>>>3 errors encountered
>>>>>>new source -> compiling DevT.i3
>>>>>>"../src/DevT.i3", line 38: imported interface
>>>>>>            
>>>>>>
>>contains errors (TokScan)
>>    
>>
>>>>>>1 error encountered
>>>>>>new source -> compiling UnixMisc.i3
>>>>>>"../src/UnixMisc.i3", line 35: unable to find
>>>>>>            
>>>>>>
>>interface (IP)
>>    
>>
>>>>>>1 error encountered
>>>>>>new source -> compiling FileAttr.m3
>>>>>>"../src/FileAttr.m3", line 31: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(FileAttr)
>>>>>>"../src/FileAttr.m3", line 31: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(FileAttrRep)
>>>>>>"../src/FileAttr.m3", line 34: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(DevT)
>>>>>>"../src/FileAttr.m3", line 35: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(SupMisc)
>>>>>>"../src/FileAttr.m3", line 36: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(TokScan)
>>>>>>"../src/FileAttr.m3", line 36: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(UnixMisc)
>>>>>>6 errors encountered
>>>>>>new source -> compiling FileID.i3
>>>>>>"../src/FileID.i3", line 33: imported interface
>>>>>>            
>>>>>>
>>contains errors 
>>    
>>
>>>>>>(FileAttr)
>>>>>>1 error encountered
>>>>>>new source -> compiling FileID.m3
>>>>>>"../src/FileID.m3", line 31: imported interface
>>>>>>            
>>>>>>
>>contains errors 
>>    
>>
>>>>>>(FileID)
>>>>>>"../src/FileID.m3", line 34: imported interface
>>>>>>            
>>>>>>
>>contains errors (DevT)
>>    
>>
>>>>>>"../src/FileID.m3", line 34: imported interface
>>>>>>            
>>>>>>
>>contains errors 
>>    
>>
>>>>>>(FileAttr)
>>>>>>"../src/FileID.m3", line 34: imported interface
>>>>>>            
>>>>>>
>>contains errors 
>>    
>>
>>>>>>(FileAttrRep)
>>>>>>4 errors encountered
>>>>>>new source -> compiling CVProto.i3
>>>>>>"../src/CVProto.i3", line 33: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(FileAttr)
>>>>>>"../src/CVProto.i3", line 33: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(TokScan)
>>>>>>2 errors encountered
>>>>>>new source -> compiling CVProto.m3
>>>>>>"../src/CVProto.m3", line 35: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(CVProto)
>>>>>>"../src/CVProto.m3", line 38: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(SupMisc)
>>>>>>"../src/CVProto.m3", line 38: imported
>>>>>>            
>>>>>>
>>interface contains errors 
>>    
>>
>>>>>>(TokScan)
>>>>>>3 errors encountered
>>>>>>new source -> compiling ErrMsg.m3
>>>>>>"../src/ErrMsg.m3", line 34: unable to find
>>>>>>            
>>>>>>
>>interface (IP)
>>    
>>
>>>>>>"../src/ErrMsg.m3", line 34: imported interface
>>>>>>            
>>>>>>
>>contains errors 
>>    
>>
>>>>>>(TokScan)
>>>>>>            
>>>>>>
>=== message truncated ===
>
>
>
>		
>______________________________________________ 
>LLama Gratis a cualquier PC del Mundo. 
>Llamadas a fijos y móviles desde 1 céntimo por minuto. 
>http://es.voice.yahoo.com
>  
>


-- 
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
http://www.elegosoft.com                Geschäftsführer: Olaf Wagner

Bitte senden Sie Ihre technischen Support-Anfragen an admins(at)elego.de .

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20070607/32ba25ae/attachment-0005.html>


More information about the M3devel mailing list