gtk_dial_new: how to compile?



I need to use the gtk_dial_new function, but when I try to compile the application with the following command:

gcc -O2 -Wall -g filename.c -o filename 'gtk-config --cflags' 'gtk_config --libs'

obtain:
In function main:
                           undefined reference to ' gtk_dial_new'

I have the following include statements:
#include <gtk/gtk.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <gnome.h>
#include <asm/io.h>
#include <math.h>

What is wrong?


Thanks

Luciano





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