I get error when compile the ocserv-0.10-9

cley apoorguitar at gmail.com
Sat Oct 17 07:39:48 PDT 2015


It’s the summary of build options:

version:              0.10.9
  Host type:            x86_64-unknown-linux-gnu
  Install prefix:       /usr/local
  Compiler:             gcc
  CFlags:               -g -O2 -Wall

  PAM auth backend:     yes
  Radius auth backend:  no
  GSSAPI auth backend:  yes
  Anyconnect compat:    yes
  TCP wrappers:         yes
  systemd:              no
  (socket activation)
  seccomp:              yes
  Compression:          yes
  LZ4 compression:      no
  readline:             yes
  libnl3:               yes
  liboath:              no
  glibc (sha2crypt):    yes
  local talloc:         yes
  local protobuf-c:     yes
  local PCL library:    yes
  local libopts:        no
  local http-parser:    yes


The error log:

kkdcp_asn1_tab.c:7:1: error: unknown type name 'asn1_static_node'
 const asn1_static_node kkdcp_asn1_tab[] = {
 ^
kkdcp_asn1_tab.c:8:3: warning: braces around scalar initializer [enabled by default]
   { "KKDCP", 536872976, NULL },
   ^
kkdcp_asn1_tab.c:8:3: warning: (near initialization for 'kkdcp_asn1_tab[0]') [enabled by default]
kkdcp_asn1_tab.c:8:3: warning: initialization makes integer from pointer without a cast [enabled by default]
kkdcp_asn1_tab.c:8:3: warning: (near initialization for 'kkdcp_asn1_tab[0]') [enabled by default]
kkdcp_asn1_tab.c:8:3: error: initializer element is not computable at load time
kkdcp_asn1_tab.c:8:3: error: (near initialization for 'kkdcp_asn1_tab[0]')
kkdcp_asn1_tab.c:8:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:8:3: warning: (near initialization for 'kkdcp_asn1_tab[0]') [enabled by default]
kkdcp_asn1_tab.c:8:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:8:3: warning: (near initialization for 'kkdcp_asn1_tab[0]') [enabled by default]
kkdcp_asn1_tab.c:9:3: warning: braces around scalar initializer [enabled by default]
   { NULL, 1073741836, NULL },
   ^
kkdcp_asn1_tab.c:9:3: warning: (near initialization for 'kkdcp_asn1_tab[1]') [enabled by default]
kkdcp_asn1_tab.c:9:3: warning: initialization makes integer from pointer without a cast [enabled by default]
kkdcp_asn1_tab.c:9:3: warning: (near initialization for 'kkdcp_asn1_tab[1]') [enabled by default]
kkdcp_asn1_tab.c:9:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:9:3: warning: (near initialization for 'kkdcp_asn1_tab[1]') [enabled by default]
kkdcp_asn1_tab.c:9:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:9:3: warning: (near initialization for 'kkdcp_asn1_tab[1]') [enabled by default]
kkdcp_asn1_tab.c:10:3: warning: braces around scalar initializer [enabled by default]
   { "KDC-PROXY-MESSAGE", 536870917, NULL },
   ^
kkdcp_asn1_tab.c:10:3: warning: (near initialization for 'kkdcp_asn1_tab[2]') [enabled by default]
kkdcp_asn1_tab.c:10:3: warning: initialization makes integer from pointer without a cast [enabled by default]
kkdcp_asn1_tab.c:10:3: warning: (near initialization for 'kkdcp_asn1_tab[2]') [enabled by default]
kkdcp_asn1_tab.c:10:3: error: initializer element is not computable at load time
kkdcp_asn1_tab.c:10:3: error: (near initialization for 'kkdcp_asn1_tab[2]')
kkdcp_asn1_tab.c:10:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:10:3: warning: (near initialization for 'kkdcp_asn1_tab[2]') [enabled by default]
kkdcp_asn1_tab.c:10:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:10:3: warning: (near initialization for 'kkdcp_asn1_tab[2]') [enabled by default]
kkdcp_asn1_tab.c:11:3: warning: braces around scalar initializer [enabled by default]
   { "kerb-message", 1610620935, NULL },
   ^
kkdcp_asn1_tab.c:11:3: warning: (near initialization for 'kkdcp_asn1_tab[3]') [enabled by default]
kkdcp_asn1_tab.c:11:3: warning: initialization makes integer from pointer without a cast [enabled by default]
kkdcp_asn1_tab.c:11:3: warning: (near initialization for 'kkdcp_asn1_tab[3]') [enabled by default]
kkdcp_asn1_tab.c:11:3: error: initializer element is not computable at load time
kkdcp_asn1_tab.c:11:3: error: (near initialization for 'kkdcp_asn1_tab[3]')
kkdcp_asn1_tab.c:11:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:11:3: warning: (near initialization for 'kkdcp_asn1_tab[3]') [enabled by default]
kkdcp_asn1_tab.c:11:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:11:3: warning: (near initialization for 'kkdcp_asn1_tab[3]') [enabled by default]
kkdcp_asn1_tab.c:12:3: warning: braces around scalar initializer [enabled by default]
   { NULL, 2056, "0"},
   ^
kkdcp_asn1_tab.c:12:3: warning: (near initialization for 'kkdcp_asn1_tab[4]') [enabled by default]
kkdcp_asn1_tab.c:12:3: warning: initialization makes integer from pointer without a cast [enabled by default]
kkdcp_asn1_tab.c:12:3: warning: (near initialization for 'kkdcp_asn1_tab[4]') [enabled by default]
kkdcp_asn1_tab.c:12:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:12:3: warning: (near initialization for 'kkdcp_asn1_tab[4]') [enabled by default]
kkdcp_asn1_tab.c:12:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:12:3: warning: (near initialization for 'kkdcp_asn1_tab[4]') [enabled by default]
kkdcp_asn1_tab.c:13:3: warning: braces around scalar initializer [enabled by default]
   { "target-domain", 1610637339, NULL },
   ^
kkdcp_asn1_tab.c:13:3: warning: (near initialization for 'kkdcp_asn1_tab[5]') [enabled by default]
kkdcp_asn1_tab.c:13:3: warning: initialization makes integer from pointer without a cast [enabled by default]
kkdcp_asn1_tab.c:13:3: warning: (near initialization for 'kkdcp_asn1_tab[5]') [enabled by default]
kkdcp_asn1_tab.c:13:3: error: initializer element is not computable at load time
kkdcp_asn1_tab.c:13:3: error: (near initialization for 'kkdcp_asn1_tab[5]')
kkdcp_asn1_tab.c:13:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:13:3: warning: (near initialization for 'kkdcp_asn1_tab[5]') [enabled by default]
kkdcp_asn1_tab.c:13:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:13:3: warning: (near initialization for 'kkdcp_asn1_tab[5]') [enabled by default]
kkdcp_asn1_tab.c:14:3: warning: braces around scalar initializer [enabled by default]
   { NULL, 2056, "1"},
   ^
kkdcp_asn1_tab.c:14:3: warning: (near initialization for 'kkdcp_asn1_tab[6]') [enabled by default]
kkdcp_asn1_tab.c:14:3: warning: initialization makes integer from pointer without a cast [enabled by default]
kkdcp_asn1_tab.c:14:3: warning: (near initialization for 'kkdcp_asn1_tab[6]') [enabled by default]
kkdcp_asn1_tab.c:14:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:14:3: warning: (near initialization for 'kkdcp_asn1_tab[6]') [enabled by default]
kkdcp_asn1_tab.c:14:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:14:3: warning: (near initialization for 'kkdcp_asn1_tab[6]') [enabled by default]
kkdcp_asn1_tab.c:15:3: warning: braces around scalar initializer [enabled by default]
   { "dclocator-hint", 536895491, NULL },
   ^
kkdcp_asn1_tab.c:15:3: warning: (near initialization for 'kkdcp_asn1_tab[7]') [enabled by default]
kkdcp_asn1_tab.c:15:3: warning: initialization makes integer from pointer without a cast [enabled by default]
kkdcp_asn1_tab.c:15:3: warning: (near initialization for 'kkdcp_asn1_tab[7]') [enabled by default]
kkdcp_asn1_tab.c:15:3: error: initializer element is not computable at load time
kkdcp_asn1_tab.c:15:3: error: (near initialization for 'kkdcp_asn1_tab[7]')
kkdcp_asn1_tab.c:15:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:15:3: warning: (near initialization for 'kkdcp_asn1_tab[7]') [enabled by default]
kkdcp_asn1_tab.c:15:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:15:3: warning: (near initialization for 'kkdcp_asn1_tab[7]') [enabled by default]
kkdcp_asn1_tab.c:16:3: warning: braces around scalar initializer [enabled by default]
   { NULL, 2056, "2"},
   ^
kkdcp_asn1_tab.c:16:3: warning: (near initialization for 'kkdcp_asn1_tab[8]') [enabled by default]
kkdcp_asn1_tab.c:16:3: warning: initialization makes integer from pointer without a cast [enabled by default]
kkdcp_asn1_tab.c:16:3: warning: (near initialization for 'kkdcp_asn1_tab[8]') [enabled by default]
kkdcp_asn1_tab.c:16:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:16:3: warning: (near initialization for 'kkdcp_asn1_tab[8]') [enabled by default]
kkdcp_asn1_tab.c:16:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:16:3: warning: (near initialization for 'kkdcp_asn1_tab[8]') [enabled by default]
kkdcp_asn1_tab.c:17:3: warning: braces around scalar initializer [enabled by default]
   { NULL, 0, NULL }
   ^
kkdcp_asn1_tab.c:17:3: warning: (near initialization for 'kkdcp_asn1_tab[9]') [enabled by default]
kkdcp_asn1_tab.c:17:3: warning: initialization makes integer from pointer without a cast [enabled by default]
kkdcp_asn1_tab.c:17:3: warning: (near initialization for 'kkdcp_asn1_tab[9]') [enabled by default]
kkdcp_asn1_tab.c:17:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:17:3: warning: (near initialization for 'kkdcp_asn1_tab[9]') [enabled by default]
kkdcp_asn1_tab.c:17:3: warning: excess elements in scalar initializer [enabled by default]
kkdcp_asn1_tab.c:17:3: warning: (near initialization for 'kkdcp_asn1_tab[9]') [enabled by default]
make[4]: *** [kkdcp_asn1_tab.o] Error 1
make[4]: Leaving directory `/root/ocserv-0.10.9/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/ocserv-0.10.9/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/ocserv-0.10.9/src'


More information about the openconnect-devel mailing list