[Xfc-dev] Build probems on Arch Linux
Desmont Underhill
desmont at gmail.com
Sun May 29 20:42:01 CEST 2005
I'm having some strange problems with building the examples myself.
The tutorial says that to build the project some lines in the Makefile
should look like this:
xfcapp: xfcapp.cc xfcapp.hh
$(CC) xfcapp.cc -o xfcapp $(CFLAGS) `pkg-config xfcui-4.3 --cflags --libs`
However this doesn't work for me. I get lots of errors:
g++ xfcapp.cc -o xfcapp -Wall -O2 `pkg-config xfcui-4.3 --cflags --libs`
/tmp/ccaeSDUn.o(.text+0xcf): In function `XfcApp::XfcApp()':
: undefined reference to `Xfc::Trackable::Trackable()'
/tmp/ccaeSDUn.o(.text+0xe0): In function `XfcApp::XfcApp()':
: undefined reference to `Xfc::G::TypeInstance::TypeInstance()'
/tmp/ccaeSDUn.o(.text+0xf7): In function `XfcApp::XfcApp()':
: undefined reference to `Xfc::G::TypeInterface::TypeInterface()'
But when I change the lines to:
xfcapp: xfcapp.cc xfcapp.hh
$(CC) xfcapp.cc -o xfcapp $(CFLAGS) `pkg-config xfcui-4.3
xfccore-4.3 --cflags --libs`
..the program builds without any errors.
Am I doing something horribly wrong?
More information about the Xfc-dev
mailing list