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

build fails (cygwin) #120

Closed
mintty opened this issue Jan 30, 2021 · 4 comments
Closed

build fails (cygwin) #120

mintty opened this issue Jan 30, 2021 · 4 comments
Labels

Comments

@mintty
Copy link

mintty commented Jan 30, 2021

no makefile and no configure script, so I tried cmake ., then make:

[ 50%] Building C object CMakeFiles/cmatrix.dir/cmatrix.c.o
/home/towo/tmp/cmatrix/cmatrix.c: In function ‘resize_screen’:
/home/towo/tmp/cmatrix/cmatrix.c:277:10: error: lvalue required as left operand of assignment
277 | COLS = win.ws_col;
| ^
/home/towo/tmp/cmatrix/cmatrix.c:278:11: error: lvalue required as left operand of assignment
278 | LINES = win.ws_row;
| ^
/home/towo/tmp/cmatrix/cmatrix.c:282:15: error: lvalue required as left operand of assignment
282 | LINES = 10;
| ^
/home/towo/tmp/cmatrix/cmatrix.c:285:14: error: lvalue required as left operand of assignment
285 | COLS = 10;
| ^
/home/towo/tmp/cmatrix/cmatrix.c: In function ‘main’:
/home/towo/tmp/cmatrix/cmatrix.c:560:41: error: ‘TIOCSTI’ undeclared (first use in this function)
560 | ioctl(STDIN_FILENO, TIOCSTI, (char*)(str + i));
| ^~~~~~~

@mintty mintty added the Bug label Jan 30, 2021
@abishekvashok
Copy link
Owner

no makefile and no configure script, so I tried cmake ., then make:

Hey, please either make the configure script with autoconf or, use the release version which contains configure script.

@mintty
Copy link
Author

mintty commented Jul 18, 2021

There is no configure script in either the release archive or the repositoy.
autoconf says:
configure.ac:5: error: possibly undefined macro: AM_CONFIG_HEADER
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:135: error: possibly undefined macro: AM_CONDITIONAL

@rashil2000
Copy link
Contributor

This is a duplicate of #40

@abishekvashok
Copy link
Owner

Closing in favor of #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants