Skip to content

Bug in makefile causing linking errors #5

@tpapastylianou

Description

@tpapastylianou

There is a bug in the makefile, causing errors (at least with gcc)

The line

gcc -o xtext `pkg-config --cflags --libs pangocairo x11 xfixes`  xtext.c 

should be

gcc -o xtext  xtext.c `pkg-config --cflags --libs pangocairo x11 xfixes`

Otherwise the linker does not resolve symbols properly. (see: https://stackoverflow.com/q/45135/4183191)

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