This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ compiler cannot create executables.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]