[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Compiling with glibc + threads was Problems with ksnapshot-0.2.5
From:       Richard Moore <moorer () cs ! man ! ac ! uk>
Date:       1998-05-18 9:39:03
[Download RAW message or body]

Can anyone tell me what library this guy needs to add to the link line? and what 
I can do to stop this problem?

Rich.

------------- Begin Forwarded Message -------------

Date: Sun, 17 May 1998 20:07:16 +0200
From: Roland Titze <rolandti@online.de>
To: richard@cs.man.ac.uk
Subject: Problems with ksnapshot-0.2.5

Hi Richard,

I use RedHat Linux 5.0 (Intel) with XFree86-3.3.1-14 and kde-beta4. I
tried to build ksnapshot-0.2.5 and got the
following error messages during make:

make all-recursive
make[1]: Entering directory `/home/kde/ksnapshot'
Making all in ksnapshot
make[2]: Entering directory `/home/kde/ksnapshot/ksnapshot'
/usr/bin/moc -o ksnapshot.moc ksnapshot.h
/usr/bin/moc -o preview.moc preview.h
g++ -c -O2 -Wall -DHAVE_CONFIG_H -DKSNAPVERSION="\"0.2.5\""
-I/opt/kde/include -
I/usr/lib/qt/include -I/usr/X11R6/include -I.. -o main.o main.cpp
g++ -c -O2 -Wall -DHAVE_CONFIG_H -DKSNAPVERSION="\"0.2.5\""
-I/opt/kde/include -
I/usr/lib/qt/include -I/usr/X11R6/include -I.. -o gif.o gif.cpp
g++ -c -O2 -Wall -DHAVE_CONFIG_H -DKSNAPVERSION="\"0.2.5\""
-I/opt/kde/include -
I/usr/lib/qt/include -I/usr/X11R6/include -I.. -o formats.o formats.cpp
g++ -c -O2 -Wall -DHAVE_CONFIG_H -DKSNAPVERSION="\"0.2.5\""
-I/opt/kde/include -
I/usr/lib/qt/include -I/usr/X11R6/include -I.. -o ksnapshot.o
ksnapshot.cpp
g++ -c -O2 -Wall -DHAVE_CONFIG_H -DKSNAPVERSION="\"0.2.5\""
-I/opt/kde/include -
I/usr/lib/qt/include -I/usr/X11R6/include -I.. -o preview.o preview.cpp
preview.cpp: In method `void Preview::closeEvent(class QCloseEvent *)':
preview.cpp:15: warning: unused parameter `class QCloseEvent * e'
g++ -s -L/opt/kde/lib -L/usr/X11R6/lib -o ksnapshot main.o gif.o
formats.o ksnap
shot.o preview.o -lkdecore -lkdeui -lqt -lXext -lm
/usr/X11R6/lib/libXext.so: undefined reference to `_Xglobal_lock'
/usr/X11R6/lib/libXext.so: undefined reference to `_XUnlockMutex_fn'
/usr/X11R6/lib/libXext.so: undefined reference to `_XLockMutex_fn'
make[2]: *** [ksnapshot] Error 1
make[2]: Leaving directory `/home/kde/ksnapshot/ksnapshot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kde/ksnapshot'
make: *** [all-recursive-am] Error 2

Can you give me some tips to solve this problem?

Kind Regards
Roland Titze

------------- End Forwarded Message -------------


 _______________________________________________________________________ 
| Richard Moore                         | Email: richard@cs.man.ac.uk   |
| IT301, Computer Science dept.,        |           rich@kde.org        |
| University of Manchester, Oxford Rd., | Phone: (0161) 438 0038 (home) |
| Manchester, M13 9PL                   |        (0161) 275 6270 (work) |
| UK                                    |        (0161) 275 6280 (fax)  |
|_______________________________________|_______________________________|

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic