Possible compilation failures due to Anti-Virus software

Date:Archived
Product/Release:LANSA for Windows
Abstract:Errors such as "General failure reading device .." can be generated during a compile in LANSA for Windows when Anti-Virus Checking software is enabled.
Submitted By:LANSA Technical Support

When trying to compile in LANSA for Windows, you may receive an error in the DOS Window like this:

"General failure reading device .."

This problem seem to occur more often in Windows 98 than Windows 2000 or Windows NT.

The error can be related to the fact that an Anti-Virus Checker (such as Norton Antivirus and McAfee virus checker) is being used with the option - "Check All Files" selected.

If your compilation is failing and this option is selected, you can either:

  • Disable that option and select the option to "Check Program Files" only.
  • Or, disable all options so that the antivirus checker will detect no files at the time when the compile is submitted.

Note: This problem is not caused by LANSA for Windows. You should check for updates to your Anti-virus software that may correct this problem.

For example, we have experienced a compilation problem with the Norton antivirus checker software version 6.nn that was fixed in Norton antivirus version 7.0.

If the problem still exists after following the steps above, please check:

  1. That the service pack with MSVCRT*.DLL (provided in the LANSA for Windows CD in the folder Win95NT\MS_fixes) is applied on the pc. Make sure that only 1 full set of these compatible DLLs is included in the LANSA system.
  2. Perform the wmake operation from DOS (i.e.. WMAKE /c /e /a /f drive:\x_win95\x_lansa\x_dev\source\<function name>.mak). If this fails or does not do anything , then the problem is related to the path statement. Check this by typing PATH at the DOS command to see if the Watcom entries are on the path.
  3. If the user is using a Novell network, then there is a known situation whereby Novell changes the path statement. Please refer to your local LANSA technical support group for more details.