Skip to content
This repository was archived by the owner on Mar 8, 2018. It is now read-only.
This repository was archived by the owner on Mar 8, 2018. It is now read-only.

Build problems on openSUSE 12.2 #6

@avallach2000

Description

@avallach2000

Hi! I mention this here because the openSUSE 12.1 package of gmrun was created by author this repository. When you attempt to build gmrun on openSUSE 12.2 the following error appears:

g++  -g -O2   -o gmrun gtkcompletionline.o history.o main.o prefs.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0    -lpopt
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: main.o: undefined reference to symbol 'XQueryPointer'
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: note: 'XQueryPointer' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [gmrun] Error 1
make[2]: Leaving directory `/home/avallac_h/Downloads/GMRUN/gmrun/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/avallac_h/Downloads/GMRUN/gmrun'
make: *** [all] Error 2

However, gmrun still can be built manually using:
$ ./autogen.sh LDFLAGS=-lX11
Is this a SUSE bug or something wrong happens with gmrun build scripts (linker options)?

I would like you to continue maintaining suse-package if it is possible.
Thanks for your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions