[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

5826.0. "Always "INDETERMINATE" when using MCC_EVC_SEND on ALPHA/OSF" by KETJE::PACCO (Horum omnium fortissimi sunt Belgae) Tue Jan 18 1994 05:13

    I recompiled mcc_evc_send on ALPHA.
    
    After some minor modifications to build correctly, now I have the
    following strange problem.
    
    When I send an event, The event appears always with the severity
    "INDETERMINATE".  I debugged the c code but does not see any problem.
    The number of bytes sent, does include the
    	severity tag,
    	severity (word)
    
    Has anybody seen this?
    Has any body sent successfully an event from ALPHA?  In that case,
    is there a place from where I could copy these source files from ?
    
    	Regards,
    	Dominique.
    
T.RTitleUserPersonal
Name
DateLines
5826.1"alpha" was not (well) defined !KETJE::PACCOHorum omnium fortissimi sunt BelgaeWed Jan 19 1994 11:1534
    Having looked with a colleague, I solved the problem doing the
    following:
    
    I edited mcc_evc_api_def.h modifying the following lines, including
    support for "alpha"
    
    ...
    /*
     * If it ain't a VAX or a PDP11 or a MIPS (EL), then assume it's big
    endian.
     */
    #if defined(vax) || defined(pdp11) || (defined(mips) && defined(MIPSEL))
    		|| defined(alpha)
    #define ARCH_LITTLE_ENDIAN
    #else
    #define ARCH_BIG_ENDIAN
    #endif
    
    /*
     * MIPS, 68000, and PDP11s need natural alignment.
     */
    #if defined(mc68000) || defined(mips) || defined(pdp11) || defined(alpha)
    #define ARCH_ALIGNED_REFERENCES
    #endif
    ...
    
    I also added the switch   "-Dalpha" at the end of mcc_evc_send_build.csh
    similar to "-Dunix"
    
    And then I recompiled mcc_evc_send
    This works.
    
    	Regards.