« first day (2408 days earlier)      last day (531 days later) » 

11:56 AM
Hello, can you check this please @louigi600 @tripleee?
0
Q: GCC Static Link Error "undefined reference to `pthread_once'"

ErikliI want to compile an C program but it gives me an weird error when I try to run it with "-static" arg. I'm running these args -static -lssl -lcrypto -ldl -Wl,--whole-archive -lpthread -Wl,--no-whole-archive -static-libgcc && strip linuxkurulum.sh.c The error: linuxkurulum.sh.c: In function ‘main’...

 
this doesn't seem to have anything with Bash to do
3 messages moved from #!/bin/bash
 
 
5 hours later…
4:49 PM
3 messages moved from python-canon-discussion
 
 
5 hours later…
10:10 PM
@Erikli : You'res sounds like a common problem when progamming in the C language. Hopefully you did some research to see if others have solved it for you already. If no good advice found, then you should post it as a "real" question to the main StackOverflow and use the appropriate tags to attract the people that are most interested in that topic that they search for questions related to 'c' programming etc.
But I agree that your's isn't a bash question, but I can offer this advice : Read section #3, #4 in "Before asking about problematic code" AND the section "How to convert a bad script into a good question" on this page : stackoverflow.com/tags/bash/info . These are good and general advice to all question writters. Remove everything you possibly can to make a question that readers could copy/paste into their local environment and get the same error messages you are getting. ....
I don't have enough experience with thread programming to be of help on this question, but it's very likely a well organized question will get a good response from other readers. Feel free to send me a link if you do post a question on this and I'll upvote it if it is a good quality. Good luck!
 

« first day (2408 days earlier)      last day (531 days later) »