Open sommerlaut opened 11 years ago
This issue can be resolved by adding the following to ttyload.h
Hi davenull,
thanks, that works for me.
Cheers, Tom
I have also issued a pull request for this fix, once it's merged the build issue will be resolved.
Looks like @lindes fixed this in master but I suppose a new version wasn't cut out.
https://github.com/lindes/ttyload/commit/f9495372801ce4b4dad98ad854203e694c31c1eb
Also once that is out, this PR for getting this package into homebrew should be updated (or changed to a different one, either way).
Please release next version with included time
for fixed ttyload.h
Hi there,
ttyload 0.5.3 seems not to compile anymore (at least on Debian 6 and 7):
root@debian:~/ttyload-0.5.3# make ln -s FreeBSD arch/Darwin ln -s FreeBSD arch/Isilon-OneFS ln -s
uname -s | sed -e 's/ /-/g'
arch/thisarch make archtest ttyload ARCH=uname -s | sed -e 's/ /-/g'
make[1]: Entering directory/root/ttyload-0.5.3' gcc -pedantic -Wall -Werror -I${PWD:-.} -I${PWD:-.}/arch/Linux -I${PWD:-.}/arch/ default -g -DVERSION='"'
cat Version'"' -o arch/Linux/getload.o -c arch/Linux/ getload.c In file included from arch/Linux/getload.c:7:0: /root/ttyload-0.5.3/ttyload.h:34:9: error: unknown type name ‘time_t’ make[1]: *** [arch/Linux/getload.o] Error 1 make[1]: Leaving directory
/root/ttyload-0.5.3' make: *\ [archbuild] Error 2 root@debian:~/ttyload-0.5.3#ttyload 0.5.2 compiles without errors on the same system:
root@debian:~/ttyload-0.5.2# make ln -s FreeBSD arch/Darwin ln -s FreeBSD arch/Isilon-OneFS ln -s
uname -s | sed -e 's/ /-/g'
arch/thisarch make archtest ttyload ARCH=uname -s | sed -e 's/ /-/g'
make[1]: Entering directory/root/ttyload-0.5.2' gcc -pedantic -Wall -Werror -I${PWD:-.} -I${PWD:-.}/arch/Linux -I${PWD:-.}/arch/ default -g -DVERSION='"'
cat Version'"' -o arch/Linux/getload.o -c arch/Linux/ getload.c gcc -pedantic -Wall -Werror -I${PWD:-.} -I${PWD:-.}/arch/Linux -I${PWD:-.}/arch/ default -g -DVERSION='"'
cat Version'"' -o arch/Linux/terminfo.o -c arch/Linux /terminfo.c gcc -pedantic -Wall -Werror -I${PWD:-.} -I${PWD:-.}/arch/Linux -I${PWD:-.}/arch/ default -g -DVERSION='"'
cat Version'"' -o archtest.o -c archtest.c gcc -pedantic -Wall -Werror
./ldflags-o archtest arch/Linux/getload.o arch/Li nux/terminfo.o archtest.o gcc -pedantic -Wall -Werror -I${PWD:-.} -I${PWD:-.}/arch/Linux -I${PWD:-.}/arch/ default -g -DVERSION='"'
cat Version'"' -o ttyload.o -c ttyload.c gcc -pedantic -Wall -Werror
./ldflags-o ttyload arch/Linux/getload.o arch/Lin ux/terminfo.o ttyload.o make[1]: Leaving directory
/root/ttyload-0.5.2' root@debian:~/ttyload-0.5.2#Thanks in advance for any solution or any hint.
Cheers, Tom