[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gtick-devel] trouble compiling gtick-0.2.9

From: Steef Boerrigter
Subject: [Gtick-devel] trouble compiling gtick-0.2.9
Date: Thu, 05 Feb 2004 15:40:24 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031031

Hallo Roland,

I am having some problems compiling gtick-0.2.9 on my system.
Firstly, I had to delete the extra "-c" from the object compilation line. My gcc doesn't accept both a -c and -o 'object file' in one command.
I use:

steef[192]src>gcc --version
gcc (GCC) 3.2.2

Then, I have some trouble with ALSA.
After configuration, I still have a @ALSA_CFLAGS@ and a @ALSA_LIBS@ reference in the created Makefile.

No idea why. Should I install an additional ALSA library before using gtick? The TODO list only mentions it as a future support.
Therefore, I deleted those entries from the Makefile.

So now the result fails with a GTK error, whereas I have GTK-2.0 perfectly installed on my system!
What's going wrong?


make[1]: Entering directory `/root/gnueval/sxmboer/gtick-0.2.9/src'
if gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../intl -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DVERSION='"0.2.9"' -DPACKAGE='"gtick"' -g -O2 -D_U_="__attribute__((unused))" -Wall -W -D_GNU_SOURCE -O3 -g -O2 -D_U_="__attribute__((unused))" -Wall -W -D_GNU_SOURCE -O3 -MT gtick.o -MD -MP -MF ".deps/gtick.Tpo" \
 -o gtick.o `test -f 'gtick.c' || echo './'`gtick.c; \
then mv -f ".deps/gtick.Tpo" ".deps/gtick.Po"; \
else rm -f ".deps/gtick.Tpo"; exit 1; \
/tmp/ccKm56Mh.o(.text+0x74): In function `main':
/root/gnueval/sxmboer/gtick-0.2.9/src/gtick.c:74: undefined reference to `gtk_init' /tmp/ccKm56Mh.o(.text+0x148):/root/gnueval/sxmboer/gtick-0.2.9/src/gtick.c:112: undefined reference to `g_thread_init' /tmp/ccKm56Mh.o(.text+0x14d):/root/gnueval/sxmboer/gtick-0.2.9/src/gtick.c:115: undefined reference to `metro_new' /tmp/ccKm56Mh.o(.text+0x157):/root/gnueval/sxmboer/gtick-0.2.9/src/gtick.c:118: undefined reference to `gtk_main' /tmp/ccKm56Mh.o(.text+0x163):/root/gnueval/sxmboer/gtick-0.2.9/src/gtick.c:120: undefined reference to `metro_delete'
collect2: ld returned 1 exit status
make[1]: *** [gtick.o] Error 1
make[1]: Leaving directory `/root/gnueval/sxmboer/gtick-0.2.9/src'
make: *** [all] Error 2

reply via email to

[Prev in Thread] Current Thread [Next in Thread]