rmake error

rmake error

Postby Ehab Samir Aziz » Fri Jun 20, 2008 8:48 pm

I am using FWH 7.01. I had that error when compiling report demo :
Error :
Code: Select all  Expand view  RUN
h:\COMPILER\clipper\linkers\blinker\BIN\blinker.exe @h:\FWH\samples\report\RepDe
mo.lnk
__   __
(«») («»)       BLINKER DOS Extender and Windows Linker 7.00
    ⌂
   ___                 Blink and you'll miss it !!

Copyright (c) Assembler Software Manufacturers, Inc. 1990-2002
All Rights Reserved. Serial # BR-056840. Fax (804) 784-2357.

BLINKER : 1119 : no main module found
Error RMAKE/R2001  Exit 1: 'h:\COMPILER\clipper\linkers\blinker\BIN\blinker.exe
@h:\FWH\samples\report\RepDemo.lnk'

H:\FWH\SAMPLES\report>rmake repdem32
RMAKE 1.3  Copyright (c) 1989-1991 Nantucket Corp.  All rights reserved.
REPDEM32.RMK(46) Fatal RMAKE/R3012  Syntax error: '@h:\FWH\samples\report\RepDem
o.lnk'


repdem32.rmk
Code: Select all  Expand view  RUN

HARBOUR=h:\harbour
clipper=h:\compiler\clipper\clp52
blinker=h:\COMPILER\clipper\linkers\blinker\BIN
report=h:\FWH\samples\report
BCDIR=h:\bcc55
FWDIR=h:\compiler\clipper\fw


makepath[.obj]=".\objh"


.prg.obj:
   $(HARBOUR)\bin\harbour $< /Oobjh\$*.c /n/w/i$(FWDIR)\include;$(HARBOUR)\include
   $(BCDIR)\bin\bcc32 -c -I$(HARBOUR)\include -oobjh\$*.obj objh\$*.c

RepDemo.obj   : RepDemo.prg
REP02.OBJ     : REP02.PRG
REP03.OBJ     : REP03.PRG
REP12.OBJ     : REP12.PRG
REP05.OBJ     : REP05.PRG
REP04.OBJ     : REP04.PRG
REP09.OBJ     : REP09.PRG
REP07.OBJ     : REP07.PRG
REP15.OBJ     : REP15.PRG
REP08.OBJ     : REP08.PRG
REP06.OBJ     : REP06.PRG
REP10.OBJ     : REP10.PRG
REP13.OBJ     : REP13.PRG
REP11.OBJ     : REP11.PRG
REP21.OBJ     : REP21.PRG
REP20.OBJ     : REP20.PRG
REP16.OBJ     : REP16.PRG
REP19.OBJ     : REP19.PRG
REP17.OBJ     : REP17.PRG
REP14.OBJ     : REP14.PRG
REP18.OBJ     : REP18.PRG
REP01.OBJ     : REP01.PRG
REP22.obj     : REP22.prg
REP23.obj     : REP23.prg


repdemo.exe : repdemo.obj rep01.obj rep02.obj rep03.obj rep05.obj \
              rep06.obj rep07.obj rep08.obj rep09.obj \
              rep10.obj rep11.obj rep12.obj rep13.obj \
              rep14.obj rep15.obj rep16.obj rep17.obj \
              rep18.obj rep19.obj rep20.obj rep21.obj \
              rep22.obj rep23.obj \
              $(FWDIR)\lib\Five.lib $(FWDIR)\lib\FiveC.lib $(report)\RepDemo.lnk RepDemo.rc
   SET LIB=$(FWDIR)\lib;$(CLIPPER)\lib
   SET OBJ=$(report)\objh
   $(blinker)\blinker.exe @$(report)\RepDemo.lnk
   rem link.exe /se:2000 /NOE @msRepDemo.lnk
   $(bcdir)\bin\brc32 -K RepDemo > rc.log
   rem brc RepDemo.rc
   RepDemo


repdemo.lnk
Code: Select all  Expand view  RUN
BLINKER INCREMENTAL OFF

FI REPDEMO, REP02, REP03, REP12, REP05
FI REP04, REP09, REP07, REP15, REP08
FI REP06, REP10, REP13, REP11, REP21
FI REP20, REP16, REP19, REP17, REP14
FI REP18, REP01, REP22, REP23

DEFBEGIN
     name        FiveWin
     description 'Clipper for Windows library'
     exetype     Windows 3.1
     code        preload moveable
     data        preload moveable
     stacksize   10000
     heapsize    8500
DEFEND

LIB FIVE.LIB
LIB FiveC.lib
LIB Objects.lib
LIB WINAPI.LIB
LIB CLIPPER.LIB
LIB EXTEND.LIB
LIB DBFNTX.LIB
LIB TERMINAL.LIB

# Fin fichero.
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby Antonio Linares » Sat Jun 21, 2008 9:05 am

You are trying to use Blinker to build a FWH 32 bits exe! :-)

That make needs to be adapted to 32 bits and use Harbour and ilink32.exe
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

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