View previous topic :: View next topic |
Author |
Message |
peter_poulsen Guru
Joined: 12 Feb 2003 Posts: 387 Location: Denmark
|
Posted: Fri Feb 14, 2003 4:58 pm Post subject: Using old libraries |
|
|
I have compiled QT3 with gcc-2.95.3. Now im trying to compile a small program, that uses QT, with gcc-3.2.1. I get quit a handfull of undefinded references.
[quote]
/tmp/ccktsCHb.o(.text+0x42): In function `main':
: undefined reference to `QWidget::QWidget[in-charge](QWidget*, char const*, unsigned)'
[/quote]
If I use gcc-config to switch to gcc-2.95.3 there is no problem. A simple hello world program compiles fine with gcc-3.2.1 (It is the only program that I have at had that doesn't use QT). Is there anyway around this? |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Fri Feb 14, 2003 8:24 pm Post subject: |
|
|
I would think the only solution is to re-emerge Qt with gcc 3.2.2.
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
peter_poulsen Guru
Joined: 12 Feb 2003 Posts: 387 Location: Denmark
|
Posted: Fri Feb 14, 2003 10:49 pm Post subject: |
|
|
Is it possible to have QT installede twice? Once compiled with gcc-2.95.3 and once with gcc-3.2.1. I wouldn't minde having to tweak /etc/env.d/gcc-config/*
My problem is that don't know what I should change in the ebuild file. |
|
Back to top |
|
|
|