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

make command fails on PC-BSD 10.1 with type and identifier errors #3

Open
sysfu opened this issue May 2, 2014 · 0 comments
Open

make command fails on PC-BSD 10.1 with type and identifier errors #3

sysfu opened this issue May 2, 2014 · 0 comments

Comments

@sysfu
Copy link

sysfu commented May 2, 2014

Trying to build the clog dependency for cyphertite, however getting stuck on these errors below

$ make
Warning: Object directory not changed from original /usr/home/seth/Downloads/clog
cc  -O2 -pipe  -Wall -Werror -g -I/usr/home/seth/Downloads/clog -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector  -c clog.c -o clog.o
In file included from clog.c:19:
/usr/home/seth/Downloads/clog/clog.h:106:1: error: unknown type name '__dead'
__dead void      clog_fatal(const char *);
^
/usr/home/seth/Downloads/clog/clog.h:106:8: error: expected identifier or '('
__dead void      clog_fatal(const char *);
       ^
/usr/home/seth/Downloads/clog/clog.h:107:1: error: unknown type name '__dead'
__dead void      clog_fatalx(const char *, ...);
^
/usr/home/seth/Downloads/clog/clog.h:107:8: error: expected identifier or '('
__dead void      clog_fatalx(const char *, ...);
       ^
clog.c:91:2: error: implicit declaration of function 'gettimeofday' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        gettimeofday(&clog_start_of_day, NULL);
        ^
clog.c:220:4: error: implicit declaration of function 'timersub' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                        timersub(&now, &clog_start_of_day, &elapsed);
                        ^
clog.c:383:1: error: unknown type name '__dead'
__dead void
^
clog.c:383:8: error: expected identifier or '('
__dead void
       ^
clog.c:398:1: error: unknown type name '__dead'
__dead void
^
clog.c:398:8: error: expected identifier or '('
__dead void
       ^
clog.c:437:22: error: implicit declaration of function 'SA_LEN' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        if (getnameinfo(sa, SA_LEN(sa), buf, sizeof(buf), NULL, 0,
                            ^
11 errors generated.
*** Error code 1

Stop.
make: stopped in /usr/home/seth/Downloads/clog
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

No branches or pull requests

1 participant