rmk file goes crazy.

rmk file goes crazy.

Postby hag » Fri Mar 04, 2011 7:55 am

I have several directories for separate products. All the rmk files are almost identical except for the prgs and obj's.
One directory compiles perfect.
Now another directory that I've been compiling over and over for weeks now comes up with a message
brcc32 /r cashteam.rc "brcc32" is not recognized as internal or external program etc.

Here is the code of the rmk file
There is nothing in the rmk file that calls brcc32.

Help.

Code: Select all  Expand view
HBDIR=e:\harbour
BCDIR=c:\borland\bcc55
FWDIR=e:\fwh89

#HBDIR=f:\harbour1009
#FWDIR=f:\fwh1009

#change these paths as needed

.path.OBJ = .\obj
.path.PRG = .\
.path.CH  = $(FWDIR)\include;$(HBDIR)\include
.path.C   = .\
.path.rc  = .\

#important: Use Uppercase for filenames extensions, in the next two rules!

PRG =       \
CASHVER3.PRG\
network.PRG \
head1.PRG   \
airrpt.PRG  \
con13wk1.PRG    \
msgDate.PRG \
newinv.PRG      \
13jbrow.PRG     \
13five.PRG      \
gl3_13.PRG      \
gl13.PRG    \
drill13.PRG     \
window.PRG      \
tabs.PRG    \
compdril.PRG\
xbrowse.PRG \
NEWGRAPH.PRG\
13WEEK.PRG  \
ACTBAL1.PRG \
ACTBRW.PRG  \
ACTUALPL.PRG\
ACTVSPLA.PRG\
ALLPRN.PRG  \
ASCBAL.PRG  \
ASCBAL5.PRG \
ASCBAL6.PRG \
ASCII.PRG       \
BALANCE.PRG \
BALBROWS.PRG\
BALBRW.PRG  \  
BANKER.PRG  \
BASE2.PRG     \
BREVEN1.PRG \
BSAUDIT1.PRG\
BUDGET.PRG  \
BYPRODCO.PRG\
CALC.PRG        \
CASHFLW1.PRG\
CASHIN.PRG  \
CEDLI.PRG       \
CFBROWSE.PRG\
CFTOTAL.PRG \
CONCONS.PRG \
CONSOL.PRG  \
CONSOLRE.PRG\
CONTBAL1.PRG\
CONTBAL2.PRG\
CONTBAL3.PRG\
CONTBAL4.PRG\
CONTBAL5.PRG\
CONTRAC2.PRG\
CONTRACT.PRG\
CONVERT.PRG \
COPY1.PRG   \
COPYANOT.PRG\
COSTALLO.PRG\
COSTDATA.PRG\
COSTPAY.PRG \
COSTPROD.PRG\
COSTSALE.PRG\
CST.PRG     \
CUST.PRG      \
DEFERRAL.PRG\
DEPOSITS.PRG\
DEPRE1.PRG  \  
EDITCELL.PRG\
EOQ.PRG         \
EQUIP.PRG       \
EXP1.PRG    \
EXP2.PRG      \
EXPALLOC.PRG\
EXPCF.PRG       \
EXPLAIN.PRG \
EXPTWO.PRG  \
Errsysw.PRG  \
FASTCALC.PRG\
FINANCE.PRG \
FIVECOL.PRG \
FIVEYEAR.PRG\
FIX.PRG         \
FIXGL.PRG       \
FIXMEM.PRG  \
FIXVARCS.PRG\
GL2.PRG         \
GL2WEEK.PRG \
GL3.PRG     \
GL4.PRG     \
GL5.PRG         \
GL6.PRG         \
GLOSSARY.PRG\
GLRO.PRG      \
GLREG.PRG     \
IMPORT1.PRG \
IMPTACYR.PRG\
IMPTMTH.PRG \
IMPSEP.PRG  \
INDIRECT.PRG\
INVNTORY.PRG\
INDEXPAG.PRG    \
JBROWSE.PRG \
JCONTROL.PRG\
JOINTVEN.PRG\
LAUNCHF5.PRG\
LAUNCHF6.PRG\
LENDING.PRG \
LISTDELE.PRG\
LISTDELP.PRG\
LOCATOR.PRG \              
MATCH.PRG       \
MISCBROW.PRG\
MORECED.PRG \
MTHDATA.PRG \
MTHSEP.PRG  \
MULTI1.PRG  \              
NEWWIN2.PRG \
NEWWIN3.PRG \
NEWWIN4.PRG \
NEWWIN5.PRG \
NEWWIN6.PRG \
NEWBANKE.PRG\
NEWBREVE.PRG\
NEWCONSO.PRG\
NEWCONT.PRG \
NEWDRILL.PRG\
NEWFIVE.PRG \
NEWFRESH.PRG\  
NEWRATIO.PRG\
NEWREGIS.PRG\
NEWSALES.PRG\
NEWTAX.PRG  \
NEWUNIT.PRG \
NEWWIZ.PRG  \
NEWTRANS.PRG\
NEWWIN.PRG  \
NFIX.PRG        \
OPENDBF.PRG \
OTHERAP.PRG \
OTHERPRG.PRG\
OVER.PRG        \
PAYROLL.PRG \
PLAN2.PRG       \
PLAN3.PRG       \
PLEDIT.PRG  \
PRICE.PRG     \
PRNEXPCF.PRG\
PRNSALES.PRG\
PSPREAD1.PRG\
QUICKPRI.PRG\
RANDY1.PRG  \
RATIONEW.PRG\
REVANALY.PRG\
ROLLIT.PRG  \  
ROLLOVER.PRG\
SALEASST.PRG\
SALEDRIL.PRG\
SALEPROD.PRG\
SALESBY.PRG \
SERIAL.PRG  \
SETCHART.PRG\
TERMBROW.PRG\
TFIX.PRG        \
TGRAPH.PRG  \
TOTAL.PRG       \
TXTFILE.PRG \
UTIL.PRG        \  
WINSALAR.PRG\
XNOTE.PRG     \
EVA.PRG         \
ZSCORE.PRG  \
REFORMAT.PRG\
FAKE.PRG


# removed working problems

# WINGRAPH.PRG
# LOTTO.PRG (not in win.lnk)
# GLLR.PRG     
# NEWDRIVE.PRG
# BSAUDIT.PRG
# GL7.PRG       \
# msgDate.PRG   \

# set up fake.prg to handle missing functions

#C =      
#two.C            

PROJECT    : cashteam.exe


cashteam.exe  : $(PRG:.PRG=.OBJ) $(C:.C=.OBJ) cashteam.res

     echo off
       
     echo $(BCDIR)\lib\c0w32.obj + > b32.bc
     echo obj\CASHVER3.obj \
   obj\network.obj  \
   obj\head1.obj    \
   obj\msgDate.obj     \
   obj\con13wk1.obj    \
   obj\airrpt.obj       \
   obj\newinv.obj      \
   obj\13jbrow.obj     \
   obj\13five.obj      \
   obj\gl13.obj        \
   obj\gl3_13.obj      \
   obj\drill13.obj       \
   obj\tabs.obj        \
   obj\reformat.obj    \
   obj\compdril.obj    \
   obj\xbrowse.obj     \
   obj\NEWGRAPH.obj    \
   obj\errsysw.obj     \
   obj\GLREG.obj         \
   obj\indexpag.obj    \
   obj\newwin2.obj     \
   obj\newwin3.obj     \
   obj\newwin4.obj     \
   obj\newwin5.obj     \
   obj\newwin6.obj     \
   obj\allprn.obj      \
     obj\zscore.obj          \
     obj\13WEEK.obj      \
     obj\ACTBAL1.obj     \
     obj\ACTBRW.obj          \
   obj\actualpl.obj      \
   obj\ACtvSPLA.obj      \
   obj\ASCBAL.obj            \
   obj\ASCBAL5.obj       \
     obj\ASCBAL6.obj         \
     obj\ASCII.obj       \
     obj\BALANCE.obj         \
     obj\BALBROWS.obj    \
   obj\BALBRW.obj        \
   obj\BANKER.obj        \
   obj\BASE2.obj             \
   obj\BREVEN1.obj       \
     obj\BSAUDIT1.obj    \
     obj\BUDGET.obj      \
     obj\BYPRODCO.obj        \
   obj\CALC.obj          \
   obj\CASHFLW1.obj    \                   
   obj\CASHIN.obj        \
   obj\CEDLI.obj         \
   obj\CFBROWSE.obj      \
   obj\CFTOTAL.obj       \
     obj\CONCONS.obj         \
     obj\CONSOL.obj      \
     obj\CONSOLRE.obj    \
     obj\CONTBAL1.obj        \
     obj\CONTBAL2.obj    \
     obj\CONTBAL3.obj    \
     obj\CONTBAL4.obj    \
     obj\CONTBAL5.obj    \
   obj\CONTRAC2.obj      \
   obj\CONTRACT.obj      \
   obj\CONVERT.obj       \
   obj\COPY1.obj             \
     obj\COPYANOT.obj    \
     obj\COSTALLO.obj    \
     obj\COSTDATA.obj    \
     obj\COSTPAY.obj     \
   obj\COSTPROD.obj      \
   obj\COSTSALE.obj      \
   obj\CST.obj           \
   obj\CUST.obj              \
   obj\DEFERRAL.obj      \
   obj\DEPOSITS.obj      \
   obj\DEPRE1.obj        \
   obj\EDITCELL.obj      \
     obj\EOQ.obj             \
     obj\EQUIP.obj       \
     obj\EXP1.obj        \
     obj\EXP2.obj                \
   obj\EXPALLOC.obj      \
   obj\EXPCF.obj         \
   obj\EXPLAIN.obj       \
   obj\EXPTWO.obj            \
   obj\FASTCALC.obj      \
   obj\FINANCE.obj       \
   Obj\FIVECOL.obj       \
   Obj\FIVEYEAR.obj      \
     obj\FIX.obj             \
     obj\FIXGL.obj       \
     obj\FIXMEM.obj      \
     obj\FIXVARCS.obj        \
   obj\GL2.obj           \
   obj\GL2WEEK.obj       \
   obj\GL3.obj           \
   obj\GL4.obj               \
   obj\GL5.obj           \
   obj\GL6.obj           \
     obj\GLOSSARY.obj    \
     obj\GLRO.obj                \
   obj\IMPORT1.obj       \
   obj\IMPTACYR.obj      \
   obj\IMPTMTH.obj       \
   obj\INDIRECT.obj      \
   obj\INVNTORY.obj      \
   obj\JBROWSE.obj       \
   obj\JCONTROL.obj      \
     obj\JOINTVEN.obj    \
     obj\LAUNCHF5.obj    \
     obj\LAUNCHF6.obj    \
     obj\LENDING.obj     \
   obj\LISTDELE.obj      \
   obj\LISTDELP.obj      \
   obj\LOCATOR.obj     \
   obj\MATCH.obj         \
   obj\MISCBROW.obj      \
   obj\MORECED.obj       \
   obj\MTHDATA.obj       \
     obj\MTHSEP.obj      \
     obj\MULTI1.obj      \          
   obj\NEWBANKE.obj      \
   obj\NEWBREVE.obj      \
   obj\NEWCONSO.obj      \
   obj\NEWCONT.obj       \
   obj\NEWDRILL.obj      \
   obj\NEWFIVE.obj       \
   obj\NEWFRESH.obj      \
     obj\NEWRATIO.obj    \
     obj\NEWREGIS.obj    \
     obj\NEWSALES.obj    \
   obj\NEWTAX.obj        \
   obj\NEWUNIT.obj       \
   obj\NEWWIZ.obj            \
   obj\NFIX.obj          \
   obj\OPENDBF.obj       \
   obj\OTHERAP.obj       \
   obj\OTHERPRG.obj      \
     obj\OVER.obj        \
     obj\PAYROLL.obj     \
     obj\PLAN2.obj       \
     obj\PLAN3.obj           \
   obj\PLEDIT.obj        \
   obj\PRICE.obj         \
   obj\PRNEXPCF.obj      \
   obj\PRNSALES.obj      \
   obj\PSPREAD1.obj      \
   obj\QUICKPRI.obj      \
   obj\RANDY1.obj        \
   obj\RATIONEW.obj      \
     obj\REVANALY.obj    \
     obj\ROLLIT.obj      \
     obj\ROLLOVER.obj    \
     obj\SALEASST.obj        \
   obj\SALEDRIL.obj      \
   obj\SALEPROD.obj      \
   obj\SALESBY.obj       \
   obj\SERIAL.obj        \
   obj\SETCHART.obj      \
   obj\TERMBROW.obj      \
   obj\TFIX.obj          \
     obj\tgraph.obj          \
   obj\TOTAL.obj             \
     obj\TXTFILE.obj         \
     obj\UTIL.obj        \
     obj\IMPSEP.obj      \          
     obj\WINSALAR.obj        \
     obj\XNOTE.obj       \
     obj\EVA.obj         \
     obj\newtrans.obj    \
     obj\newwin.obj          \
   obj\window.obj      \
     obj\fake.obj,  + >> b32.bc


               
   echo cashteam.exe, + >> b32.bc
     echo cashteam.map, + >> b32.bc
       
   echo $(FWDIR)\lib\FiveH.lib $(FWDIR)\lib\FiveHC.lib + >> b32.bc
   echo $(HBDIR)\lib\hbrtl.lib   + >> b32.bc
   echo $(HBDIR)\lib\hbvm.lib    + >> b32.bc
   echo $(HBDIR)\lib\gtgui.lib   + >> b32.bc
   echo $(HBDIR)\lib\hblang.lib  + >> b32.bc
   echo $(HBDIR)\lib\hbmacro.lib + >> b32.bc
   echo $(HBDIR)\lib\hbrdd.lib   + >> b32.bc
   echo $(HBDIR)\lib\rddntx.lib  + >> b32.bc
   echo $(HBDIR)\lib\rddcdx.lib  + >> b32.bc
   echo $(HBDIR)\lib\rddfpt.lib  + >> b32.bc
   echo $(HBDIR)\lib\hbsix.lib   + >> b32.bc
   echo $(HBDIR)\lib\hbdebug.lib + >> b32.bc
   echo $(HBDIR)\lib\hbcommon.lib+ >> b32.bc
     echo $(HBDIR)\lib\hbpp.lib    + >> b32.bc
   echo $(HBDIR)\lib\hbcT.lib    + >> b32.bc
     echo $(HBDIR)\lib\hbcpage.lib + >> b32.bc
     echo $(HBDIR)\lib\hbw32.lib   + >> b32.bc
       
     #rem harbour 1009 
   #rem echo $(HBDIR)\lib\hbwin.lib + >> b32.bc
     #rem echo $(HBDIR)\lib\hbcplr.lib + >> b32.bc
   #rem echo $(HBDIR)\%GT%.lib + >> b32.bc
       
     #rem Uncomment these two lines to use Advantage RDD
   #rem echo $(HBDIR)\lib\rddads.lib + >> b32.bc
   #rem echo $(HBDIR)\lib\Ace32.lib + >> b32.bc

   echo $(BCDIR)\lib\PSDK\cw32.lib     + >> b32.bc
   echo $(BCDIR)\lib\PSDK\import32.lib + >> b32.bc
   echo $(BCDIR)\lib\PSDK\odbc32.lib   + >> b32.bc
   echo $(BCDIR)\lib\PSDK\nddeapi.lib  + >> b32.bc
   echo $(BCDIR)\lib\PSDK\iphlpapi.lib + >> b32.bc
   echo $(BCDIR)\lib\PSDK\msimg32.lib  + >> b32.bc
     echo $(BCDIR)\lib\PSDK\rasapi32.lib,  >> b32.bc

     # borland 582
       
   #echo $(BCDIR)\lib\cw32.lib     + >> b32.bc
   #echo $(BCDIR)\lib\import32.lib + >> b32.bc
   #echo $(BCDIR)\lib\odbc32.lib   + >> b32.bc
   #echo $(BCDIR)\lib\nddeapi.lib  + >> b32.bc
   #echo $(BCDIR)\lib\iphlpapi.lib + >> b32.bc
   #echo $(BCDIR)\lib\msimg32.lib  + >> b32.bc
   #echo $(BCDIR)\lib\rasapi32.lib,  >> b32.bc
               

   IF EXIST cashteam.res echo cashteam.res >> b32.bc
   $(BCDIR)\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
     del b32.bc

.PRG.OBJ:
  $(HBDIR)\bin\harbour $< /b /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include > clip.log
  $(BCDIR)\bin\bcc32 -c -tWM -I$(HBDIR)\include -oobj\$& obj\$&.c   

.C.OBJ:
  echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
  echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
    $(BCDIR)\bin\bcc32 -oobj\$& @tmp $&.c
  del tmp

 cashteam.res : cashteam.rc
 $(BCDIR)\bin\brc32.exe -r cashteam.rc


Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: rmk file goes crazy. Found cause but can't fix

Postby hag » Fri Mar 04, 2011 8:59 am

I discovered what makes the compiler call for brcc32. It occurs when I change the .rc file and then all recompile have the problem.
I certainly have no clue as to what the cause is or how to fix it. HELP
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: rmk file goes crazy.

Postby Enrico Maria Giordano » Fri Mar 04, 2011 10:10 am

hag wrote:brcc32 /r cashteam.rc "brcc32" is not recognized as internal or external program etc.


There is no "brcc32" in your make file.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8711
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: rmk file goes crazy.

Postby hag » Fri Mar 04, 2011 10:20 am

Thats what is so crazy. If i compile my rc file it produces the message. It seems that the compiler is having a problem compiling the rc file.
If I use an old rc file no problem.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: rmk file goes crazy.

Postby hag » Fri Mar 04, 2011 10:22 am

Enrico:
I don't have a copy of borland bcc55. If you know where i can get a copy i can try an re-install. It is baffleing.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California



Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 80 guests