Issue compiling ocserv 0.11.0
hshh
hunreal at gmail.com
Sun Feb 21 02:10:31 PST 2016
Hi
I am compiling using the included protobuf.
PS, I can compiled, but can not start. ocserv core dump.
ocserv[47556]: sec-mod: Error in pselect(): Bad file descriptor
ocserv[47555]: error connecting to sec-mod socket
'/var/run/ocserv-socket.47555': Connection refused
ocserv[47555]: main: main.c:1151: libev fatal error: (libev) kevent
On Sun, Feb 21, 2016 at 1:32 AM, Nikos Mavrogiannopoulos
<n.mavrogiannopoulos at gmail.com> wrote:
> On Sat, 2016-02-20 at 23:48 +0800, hshh wrote:
>> Patch for compiling ocserv 0.11.0 on FreeBSD. Tested on FreeBSD 10.2
>> -RELEASE
>>
>> diff -crNu ocserv-0.11.0/src/ctl.pb-c.h ocserv-0.11.0.new/src/ctl.pb
>> -c.h
>> --- ocserv-0.11.0/src/ctl.pb-c.h 2016-01-18 16:08:41.000000000 +0800
>> +++ ocserv-0.11.0.new/src/ctl.pb-c.h 2016-02-20 23:03:46.117722025
>> +0800
>> @@ -4,7 +4,7 @@
>> #ifndef PROTOBUF_C_ctl_2eproto__INCLUDED
>> #define PROTOBUF_C_ctl_2eproto__INCLUDED
>>
>> -#include <protobuf-c/protobuf-c.h>
>> +#include <protobuf/protobuf-c/protobuf-c.h>
>
> Hi,
> This is certainly not correct fix. Are you compiling using the
> included protobuf or the system one?
>
> regards,
> Nikos
>
--
@hshh
More information about the openconnect-devel
mailing list