RTEMS Source Builder | expat is broken on FreeBSD 14.4-p[1-4] (#193)

Chris Johns (@chris) gitlab at rtems.org
Tue Jun 16 23:31:11 UTC 2026



Chris Johns created an issue: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/193

Assignee: Chris Johns

## Summary

Building `expat` fails with:

```
xmlparse.c:72:4: error: XML_GE (for general entities) must be defined, non-empty, either 1 or 0 (0 to disable, 1 to enable; 1 is a common default)
   72 | #  error XML_GE (for general entities) must be defined, non-empty, either 1 or 0 (0 to disable, 1 to enable; 1 is a common default)
      |    ^
xmlparse.c:76:4: error: Either undefine XML_DTD or define XML_GE to 1.
   76 | #  error Either undefine XML_DTD or define XML_GE to 1.
      |    ^
xmlparse.c:5042:14: warning: call to undeclared function 'storeEntityValue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 5042 |       return storeEntityValue(parser, parser->m_encoding, s, end,
      |              ^
xmlparse.c:5124:11: warning: call to undeclared function 'accountingDiffTolerated'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 5124 |     if (! accountingDiffTolerated(parser, tok, s, next, __LINE__,
      |           ^
xmlparse.c:5126:7: warning: call to undeclared function 'accountingOnAbort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 5126 |       accountingOnAbort(parser);
      |       ^
 ...
```

Updating `expat` to versio 2.8.1 fixes the problem

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/193
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260616/a733bd04/attachment-0001.htm>


More information about the bugs mailing list