6 Replies Latest reply: Apr 26, 2011 1:18 AM by omid RSS

make problem with RCCE

omid Community Member
Currently Being Moderated

While trying o make the trunc version of RCCE with SINGLEBITFLAGS=1, the folowing error is recieved:

 

/home/omid/NetBeansProjects/RCCE/include/RCCE_lib.h:153: error: ‘WORDSIZE’ has not been declared
/home/omid/NetBeansProjects/RCCE/include/RCCE_lib.h:153: error: ‘LEFTMOSTBIT’ has not been declared
make: *** [RCCE_admin.o] Error 1

 

I think it should be fixed in the source. Any ideas?


  • 1. Re: make problem with RCCE
    omid Community Member
    Currently Being Moderated

    Note that I configured the rcce for emulator mode.

  • 2. Re: make problem with RCCE
    tedk Community Member
    Currently Being Moderated

    Yes, I think the emulator has an issue in this area. But resources are limited here. If you can suggest a fix that would be helpful. Opening a bug to track the issue and collect information would also be appreciated. As RCCE developed, most work proceeded on the hardware and the emulator lagged behind.

  • 3. Re: make problem with RCCE
    omid Community Member
    Currently Being Moderated

    By comparing the last version of RCCE in TAGS with the TRUNC version, it seems the following change in RCCE_lib.h is able to solve the problem.

     

    In file RCCE_lib.h :

     

    #ifdef SINGLEBITFLAGS
      RCCE_FLAG_STATUS RCCE_bit_value(t_vcharp, int);
      RCCE_FLAG_STATUS RCCE_flip_bit_value(t_vcharp, int);
      int RCCE_write_bit_value(t_vcharp, int, RCCE_FLAG_STATUS);
    #endif

     

    should be modified into :

     

    #ifdef SINGLEBITFLAGS
      extern int            WORDSIZE;
      extern int            LEFTMOSTBIT;
      RCCE_FLAG_STATUS RCCE_bit_value(t_vcharp, int);
      RCCE_FLAG_STATUS RCCE_flip_bit_value(t_vcharp, int);
      int RCCE_write_bit_value(t_vcharp, int, RCCE_FLAG_STATUS);
    #endif

     

    Omid

  • 4. Re: make problem with RCCE
    tedk Community Member
    Currently Being Moderated

    Thank you.

    Is this a change you are submitting for RCCE in the trunk? Have you tried RCCE on hardware with this fix? If you haven't I will. And if it passes our tsts. I check it into the trunk.

  • 5. Re: make problem with RCCE
    tedk Community Member
    Currently Being Moderated

    You know, I'm not even convinced these are needed any longer ... the WORDSIZE and LEFTMOSTBIT. They are in a threadprivate and never seem to be used. Setting them as extern certainly allows make to succeed. But I think we could actually delete them. What do you think?

  • 6. Re: make problem with RCCE
    omid Community Member
    Currently Being Moderated

    I had a second look at the source. I agree with you.

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points