Results 1 to 4 of 4

Thread: Qstring::shared_null

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    1

    Unhappy Qstring::shared_null

    *Fixed*
    Stupid mistake on my part. Make clean and re-instal of qt fixed it. Compile worked, v4 runs like a champ. Awesome program, guys.


    Got GCC installed, running fine. Upgraded QT, no problem. Set pointers....no problem. Now when I do ./configure && make I get the following error:

    /usr/local/qt/include/qstring.h:650 undefined reference to 'Qstring::shared_null
    /usr/local/qt/include/qstring.h:652 undefined reference to 'Qstringdata:: DeleteSelf()


    Anyone else run into this?
    Last edited by Demented; 12-21-2001 at 01:09 PM.

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    5
    Yeah.. I'm getting the same problem here..

    Running RedHat 7.2
    GCC installed fine, no errors
    QT appeared to install fine, no errors.
    cvs checkout, no errors
    make -f Makefile.dist, no errors
    ./configure, no errors
    make

    scads of errors relating to undefined references to QT components
    example:
    /usr/local/qt-2.3.2/include/qstring.h:650: undefined reference to `QString::shared_null'
    and
    /usr/local/qt-2.3.2/include/qstring.h:652: undefined reference to `QStringData::deleteSelf()'

    my history buffer is 10,000 lines and I still can't scroll all the way back..

    Any suggestions on how I screwed this up?

    Thanks

  3. #3
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648
    Make sure your LD_LIBRARY_PATH, QTDIR, and PATH environment variables include the new version of Qt....

    Hope this helps.

    Enjoy,
    Zaphod (dohpaZ)
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    183
    I had this problem and it was from using an rpm version of qt-2.3.2 rather than building it myself. When using g++3 any C++ libraries you link to have to have been compiled with g++3 because they changed the way C++ method names are mangled. Until gcc3 can be used to build a complete linux distribution I don't consider it ready for primetime. Sorry Ratt/Zaphod/whomever, it just isn't.

    Anyway as of 2 minutes ago I can run showeq4. devteam you may want to change the default config files some as they are a bit cruel to slow computers. 10fps and 2 map windows are not good settings for a 233Mhz Pentium . Had to log in from another computer to kill showeq since X was pegged and I could barely move the mouse around.

    Tomorrow I will try it out with EQ running, too tired now. Read about 300 pages of programming documentation today (unrelated to showeq/linux at least!) and my eyes hurt!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On