PDA

View Full Version : Error compiling on new laptop, Debian unstable



Mornie
10-04-2003, 08:23 AM
QT self compiled, 3.2.1 with thread support get the following error

Laptop01:/home/showeq# make
make all-recursive
make[1]: Entering directory `/home/showeq'
Making all in maps
make[2]: Entering directory `/home/showeq/maps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/showeq/maps'
Making all in src
make[2]: Entering directory `/home/showeq/src'
/bin/sh ../libtool --mode=link g++ -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 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 guild.o m_guild.o netdiag.o m_netdiag.o logger.o m_logger.o xmlconv.o xmlpreferences.o m_xmlpreferences.o seqwindow.o m_seqwindow.o seqlistview.o m_seqlistview.o zonemgr.o m_zonemgr.o spawnmonitor.o m_spawnmonitor.o spawnpointlist.o m_spawnpointlist.o spawnlistcommon.o m_spawnlistcommon.o spawnlist2.o m_spawnlist2.o spells.o libEQ.o itemdb.o m_itemdb.o gdbmconv.o -lqt-mt -lpthread -rpath /usr/X11R6/lib -lgdbm -lz -lpcap
g++ -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 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 guild.o m_guild.o netdiag.o m_netdiag.o logger.o m_logger.o xmlconv.o xmlpreferences.o m_xmlpreferences.o seqwindow.o m_seqwindow.o seqlistview.o m_seqlistview.o zonemgr.o m_zonemgr.o spawnmonitor.o m_spawnmonitor.o spawnpointlist.o m_spawnpointlist.o spawnlistcommon.o m_spawnlistcommon.o spawnlist2.o m_spawnlist2.o spells.o libEQ.o itemdb.o m_itemdb.o gdbmconv.o /usr/lib/libqt-mt.so -L/usr/X11R6/lib -laudio -lXt -lpng -lGL -lXmu -lXrender /usr/lib/libXcursor.so -lXinerama_pic -lXft /usr/lib/libfreetype.so -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread /usr/lib/libgdbm.so -lz -lpcap -Wl,--rpath -Wl,/usr/X11R6/lib
/usr/bin/ld: cannot find -lXinerama_pic
collect2: ld returned 1 exit status
make[2]: *** [showeq] Error 1
make[2]: Leaving directory `/home/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/showeq'
make: *** [all-recursive-am] Error 2


anyone able to give any hints???

fester
10-04-2003, 01:54 PM
I am in a good mood.


Originally posted by Mornie
/usr/bin/ld: cannot find -lXinerama_pic
collect2: ld returned 1 exit status
make[2]: *** [showeq] Error 1
make[2]: Leaving directory `/home/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/showeq'
make: *** [all-recursive-am] Error 2


That is a hint.

According to www.m-w.com:

Main Entry: can·not
Pronunciation: 'ka-(")nät; k&-'nät, ka-'
Date: 15th century
: can not
- cannot but or cannot help but also cannot help : to be unable to do otherwise than

So it basically means "unable" to do?

Main Entry: 1find
Pronunciation: 'fInd
Function: verb
Inflected Form(s): found /'faund/; find·ing
Etymology: Middle English, from Old English findan; akin to Old High German findan to find, Latin pont-, pons bridge, Greek pontos sea, Sanskrit patha way, course
Date: before 12th century
transitive senses
1 a : to come upon often accidentally : ENCOUNTER b : to meet with (a particular reception) <hoped to find favor>
2 a : to come upon by searching or effort <must find a suitable person for the job> b : to discover by study or experiment <find an answer> c : to obtain by effort or management <find the time to study> d : ATTAIN, REACH <the bullet found its mark>
...

So "find" means to locate? I think so, just guessing.

So we now know it is unable to locate "lXinerama_pic"?

What is "lXinerama_pic"?

A couple google searches later I understand:
Xinerama is an X11 Library.

Some RPM named Xlib contain this file.

PIC means "Position Independent Code."

So you need an Xlib with PIC enabled.

I found ways around this problem on NetBSD and several Linux
systems.

I don't know which system you use (because you never put up that information. Did you believe it to be irrelevant information?)

Oh I am bored, but you should be able to resolve this problem with this information. Good luck.

Mornie
10-04-2003, 06:18 PM
thanks for the info and sarcasm in your reply fester..

but if YOU read the the topic it says I run a debian unstable system *shrug*

fester
10-05-2003, 02:33 AM
Glad you like my help. Oh and sorry, I honestly didn't notice the subject. About half my sarcasm came from not seeing your os type.

I have never ran Debian.

I went to debian.org and click the "Debian Packages" tag.

I clicked search packages file.

I selected unstable.

I searched for "Xinerama" in unstable.

I got back:

usr/X11R6/lib/libXinerama_pic.a libdevel/xlibs-pic

So install the debian package "libdevel/xlibs-pic" and you should be fixed. At least the error you posted about will be fixed.

Guess the other part of sarcasm came from this being a "follow the bouncing ball" problem and you apparently didn't follow the ball?