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
I have tried using this make
quadsort.o: quadsort.c quadsort.h gcc -c -Wall -Werror -fPIC quadsort.h gcc -shared -o libquadsort.so quadsort.o
but failed getting error
can you help me out ?
The text was updated successfully, but these errors were encountered:
You need to create a stub to include string.h.
// lib.c #include <string.h> #include "quadsort.h"
Then
gcc -fpic -c lib.c -o lib.o gcc -shared lib.o -o libquadsort.so
thank you
I have tried using this make
quadsort.o: quadsort.c quadsort.h gcc -c -Wall -Werror -fPIC quadsort.h gcc -shared -o libquadsort.so quadsort.o
but failed getting error
![image](https://cdn.statically.io/img/user-images.githubusercontent.com/46296608/219830884-16dfb555-fb24-4c18-a71f-4fc17d837a49.png)
can you help me out ?
The text was updated successfully, but these errors were encountered: