Package Details: openvpn-auth-ldap 2.0.4-2

Git Clone URL: https://aur.archlinux.org/openvpn-auth-ldap.git (read-only, click to copy)
Package Base: openvpn-auth-ldap
Description: OpenVPN Auth via LDAP/AD plugin. RFC2307 support.
Upstream URL: https://github.com/threerings/openvpn-auth-ldap
Licenses: BSD
Submitter: k0ste
Maintainer: k0ste
Last Packager: k0ste
Votes: 1
Popularity: 0.000000
First Submitted: 2016-05-29 11:26
Last Updated: 2020-03-19 03:19

Latest Comments

Smoolak commented on 2020-03-18 16:46

Hey, I had the following error:

TRObject.m: In function '-[TRObject isKindOfClass:]':
TRObject.m:106:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
  106 |     for (Class superClass = selfClass; superClass != NULL; superClass = class_getSuperclass(superClass)) {
      |     ^~~
# Maintainer: Shalygin Konstantin <k0ste@k0ste.ru>
TRObject.m:106:5: note: use option '-std=c99', '-std=gnu99', '-std=c11' or '-std=gnu11' to compile your code
make[1]: *** [../Mk/compile.mk:6: TRObject.o] Error 1
make[1]: Leaving directory '/home/admin/.cache/yay/openvpn-auth-ldap/src/openvpn-auth-ldap-auth-ldap-2.0.4/src'
make: *** [Mk/subdir.mk:8: all] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

I fixed it by adding CFLAGS='-std=gnu11' before the ./configure in the PKGBUILD file.