[LCP]statically linking argtable and other libraries

Greg Black gjb at gbch.net
Thu Jul 15 15:57:01 UTC 2004


On 2004-07-13, Christopher Baus wrote:

> To: linuxcprogramming at lists.linux.org.au
> Cc: linuxcprogramming at lists.linux.org.au

There's really no need to send your messages to the list twice.

>> Have you considered reading the documentation?
> 
> FYI  I spent the entire weekend reading the libtool manual and trying to
> figure out what the heck is going on with this NSS, glibc, gcc, Linux,
> etc.  This is not a question a beginner would ask.  The documentation,
> especially on the glibc side is sparce at best.  The linker spits out
> strange warnings if you pass -static-all to libtool and call
> gethostbyname() or other DNS functions.

I've just gone back and checked your original email to see if
you explained any of this there, as I didn't recall seeing it
previously.  And, as anybody who checks will be able to see, you
did not provide this information.  And you can't really expect
people to guess it.

And, although you do provide *some* extra information above, it
still doesn't cut it when you're asking for help.  The basic
rules are: tell us what you did; tell us what happened; and tell
us how that differed from your expectations.  And, while you're
at it, be clear and complete.  If you do that, people don't have
to guess where you're up to.

That's why I asked that perfectly polite question that you
quoted above (and which some lame members of this list seem to
find insulting).

> Why is there mailing list here if you can't answer a question like this,
> or at least point me the right direction?  It isn't like I am asking a
> question on what char* is or something.

It wasn't a good question -- there are plenty of references on
the Net about how to ask good questions if this is a mystery, so
use Google[1] if you don't know about them.  Good questions are
more likely to get good answers, for obvious reasons.

> I came here has a last resort.  If this isn't the right mailing list what
> is? glibc doesn't seem to have a public mailing list.  The closest is the
> alpha mailing list.  The question involves three components of the gnu C
> tool chain on linux.  Where do you suggest I post this question?

What I'm really suggesting is that you provide enough data in
your question to help people to answer it.  You want the answer,
so you need to be prepared to do some of the work.  Nobody here
owes you an answer.  If you ask a good question, somebody who
knows the answer will provide it, even though your question is
not what I'd call germane to this list.  (I understand this list
to be about C programming; your question has not mentioned that
at all.)

> In fact I have a suggestion.  Since there is no traffic and you all are
> too smart to answer questions on C development on linux, why don't you
> just shut the list down, save others the hassle of subscribing and getting
> lame responses like this.

Generally, abusing people for not giving you exactly what you
want, even when they have to guess what that is and even when
it's off-topic for the list, is hardly the best way to get them
interested in your problem.  It certainly did not get me keen.

And, while I'm here, for all the people who think that they are
big men because they were brave enough to abuse me on this list
while hiding behind their electronic personas, just get a life.
You know who you are.

Cheers, Greg

[1] I've even done the Google for you.  If you ask it for "how
    to ask questions", one of the first answers is this:

    http://www.catb.org/~esr/faqs/smart-questions.html

    Read it, all of you that want to whine, and learn from it.



More information about the linuxCprogramming mailing list