Error building ocserv 0.2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 5, 2013 at 10:38 PM, Per Juborg <per at juborg.nu> wrote:
> Hi
> I'm having problems with building OCServ on my Mac OSX 10.8.5
> I get the following message when running make:
> In file included from main.c:30:
> ./system.h:28:1: error: unknown type name 'sighandler_t'
> sighandler_t ocsignal(int signum, sighandler_t handler);

Hello,
 Simply replace sighandler_t with sig_t on that system. I've added a
configure check in master to prevent that issue in the future.

> #define LIST_HEAD(name) \
>         ^
> /usr/include/sys/queue.h:373:9: note: previous definition is here
> #define LIST_HEAD(name, type)                                           \
>         ^

edit src/ccan/list/list.h and add the following:
#undef LIST_HEAD
after the last include. Does that fix the issue you see?

regards,
Nikos



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux