[ZBX-4179] compilation fails on OpenBSD: `NS_DEFAULTPORT' undeclared Created: 2011 Sep 28  Updated: 2017 May 30  Resolved: 2011 Oct 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 1.9.6 (beta)
Fix Version/s: 1.9.8 (beta)

Type: Incident report Priority: Blocker
Reporter: Aleksandrs Saveljevs Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: building, openbsd
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Agent does not compile on OpenBSD 3.9:

$ make install
...
net.c: In function `dns_query':
net.c:430: error: `NS_DEFAULTPORT' undeclared (first use in this function)
net.c:430: error: (Each undeclared identifier is reported only once
net.c:430: error: for each function it appears in.)

Running bootstrap.sh also has complains of its own:

$ ./bootstrap.sh
...
src/Makefile.am:41: directory should not contain `/'
src/Makefile.am:41: directory should not contain `/'

The compilation problem seems to be present in trunk only.



 Comments   
Comment by Aleksandrs Saveljevs [ 2011 Oct 27 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4179 .

Comment by Aleksandrs Saveljevs [ 2011 Oct 31 ]

Fixed in pre-1.9.8 in r22821.

Generated at Thu Apr 18 14:45:24 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.