0
Why does this code doesnt run
error = main program https://code.sololearn.com/cag5A70f9F8A/?ref=app https://code.sololearn.com/cB9PtmEIK517/?ref=app https://code.sololearn.com/cbJ8UJcTjR9F/?ref=app https://code.sololearn.com/cvaEzVjuBGvs/?ref=app
6 odpowiedzi
+ 2
Brian obviously it's part of a project and yes the files are incomplete but from the error logs it seems that SSL_connect() fails, I have no idea why, but the Q is why OP still sends request which causes a segfault (or I might be wrong).
+ 1
In ssl_connect.c, it is missing a # in front of the #include statement.
The other files seem incomplete, as though they were recovered from a hard disk failure or something.
0
Tina
I understand everything you say but "the files are incomplete"
Can you give me example of it
Cause i finished the project
0
Have u tried u losing the standard UTF code to run the code??
0
Source:
https://code.sololearn.com/cEO5cH2d88zu/?ref=app
https://code.sololearn.com/cAinX4poRdgv/?ref=app
https://code.sololearn.com/csgcMXzWvoIG/?ref=app
https://code.sololearn.com/c2uiuHQ48WG5/?ref=app
I was tryin to compile and run butthis the result 👇
ld.lld: error: undefined symbol: main
>>> referenced by crtbegin.c
>>> /data/data/com.termux/files/usr/lib/crtbegin_dynamic.o:(_start_main)
>>> referenced by crtbegin.c
>>> /data/data/com.termux/files/usr/lib/crtbegin_dynamic.o:(_start_main)
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)