One more thing to add in this regard is that if I do "osc chroot", cd
into the build directory and run "make" there, then the linking
succeeds without problems.
Thanks,
Nimika
On 11/24/2010 10:36 AM, Keshri Nimika.1 (Nokia-MS/Tampere) wrote:
Hi,
I am facing some issues with linking of X libraries in meego.
I have a test application in meegoouch-applauncherd that uses X
libraries. The Linker flags -lX11 -lXtst -lXi have been added in the
Cmake file. The build dependency for the package is also mentioned in
the .yaml file.
PkgConfigBR :
- x11
- xtst
- xextproto
- xi
The following headers are included in the .c file.
#include <X11/Xlib.h>
#include <X11/Xos.h>
#include <X11/Xfuncs.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
#include <X11/XKBlib.h>
#include <X11/Xproto.h>
#include <X11/extensions/XTest.h>
#include <X11/extensions/record.h>
Now while building the package I am getting the following
errors
from the test application.
undefined reference to
`XTestFakeDeviceButtonEvent'
undefined reference
to `XTestFakeDeviceMotionEvent'
undefined reference
to `XTestFakeDeviceKeyEvent'
undefined reference
to `XOpenDisplay'
undefined reference to `XDefaultScreen'
undefined reference to `XGetImage'
undefined reference to `XOpenDevice'
Can someone help me in this regard.
Thanks.
Nimika
|
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev