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

2.3.2 fails to build #20

Closed
Code7R opened this issue Jan 24, 2015 · 1 comment
Closed

2.3.2 fails to build #20

Code7R opened this issue Jan 24, 2015 · 1 comment

Comments

@Code7R
Copy link

Code7R commented Jan 24, 2015

$ uname -a
Linux zombie 3.18.1+ #5 SMP PREEMPT Sun Dec 21 13:32:40 CET 2014 x86_64 GNU/Linux
$ make
cc -O3 -Wall -Wextra -c -o pigz.o pigz.c
pigz.c: In function ‘cut_short’:
pigz.c:824:9: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
Trace(("termination by user"));
^
pigz.c: In function ‘infchk’:
pigz.c:3066:24: error: ‘EFTYPE’ undeclared (first use in this function)
throw(EFTYPE, "%s: corrupted -- invalid deflate data (%s)",
^
pigz.c:3066:24: note: each undeclared identifier is reported only once for each function it appears in
pigz.c: In function ‘unlzw’:
pigz.c:3204:20: error: ‘EFTYPE’ undeclared (first use in this function)
throw(EFTYPE, "%s: lzw premature end", g.inf);
^
pigz.c: In function ‘process’:
pigz.c:3458:28: error: ‘EFTYPE’ undeclared (first use in this function)
throw(EFTYPE, "%s too large -- "
^
: recipe for target 'pigz.o' failed
make: *** [pigz.o] Error 1

@madler
Copy link
Owner

madler commented Jan 24, 2015

Thanks! Fixed.

@madler madler closed this as completed Jan 24, 2015
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

2 participants