Page 1 of 1

Error: Too many MAP file names:

PostPosted: Thu Dec 07, 2006 3:38 am
by hua
Hi,
I recompiled TSBrowse 6 source that I've been using all this while with the latest xHB 0.99.61+FWH 2.8 Nov. During the linking stage of the lib into my program I got the following error message
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Too many MAP file names: j:\harbour\xhb096\tsbrowse\lib\sbrowsex.lib


What on earth does it mean and how to solve it?

Thanks

PostPosted: Thu Dec 07, 2006 4:07 am
by RAMESHBABU
Dear Mr.hua

What on earth does it mean and how to solve it?


It is very simple and it means that you have omitted a
comma immediately after the "echo %1.map"

echo c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo c:\fwh\lib\Fivehx.lib c:\fwh\lib\FiveHC.lib + >> b32.bc
..
..


Thats all

Regards to you

- Ramesh Babu P

PostPosted: Thu Dec 07, 2006 5:47 am
by hua
Thank you Ramesh! Your suggestion put me on the right track and I realized that the last of my obj file is missing a comma.

PostPosted: Tue Dec 12, 2006 5:13 am
by areang
Mr. Ramesh

Can you give me the complete your rmk file ?
:lol:
Thank's
Areang

PostPosted: Tue Dec 12, 2006 7:39 am
by RAMESHBABU
Dear Mr.Areang

This is my SbrowseH.LIB's RMAKE file.

http://hyperupload.com/download/0269d1c ... h.rmk.html


Code: Select all  Expand view
// defining language ID
Lang="ENG"

// defining some preprocessor directives for bcc32
Def="__HARBOUR__;HB_API_MACROS;HB_FM_STATISTICS_OFF"

.prg.c:
   c:\xharbour\bin\harbour $< /n  /ic:\fwh\insight\tsbrowse;c:\Fwh\include;c:\xharbour\include > prog.log

.c.obj:
     c:\bcc55\bin\bcc32 -D$(Def) -O2 -c -Ic:\xharbour\include;c:\fwh\include;c:\bcc55\include $<  >> comp.log

TSBrowse.c     : TSBrowse.prg
SBMsgENG.c     : SBMsgEng.prg
TSColumn.c     : TSColumn.prg
TSBtnGet.c     : TSBtnGet.prg
TSGet.c        : TSGet.prg
TSCombo.c      : TSCombo.prg
TSMulti.c      : TSMulti.prg
ScrllBar.c     : ScrllBar.prg
BtnDown.c      : BtnDown.prg
RPreview.c     : RPreview.prg
TMetafil.c     : TMetafil.prg
Scroll.obj     : Scroll.c
TSBrowse.obj   : TSBrowse.c
TSBFuncs.obj   : TSBFuncs.c
SBMsgEng.obj   : SBMsgEng.c
TSColumn.obj   : TSColumn.c
TSBtnGet.obj   : TSBtnGet.c
TSGet.obj      : TSGet.c
TSCombo.obj    : TSCombo.c
TSMulti.obj    : TSMulti.c
ScrllBar.obj   : ScrllBar.c
BtnDown.obj    : BtnDown.c
RPreview.obj   : RPreview.c
TMetafil.obj   : TMetafil.c
GetBtn.obj     : GetBtn.c

TSBrowse.exe   : TSBrowse.obj TSBFuncs.obj TSBtnGet.obj TSGet.obj TSCombo.obj TSMulti.obj
                 Del SbrowseH.lib
                 c:\bcc55\bin\Tlib SBrowseH +TsBrowse      > Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +SBMsgEng     >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +TSBFuncs     >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +TSColumn     >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +TSBtnGet     >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +TSGet        >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +TSCombo      >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +TSMulti      >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +ScrllBar     >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +RPreview     >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +TMetafil     >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +Scroll       >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +GetBtn       >> Lib.log
                 c:\bcc55\bin\Tlib SBrowseH +BtnDown      >> Lib.log
                 copy sbrowseh.lib c:\fwh\lib
                 


Regards to you

- Ramesh Babu P

PostPosted: Tue Dec 12, 2006 3:39 pm
by areang
Mr. Ramesh

Thank's for Reply

How about RMK file for application, can you give me also any sample

I tried to make RMK on bormake (zip file) but get error.

Best regards
Areang

PostPosted: Thu Dec 14, 2006 7:41 am
by hua
areang wrote:How about RMK file for application, can you give me also any sample

Are you referring to rmake's script or borland's make script?

areang wrote:I tried to make RMK on bormake (zip file) but get error.

If you're using a more recent FWH, try to see whether you have a directory called MAKES. Antonio has placed in it 2 make script samples, one for Microsoft and the other for Borland

PostPosted: Thu Dec 14, 2006 10:57 am
by areang
Mr. Hua

I used borland script's, but when application run, the are two window on the screen :

first like dos windows and the other one is my windows application.

can you send me your application borland's make script.

I think, I missed the lines parameter on borland's make script, to disable the dos dialog.

thank's
Best Regards
Areang

PostPosted: Thu Dec 14, 2006 11:00 am
by Antonio Linares
Areang,

Use GTGUI.lib instead of GTWIN.lib

PostPosted: Thu Dec 14, 2006 12:08 pm
by hua
areang wrote:Mr. Hua
can you send me your application borland's make script.


Sure, I'll e-mail it later. In the mean time, here's a checklist of what you need to change in your script in order to use the latest xHarbour
  • replace gtwin.lib with gtgui.lib
  • replace dbfdbt.lib with dbffpt.lib
  • insert hbsix.lib

At least, that what I had to do.

PostPosted: Fri Dec 15, 2006 4:00 am
by areang
Mr.Antonio, Mr.Hua

Thank' for reply

I don't have gtgui.lib on xHarbour\lib dir :cry:
Where is it ?

Thank's
Best Regards
Areang

PostPosted: Fri Dec 15, 2006 6:39 am
by hua
areang wrote:I don't have gtgui.lib on xHarbour\lib dir
Where is it ?


Get the link to download from here, http://fivetechsoft.com/forums/viewtopic.php?t=2486 . Make sure you get [x]Harbour for Nov 06 build

PostPosted: Fri Dec 15, 2006 11:40 am
by areang
Mr. Hua

Thank's to you, great help

Best Regards
Areang