PDA

View Full Version : I'm having a problem with "make" on showeq



Newbie's_corpse
04-21-2002, 08:10 AM
After "make" ( on the /root/showeq directory )

collect2: ld returned 1 exit status
make[2]: *** [showeq] Error 1
make[2]" Leaving directory `/root/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq'
make *** [all-recursive-am] Error 2

P.S. I am useing redhat 7.2

any pointers?

high_jeeves
04-21-2002, 09:13 AM
1st pointer... post the error message, instead of the messages about what directory you just left... why does everyone always post these last lines that contain no information? LOOK AT WHAT YOU POST! All it says is Error 1, leaving directory.. how would anyone other that God himself know what the hell that means? Look up about 3 more lines, and you will see the actual error messages...

2nd pointer... search on the error message first... somebody else probably already has posted the answer here..

--Jeeves

Newbie's_corpse
04-21-2002, 12:03 PM
make all-recursive
make[1]: Entering directory `/root/showeq'
Making all in maps
make[2]: Entering directory `/root/showeq/maps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/showeq/maps'
Making all in src
make[2]: Entering directory `/root/showeq/src'
/bin/sh ../libtool --mode=link g++3 -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -o showeq main.o spawn.o spawnshell.o spawnlist.o spellshell.o spelllist.o preferences.o m_preferences.o vpacket.o editor.o filter.o m_spawnshell.o m_spawnlist.o m_spellshell.o m_spelllist.o m_editor.o packet.o m_packet.o interface.o m_interface.o compass.o m_compass.o map.o m_map.o util.o experiencelog.o m_experiencelog.o combatlog.o m_combatlog.o msgdlg.o m_msgdlg.o player.o m_player.o decode.o m_decode.o skilllist.o m_skilllist.o statlist.o m_statlist.o filtermgr.o m_filtermgr.o mapcore.o category.o m_category.o compassframe.o m_compassframe.o group.o m_group.o netdiag.o m_netdiag.o logger.o m_logger.o itemdb.o gdbmconv.o -L/usr/lib/qt-2.3.2/lib -lqt-mt -lpthread -rpath /usr/lib/qt-2.3.2/lib -rpath /usr/X11R6/lib -lEQ -lgdbm -lz -lpcap
g++3 -D_REENTRAv.o -L/usr/lib/qt-2.3.2/lib -lqt-mt -lpthread -rpath /usr/lib/qt-2.3.2/lib -rpath /usr/X11R6/lib -lEQ -lgdbm -lz -lpcap
g++3 -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -o showeq main.o spawn.o spawnshell.o spawnlist.o spellshell.o spelllist.o preferences.o m_preferences.o vpacket.o editor.o filter.o m_spawnshell.o m_spawnlist.o m_spellshell.o m_spelllist.o m_editor.o packet.o m_packet.o interface.o m_interface.o compass.o m_compass.o map.o m_map.o util.o experiencelog.o m_experiencelog.o combatlog.o m_combatlog.o msgdlg.o m_msgdlg.o player.o m_player.o decode.o m_decode.o skilllist.o m_skilllist.o statlist.o m_statlist.o filtermgr.o m_filtermgr.o mapcore.o category.o m_category.o compassframe.o m_compassframe.o group.o m_group.o netdiag.o m_netdiag.o logger.o m_logger.o itemdb.o gdbmconv.o -L/usr/lib/qt-2.3.2/lib -lqt-mt -lpthread -lEQ /usr/lib/libgdbm.so -lz -lpcap -Wl,--rpath -Wl,/usr/lib/qt-2.3.2/lib -Wl,--rpath -Wl,/usr/X11R6/lib
make[2]: Leaving directory `/root/showeq/src'
make[1]: Leaving directory `/root/showeq

then, a lots of "undefined reference to `QString::shared_null " shows up
/usr/lib/qt-3.0.3/include/qstring.h:722: undefinded reference to `QString::shared_null'
.
.
.
blah blah blah

collect2: ld returned 1 exit status
make[2]: *** [showeq] Error 1
make[2]" Leaving directory `/root/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq'
make *** [all-recursive-am] Error 2


hmm, better?

Newbie's_corpse
04-21-2002, 12:20 PM
btw I'm study from

http://www.hackersquest.org/boards/viewtopic.php?t=276

><

high_jeeves
04-21-2002, 01:10 PM
As I said.. step 2 is search...

Try entering 'QString::shared_null' into the search field.. your answer will magically arise before you.

--Jeeves

fryfrog
04-21-2002, 09:18 PM
and because i'm not 100% sure what the answer is... and i'm lazy... i think it is because you didn't compile QT-2.3.2 with gcc-3.0.x...

am i right or wrong?

high_jeeves
04-21-2002, 09:26 PM
hehe... i think we all read this board too much fryfrog... you are correct!

Newbie's_corpse
04-22-2002, 02:20 AM
I compile qt-3.0.3 with gcc3-3.0.1 onec again

still didn't work ><

Wishbringer
04-22-2002, 07:01 AM
Don't mix your QT-Versions.
Some times QT-2.3.2 appears in your compiler protocol, then at last QT-3.0.3!

Use QT-2.3.2 while configure, for example with --with-qt-dir=/usr/lib/qt-2.3.2

On the other hand, i had some problems too to compile cgi's under QT-3.0.3, but that was some weeks(month?) ago and should be fixed.

SyberWired
04-22-2002, 08:52 AM
First, check to see if your qt versions are still mixing during the configure. If so, try removing a file called "config.cache", and then do ./configure --with-Qt-dir=(qt directory). Also check your ld.so.conf file and see if the qt dir is listed in there. If not try adding it in, then run ldconf. Good luck.

IMHO