Compilation errors


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825

    Default Compilation errors

    I am having this stange errors during compilation (pic 16F88):

    \fufba-1 asm 409: address labell duplicated or different in second pass (INT_ENTRY)
    \fufba-1 asm 427:address labell duplicated or different in second pass (List_Start)
    \fufba-1 asm 453:address labell duplicated or different in second pass (Int_Exit)
    \fufba-1 mac 12: address labell duplicated or different in second pass (_23620 OverCreate)
    \fufba-1 mac 12:address labell duplicated or different in second pass (Getbytes)
    \fufba-1 mac 12:address labell duplicated or different in second pass (L00097)
    \fufba-1 mac 12: address labell duplicated or different in second pass (_TimeOut)
    \fufba-1 mac 12:address labell duplicated or different in second pass (_GetADC)
    \fufba-1 mac 12:address labell duplicated or different in second pass (L00099)
    \fufba-1 mac 12: address labell duplicated or different in second pass (L00100)
    \fufba-1 mac 12:address labell duplicated or different in second pass (_Main)
    \fufba-1 mac 12:address labell duplicated or different in second pass (L00101)


    These errors appear only with the following includes:

    INCLUDE "DT_INTS-14.bas"
    INCLUDE "ReEnterPBP.bas"

    Removing both the includes the program compiles without any error, removing only INCLUDE "ReEnterPBP.bas" program still compiles correctly, but gives the warning that ReEnterPBP is missing.(naturally)

    program take 2700 words with all the includes, so space should not be an issue since pic 16F88 has over 4000 words space.

    Any work around so that I could use DT interrupts also with this program?

    Thank you for the attention.

    Al.
    All progress began with an idea

  2. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    This may not help. But I can recreate the first 3 errors, if I add a line like this in my code:

    Code:
    INCLUDE "DT_INTS-14.bas"
    INCLUDE "ReEnterPBP.bas"
    ASM
    INT_LIST  macro   ;IntSource,Label,Type,ResetFlag?
            INT_Handler  RBC_INT,  _BChange, PBP, yes                  
        endm
        INT_CREATE
        INT_CREATE
    ENDASM
    @ INT_ENABLE RBC_INT
    BChange:
    I have not figured out how to get your other errors though. I do recall someone recently "breaking" Darrels interrupts, but I can't seem to find that thread. Darrel did a rewrite to make it compatible with this guys code, and or chip. I notice that he has v 1.10 on his web page. I was using v 1.00. So if you are not using the latest, you might try that as well. You might also check that both DT_INTS-14.bas and ReEnterPBP.bas are the same version.
    Last edited by ScaleRobotics; - 8th September 2010 at 13:47.
    http://www.scalerobotics.com

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Default

    Hi, Aratti

    First check you have the latest release ...

    http://darreltaylor.com/DT_INTS-14/intro.html

    BTW MPLAB is now 8.56 ...

    Alain
    Last edited by Acetronics2; - 8th September 2010 at 13:57.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default

    Thank you scalerobotics & Alain for your prompt answer and the right suggestion.

    Yes I was using DT_INTS-14 version 1.0 the latest is 1.1.
    With the new version (1.1), after the adjustment of the WSAVE variable the program did compile without any errors.

    A special thank to Darrel Taylor for the Version 1.1.

    Al.
    All progress began with an idea

  5. #5
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by scalerobotics View Post
    . I do recall someone recently "breaking" Darrels interrupts, but I can't seem to find that thread. Darrel did a rewrite to make it compatible with this guys code
    That'd be me, post 48 onwards in this thread

    http://www.picbasic.co.uk/forum/show...t=13558&page=2

    "Complete n00b 'breaks DT's universally adopted & amazing interrupt routine' shocker"
    Last edited by HankMcSpank; - 8th September 2010 at 15:15.

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts