Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 633
    • Issues 633
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 90
    • Merge requests 90
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Issues
  • #1108
Closed
Open
Issue created Jun 25, 2019 by Stephen Morris@stephen

Missing include statement in dnsrps.c

Commit 0771dd3b has introduced a build error on FreeBSD 11. From https://jenkins.isc.org/view/BIND/job/bind9-master-freebsd11-64/1355:

dnsrps.c: In function 'rpsdb_rdataset_disassociate':
dnsrps.c:669:3: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration]
   free(RD_CUR_RR(rdataset));
   ^~~~
dnsrps.c:669:3: error: incompatible implicit declaration of built-in function 'free' [-Werror]
dnsrps.c:669:3: note: include '<stdlib.h>' or provide a declaration of 'free'
dnsrps.c: In function 'rpsdb_rdataset_next':
dnsrps.c:692:3: error: incompatible implicit declaration of built-in function 'free' [-Werror]
   free(RD_CUR_RR(rdataset));
   ^~~~
dnsrps.c:692:3: note: include '<stdlib.h>' or provide a declaration of 'free'
dnsrps.c:729:3: error: incompatible implicit declaration of built-in function 'free' [-Werror]
   free(rr);
   ^~~~
dnsrps.c:729:3: note: include '<stdlib.h>' or provide a declaration of 'free'
dnsrps.c: In function 'rpsdb_rdataset_first':
dnsrps.c:742:3: error: incompatible implicit declaration of built-in function 'free' [-Werror]
   free(RD_CUR_RR(rdataset));
   ^~~~
dnsrps.c:742:3: note: include '<stdlib.h>' or provide a declaration of 'free'
cc1: all warnings being treated as errors
*** Error code 1
Edited Jun 26, 2019 by Michał Kępień
Assignee
Assign to
Time tracking