> Source: [sk139174](https://support.checkpoint.com/results/sk/sk139174)

# sk139174 - Policy installation fails with "Error: Inside #ifdef block at end of input"

| Property | Value |
|----------|-------|
| Solution ID | sk139174 |
| Date Created | 2018-11-05 |
| Last Modified | 2023-09-12 |
| Technical Level | Advanced |
| Products | Security Management Server |
| Versions | R81.20, R81.10 (EOS), R81 (EOS) |

## Symptoms

- * Policy installation fails with this error:

  ```
  
  cpp: line N, Error: Inside #ifdef block at end of input, depth = X
  1 error in preprocessor
  Error compiling IPv6 flavor.
  Compilation failed.
  Operation ended with errors.
  ```

* The *$FWDIR/log/cpm.elg* file on the Management Server shows:

  ```
  
   cpp: line XXX, Error: Inside #ifdef block at end of input, depth = 1&CURRENTVERCMP
   1 error in preprocessor&CURRENTVERCMP
    Error compiling IPv6 flavor.&CURRENTVERCMP
    **##MSG_IDENTIFY##**3&2&Compilation failed.&50&<NULL>&1&CURRENTVERCMP
   Operation ended with errors.&CURRENTVERCMP
   **##MSG_IDENTIFY##**8&2&Operation ended with errors.&<NULL>&<NULL>&1&CURRENTVERCMP
  ```

## Cause

The *crypt.def* file was modified with incorrect syntax. For location of these file, see [sk98241](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk98241).

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
