From: lbergman <lbergman@abi.tconline.net>
To: Alexandre Oliva <aoliva@redhat.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: C++ compiler cannot create executables.
Date: Tue, 20 Mar 2001 07:31:00 -0000 [thread overview]
Message-ID: <01032009155600.18894@lewis.abi.tconline.net> (raw)
In-Reply-To: <orelvtja06.fsf@guarana.lsd.ic.unicamp.br>
On Mon, 19 Mar 2001, Alexandre Oliva wrote:
> What is it that you think is wrong with this file? Looks reasonable
> to me...
It looked that way to me as well.
> >configure:2543: gcc -o conftest -g -O2 conftest.c 1>&5
> >/tmp/ccKP70uF.o: In function `main':
> >/root/tar/php-4.0.4pl1/configure:2538: undefined reference to
> >`pthread_mutexattr_init' > /root/tar/php-4.0.4pl1/configure:2539: undefined
> >reference to `pthread_create'
> Looks like the PHP configure is missing the flags to link the threads
> library in. Or maybe it does that later on? I.e., it has nothing to
> do with GCC.
Don't really know enough about this to even comment.
> >/usr/bin/ld: cannot find -lqt
> So, it couldn't find the qt library. Again, why do you think this is
> a problem in GCC?
Yes. That and X11. But the only reason I emailed this list is that the exact
same package has worked severel times before. In fact, it worked several times
the same day before it gave up. I am not saying that it is gcc. On the other
hand, gcc is the one that errors and I was hoping someone who knew enough about
it could point me to the real problem.
I believe due to the problems with gcc not being able to find X11 or qt that
there might be a problem with the linker or maybe ldconfig. I believe the
problem might be related to the running of ldconfig to add a lib path
(something I have done several times before without problems).
At any rate, can you give me a clue as to where the real problem might reside?
--
Lewis Bergman
Texas Communications
4309 Maple St.
Abilene, TX 79602
915-695-6962
next prev parent reply other threads:[~2001-03-20 7:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-19 9:50 lbergman
2001-03-19 21:16 ` Alexandre Oliva
2001-03-20 7:31 ` lbergman [this message]
2001-03-20 10:20 ` Alexandre Oliva
[not found] <c51c48d0709140011t7806975er6d07c148481ae822@mail.gmail.com>
2007-09-14 8:54 ` IVAN ANGELOV
2007-09-14 15:20 ` Tim Prince
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01032009155600.18894@lewis.abi.tconline.net \
--to=lbergman@abi.tconline.net \
--cc=aoliva@redhat.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).