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

Does not compile #5

Open
jonalf opened this issue Jan 28, 2018 · 2 comments
Open

Does not compile #5

jonalf opened this issue Jan 28, 2018 · 2 comments

Comments

@jonalf
Copy link

jonalf commented Jan 28, 2018

See error message below, fix and advise:

dw@homer:~/enterprise/10/cruseJ-cuencaG-kinoshitaN$ make
gcc -c color_client.c
gcc -c color_func.c
gcc -c networking.c
gcc -o color_client color_client.o color_func.o networking.o
gcc -c color_server.c
gcc -o color_server color_server.o networking.o
gcc -c scroll_client.c
gcc -c scroll_func.c
gcc -o scroll_client scroll_client.o scroll_func.o networking.o
gcc -c scroll_server.c
gcc -o scroll_server scroll_server.o networking.o
gcc -c memory_client.c
memory_client.c: In function ‘sighandler’:
memory_client.c:4:12: error: ‘SIGINT’ undeclared (first use in this function)
if (i == SIGINT) {
^

@jacruse
Copy link
Collaborator

jacruse commented Jan 29, 2018

I included the necessary header in headers.h and updated it so it runs smoothly on the school machines. I apologize for the inconvenience.

@gracecuenca
Copy link
Owner

Hi Mr. DW,
I also just fixed the for loop initializations so they work on school machines. I'm sorry it's so late, $ make should work 100%.
Grace

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