Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, February 2007
gcc 4.1.2


Message 1 in thread

Hi,

Is anyone using gcc 4.1.2 / Suse 10.2?

Reason I ask is that a Qt application that compiled and linked fine 
under Suse 9.1/gcc 3.3 is now refusing to link - with undefined 
reference errors to functions in statically linked libraries. Since the 
application code hasn't changed, and the Qt version is the same, I'm 
leaning towards thinking the 4.1.2 linker is broken, but any thoughts 
appreciated.

- Keith

--
 [ signature omitted ] 

Message 2 in thread

On 11 feb 2007, at 20.10, Keith Sabine wrote:

> Hi,
>
> Is anyone using gcc 4.1.2 / Suse 10.2?
>
> Reason I ask is that a Qt application that compiled and linked fine  
> under Suse 9.1/gcc 3.3 is now refusing to link - with undefined  
> reference errors to functions in statically linked libraries. Since  
> the application code hasn't changed, and the Qt version is the  
> same, I'm leaning towards thinking the 4.1.2 linker is broken, but  
> any thoughts appreciated.
>
> - Keith
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx  
> with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
	Your compiler is probably not broken. I know that the C++  
Application Binary Interface changed between 3.3 and 4.0.
You will need to rebuild any libraries with your latest gcc, since  
one of the thing thats changed is the name mangling algorithm.
Also you should probable invoke the tool chain with the g++ command,  
since otherwise it won't include tha standard c++ lib in linking.
This is my experiences with Mac OS X, however the behaviour of the  
gcc tool set is similar on most supported platforms.
----
Kine dies, Kinfolk dies, and thus at last yourself
This I know that never dies, how a dead mans deeds are deemed. --  
Elder edda
Tommy Nordgren
tommy.nordgren@xxxxxxxxx



--
 [ signature omitted ] 

Message 3 in thread

On 2/11/07, Keith Sabine <keith@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> Is anyone using gcc 4.1.2 / Suse 10.2?

I've not noticed any problems with openSUSE 10.2/gcc 4.1.2

-K

--
 [ signature omitted ] 

Message 4 in thread

On Sun, Feb 11, Keith Sabine wrote:

> Hi,
> 
> Is anyone using gcc 4.1.2 / Suse 10.2?
> 

Yep, for quite some time now. No problems.


Grüsse,

        Uwe 

-- 
 [ signature omitted ]