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

What do I do if this error happens? #129

Open
esthicodes opened this issue Feb 24, 2021 · 0 comments
Open

What do I do if this error happens? #129

esthicodes opened this issue Feb 24, 2021 · 0 comments

Comments

@esthicodes
Copy link

~/pset1/mario/mario-less/ $ make mario
clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wshadow mario.c -lcrypt -lcs50 -lm -o mario
/usr/bin/ld: /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crt1.o: in function _start': (.text+0x24): undefined reference to main'
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [: mario] Error 1

Thank you

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

1 participant