Skip to content

can't compile on FreeBSD 10.1 #104

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

Open
larcane opened this issue Jan 18, 2015 · 2 comments
Open

can't compile on FreeBSD 10.1 #104

larcane opened this issue Jan 18, 2015 · 2 comments

Comments

@larcane
Copy link

larcane commented Jan 18, 2015

$ sudo ./ct_install.sh
Password:
Found OpenSSL/1.0.1j, skipping build
Found curl 7.28.1, skipping build
Building ==> clens
make: "/usr/home/foo/downloads/cyphertite-2.0.4/clens/Makefile" line 1: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clens/buildver.sh""
/usr/obj/usr/home/foo/downloads/cyphertite-2.0.4/clens created for /usr/home/foo/downloads/cyphertite-2.0.4/clens
make: "/usr/home/foo/downloads/cyphertite-2.0.4/clens/Makefile" line 1: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clens/buildver.sh""
rm -f .depend
mkdep -f .depend -a -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/clens.c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_buf.c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_uniform.c
make: "/usr/home/foo/downloads/cyphertite-2.0.4/clens/Makefile" line 1: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clens/buildver.sh""
cc -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/clens.c -o clens.o
cc -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_buf.c -o arc4random_buf.o
cc -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_uniform.c -o arc4random_uniform.o
building static clens library
ranlib libclens.a
cc -pg -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/clens.c -o clens.po
cc -pg -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_buf.c -o arc4random_buf.po
cc -pg -O2 -pipe -Wall -Werror -ggdb3 -I/usr/home/foo/downloads/cyphertite-2.0.4/clens/include/clens -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clens/src/arc4random_uniform.c -o arc4random_uniform.po
building profiled clens library
ranlib libclens_p.a
Installing ==> clens
make: "/usr/home/foo/downloads/cyphertite-2.0.4/clens/Makefile" line 1: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clens/buildver.sh""
install -C -o root -g wheel -m 444 libclens.a /usr/local/lib
install -C -o root -g wheel -m 444 libclens_p.a /usr/local/lib
install -d -m 0755 /usr/local/include/clens
install -m 444 -o root -g wheel clens/clens.h /usr/local/include/clens/clens.h
Building ==> clog
make: "/usr/home/foo/downloads/cyphertite-2.0.4/clog/Makefile" line 44: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clog/buildver.sh""
/usr/obj/usr/home/foo/downloads/cyphertite-2.0.4/clog created for /usr/home/foo/downloads/cyphertite-2.0.4/clog
make: "/usr/home/foo/downloads/cyphertite-2.0.4/clog/Makefile" line 44: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clog/buildver.sh""
rm -f .depend
mkdep -f .depend -a -I/usr/home/foo/downloads/cyphertite-2.0.4/clog -I/usr/local/include -std=gnu99 /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c
make: "/usr/home/foo/downloads/cyphertite-2.0.4/clog/Makefile" line 44: warning: Couldn't read shell's output for "sh "/usr/home/foo/downloads/cyphertite-2.0.4/clog/buildver.sh""
cc -O2 -pipe -Wall -Werror -g -I/usr/home/foo/downloads/cyphertite-2.0.4/clog -I/usr/local/include -std=gnu99 -Qunused-arguments -fstack-protector -c /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c -o clog.o
In file included from /usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:19:
/usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.h:106:1: error: unknown type name '__dead'
__dead void clog_fatal(const char );
^
/usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.h:106:8: error: expected identifier or '('
__dead void clog_fatal(const char *);
^
/usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.h:107:1: error: unknown type name '__dead'
__dead void clog_fatalx(const char *, ...);
^
/usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.h:107:8: error: expected identifier or '('
__dead void clog_fatalx(const char *, ...);
^
/usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:91:2: error: implicit declaration of function 'gettimeofday' is invalid
in C99 [-Werror,-Wimplicit-function-declaration]
gettimeofday(&clog_start_of_day, NULL);
^
/usr/home/foo/downloads/cyphertite-2.0.4/clog/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);
^
/usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:383:1: error: unknown type name '__dead'
__dead void
^
/usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:383:8: error: expected identifier or '('
__dead void
^
/usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:398:1: error: unknown type name '__dead'
__dead void
^
/usr/home/foo/downloads/cyphertite-2.0.4/clog/clog.c:398:8: error: expected identifier or '('
__dead void
^
/usr/home/foo/downloads/cyphertite-2.0.4/clog/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/foo/downloads/cyphertite-2.0.4/clog


** ERROR **


Make failed for 'clog'.

$ uname -a
FreeBSD bar 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64

$ gcc --version
gcc (FreeBSD Ports Collection) 4.9.3 20150107 (prerelease)
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

( I also tried gcc version 4.8.4, same result )

@larcane larcane changed the title can' t compielad can't compile on FreeBSD 10.1 Jan 18, 2015
@SirHumphreyAppleby
Copy link

I'd also like to see a functional FreeBSD port.

Currently running a Linux VM just for Cyphertite, but FreeBSD is my preferred platform. Having a variety of systems to maintain (at home, unpaid) is a pain.

@Freaky
Copy link

Freaky commented Apr 3, 2015

Confirmed on 10.1-STABLE #0 r280312: Sat Mar 21 05:57:03 GMT 2015

No response on this? :/

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

3 participants