This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: C++ compiler cannot create executables.
- To: lbergman at abi dot tconline dot net
- Subject: Re: C++ compiler cannot create executables.
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 20 Mar 2001 02:16:09 -0300
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <01031911354201.11264@lewis.abi.tconline.net>
On Mar 19, 2001, lbergman <lbergman@abi.tconline.net> wrote:
> [root@lewis /root]# cat hello.o
> ELF4(
U
]01.01GCC: (GNU) 2.96 20000731 (Red Hat Linux 7.0).symtab.strtab.shstrtab.text.data.bss.note.comment
> !@@,@2T.;(
> hello.ccgcc2_compiled.mainkonsole
What is it that you think is wrong with this file? Looks reasonable
to me...
> 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.
> /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?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me