Sorry to be short on the info I posted...I was hoping the error message 
would be enough to suggest a fix.
I have been running jBase 5.2 on a Windows Server 2008 Foundation R2 for a 
number of years without incident.  I frequently modify and recompile 
programs with no issues...until yesterday!
I haven't restored anything yet, not wanting to make the situation worse.  
I have daily Windows backups to work from if necessary.

As you suggested, I recompiled and recataloged all 472 programs in that  
.bp file.  All of them recompiled and cataloged successfully but 52 failed, 
I assume at the link stage with the following error message.
Source file CASH.ENTRY165 compiled successfully

CASH.ENTRY165
Object CASH.ENTRY165 cataloged successfully
link @C:\Windows\TEMP\jbuild2 >C:\Windows\TEMP\jbuild3 failed , command 
returned
 a code of 1181
LINK : warning LNK4044: unrecognized option '/DWIN32'; ignored
LINK : warning LNK4044: unrecognized option '/MD'; ignored
LINK : warning LNK4044: unrecognized option '/W3'; ignored
LINK : warning LNK4044: unrecognized option '/GR'; ignored
LINK : warning LNK4044: unrecognized option '/EHa'; ignored
LINK : warning LNK4044: unrecognized option '/GF'; ignored
LINK : warning LNK4044: unrecognized option '/F5000000'; ignored
LINK : warning LNK4044: unrecognized option '/D_LARGEFILE_SOURCE'; ignored
LINK : warning LNK4044: unrecognized option '/D_LARGEFILE64_SOURCE'; ignored
LINK : warning LNK4044: unrecognized option '/D_FILE_OFFSET_BITS=64'; 
ignored
LINK : fatal error LNK1181: cannot open input file 
'C:\USERS\DEV\LIB\objdir\FTCM
DLN.obj'
jcompile.exe: C:\Windows\TEMP\jbuild2 deleted
jcompile.exe: C:\Windows\TEMP\jbuild3 deleted
jcompile.exe: Returned an error code of 8
** Unable to rebuild library C:\USERS\DEV\LIB\lib1.dll **

The FTCMDLN file does not exist in my LIB directory, although it does in my 
old backup file. If there is a way to determine what programs reside within 
the old file so I could copy it, and/or, how do I create the input file 
that seems to be missing?

Naturally, the affected files are all daily order processing  ather than 
year-end accounting programs.  This leaves me dead in the water until you 
(no pressure intended) can offer some guidance.
Please let me know if you need any additional info.  
Thanks,
Marc
(201) 334-7038

On Sunday, August 8, 2021 at 9:36:20 PM UTC-4 [email protected] wrote:

> It is a little tough to answer your question - you did not provide very 
> much information. So I will have to guess at a few things:
>
> 1) You say Lib/objdir, so I have to guess you mean Windows? But what 
> version?
> 2) I think error 1811 is likely a linker error - but you did not show us 
> the actual error.
> 3) What version of Windows, if it is Windows?
> 4) What version of the compiler?
> 5) What version of jBASE?
> 6) What did you restore? An entire backup? Part of the system? Was the 
> backup compiled using the same version of Windows and the compiler? 
> 7) What kind of backup?
> 8) Which object code does it say is missing? You should be able to work 
> out the source code that is not compiled from that.
>
> But, in general you can recompile everything and recatalog everything, so 
> long as you have the source code. If you have changed compilers or systems 
> since that backup, it is generally a good idea to recompile and recatalog. 
> And not when the system is live of course. Maybe clear out all the old 
> objects beforehand, though in theory that should not be required.
>
> If you have good backups, then you can try anything as you can always go 
> back to the backup. But I would start by clearing out the object code you 
> restored and doing a BASIC and CATALOG on all the files - that should clear 
> everything up.
>
> Have you considered moving to Linux? The difference is quite big these 
> days. You can also run it on AWS Linux in the cloud - there is no really 
> good reason not to these days.
>
> Jim
>
>
> On Mon, Aug 9, 2021 at 7:36 AM Marc <[email protected]> wrote:
>
>> Help!!?
>>
>> After cataloging a revised program I get a error message that first, 
>> tells me that the program was catalogued successfully, then fails to 
>> rebuild the library saying that an object file can't be found.  Sure 
>> enough, it is in an old backup file but not in the current Lib\objdir 
>> directory.
>>
>> 1) what the heck happened?
>> 2) can I copy the old file to the correct directory and recompile or do I 
>> risk completely messing things up?
>>
>> All help will be appreciated as I'm unable to process a large inventory 
>> file without the updated program....
>>
>> -- 
>> -- 
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>  
>> To post, send email to [email protected]
>> To unsubscribe, send email to [email protected]
>> For more options, visit this group at 
>> http://groups.google.com/group/jBASE?hl=en
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "jBASE" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jbase/e32ef0cf-dd4b-476d-9fc4-dc13fe6ea949n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jbase/e32ef0cf-dd4b-476d-9fc4-dc13fe6ea949n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/e33255d3-f3e8-4dd1-946f-12715e8c77ccn%40googlegroups.com.

Reply via email to