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

Installation problem #47

Open
philippchudalla opened this issue Jun 19, 2020 · 2 comments
Open

Installation problem #47

philippchudalla opened this issue Jun 19, 2020 · 2 comments

Comments

@philippchudalla
Copy link

Hi. It won't let me make the code.
Here is what I get:
gcc -g -I/usr/include -DUSE_PNG -DUSE_JPEG -c main.c -o main.o
main.c: In function ‘tcp_wait_connection’:
main.c:2078:13: error: too many arguments to function ‘perror’
if (s!=0) perror("Error creating new thread: %d", s);
^~~~~~
In file included from main.c:2:
/usr/include/stdio.h:781:13: note: declared here
extern void perror (const char *__s);
^~~~~~
make: *** [makefile:41: main.o] Error 1

@Bigdeath
Copy link

Yes the new update have a problem.

@tom-2015
Copy link
Owner

Yes it should be fprintf instead of perror sorry, try now

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