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

# sk174235 - "ERROR: unknown macro or function TUNNEL_TEST_UDP_MATCH  Error compiling IPv6 flavor" when installing a policy on a Security Gateway

| Property | Value |
|----------|-------|
| Solution ID | sk174235 |
| Date Created | 2021-07-06 |
| Last Modified | 2022-01-30 |
| Technical Level | General |
| Products | SmartConsole |
| Versions | R81 (EOS) |
| OS | Gaia |

## Symptoms

- Installing a policy on a Security Gateway ends with this error:  

```

"/opt/CPsuite-R8X.YY/fw1/lib/base.def", line 567: ERROR: unknown macro or function 
Error compiling IPv6 flavor.
```

<br />

## Solution

This problem was fixed. The fix is included starting from:

* [Check Point R81.10](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk170416&partition=Basic&product=All)
* [Jumbo Hotfix Accumulator for R81](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk170114&partition=Basic&product=All)starting from Take 42
* [Jumbo Hotfix Accumulator for R80.40](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk165456) starting from Take 126
* [Jumbo Hotfix Accumulator for R80.30](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk153152) starting from Take 241
* [Jumbo Hotfix Accumulator for R80.20](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk137592) starting from Take 203

If you choose not to upgrade:
> 1. Back up the file mentioned in the error message on the Security Management Server:  
> `[Expert@hostname:0]# cp $FWDIR/lib/base.def{,.bak}`  
>
> 2. Edit the file:  
> `[Expert@hostname:0]# vi $FWDIR/lib/base.def`  
>
> 3. In the **Secure Client Verification** section:  
> Before the `#endif ` near line **538** , add:  
> `#else `  
> `#define TUNNEL_TEST_UDP_MATCH() 0`
>
> <br />
>
> If you have any issues after modifying the file restore the backup and try the change again:  
>
> `[Expert@hostname:0]# cp $FWDIR/lib/base.def{.bak,}`

---

# 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
