Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile on OpenBSD #25

Open
shtirlic opened this issue Feb 8, 2021 · 2 comments
Open

Can't compile on OpenBSD #25

shtirlic opened this issue Feb 8, 2021 · 2 comments

Comments

@shtirlic
Copy link

shtirlic commented Feb 8, 2021

\_✪_/ make
Compiling md5b.c...
Compiling binkd.c...
Compiling readcfg.c...
Compiling tools.c...
Compiling ftnaddr.c...
Compiling ftnq.c...
Compiling client.c...
Compiling server.c...
Compiling protocol.c...
Compiling bsy.c...
Compiling inbound.c...
Compiling breaksig.c...
Compiling branch.c...
Compiling unix/rename.c...
Compiling unix/getfree.c...
Compiling ftndom.c...
Compiling ftnnode.c...
Compiling srif.c...
Compiling pmatch.c...
Compiling readflo.c...
Compiling prothlp.c...
Compiling iptools.c...
Compiling rfc2553.c...
Compiling run.c...
Compiling binlog.c...
Compiling exitproc.c...
Compiling getw.c...
Compiling xalloc.c...
Compiling crypt.c...
Compiling unix/setpttl.c...
Compiling unix/daemonize.c...
Compiling unix/ns_parse.c...
unix/ns_parse.c:35: error: expected ')' before '*' token
unix/ns_parse.c:46:6: warning: #warning "ns_msg._msg_ptr element not defined"
unix/ns_parse.c:76: error: expected declaration specifiers or '...' before 'ns_sect'
unix/ns_parse.c: In function 'ns_skiprr':
unix/ns_parse.c:85: error: 'NS_INT16SZ' undeclared (first use in this function)
unix/ns_parse.c:85: error: (Each undeclared identifier is reported only once
unix/ns_parse.c:85: error: for each function it appears in.)
unix/ns_parse.c:86: error: 'section' undeclared (first use in this function)
unix/ns_parse.c:86: error: 'ns_s_qd' undeclared (first use in this function)
unix/ns_parse.c:87: error: 'NS_INT32SZ' undeclared (first use in this function)
unix/ns_parse.c:90: warning: implicit declaration of function 'NS_GET16'
unix/ns_parse.c: At top level:
unix/ns_parse.c:100: error: expected declaration specifiers or '...' before 'ns_msg'
unix/ns_parse.c: In function 'ns_initparse':
unix/ns_parse.c:104: error: 'handle' undeclared (first use in this function)
unix/ns_parse.c:107: error: 'NS_INT16SZ' undeclared (first use in this function)
unix/ns_parse.c:113: error: 'ns_s_max' undeclared (first use in this function)
unix/ns_parse.c:122: error: 'ns_sect' undeclared (first use in this function)
unix/ns_parse.c:122: error: expected ')' before 'i'
unix/ns_parse.c:132: warning: implicit declaration of function 'setsection'
unix/ns_parse.c: At top level:
unix/ns_parse.c:137: error: expected ')' before '*' token
unix/ns_parse.c:197: error: expected ')' before '*' token
*** Error 1 in /home/shtirlic/projects/binkd (Makefile:78 'unix/ns_parse.o': @gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VE...)
@pgul
Copy link
Owner

pgul commented Feb 14, 2021

Please show output of ./configure script, a few lines started from checking for ns_initparse.
And full version of OS you're using (uname -a).
Thanks.

@shtirlic
Copy link
Author

...
checking for ns_initparse... no
checking for ns_msg._msg_ptr... no
checking for ns_msg._ptr... no
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking for socklen_t... yes
checking for intmax_t... yes
checking for reliable signals... yes
checking for facilitynames... yes
checking for TIOCNOTTY... yes
checking for MSG_NOSIGNAL... yes
checking for libz... yes: /usr
checking for libbz2... yes: /usr/local
configure: creating ./config.status
config.status: creating Makefile
OpenBSD open-galaxy.local 6.8 GENERIC.MP#4 amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants