|
发表于 2003-6-6 23:04:47
|
显示全部楼层
不行啊?
:mad: 说gtk找不到,但我确实已经安装了gtk了?!
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
configure: error: Library requirements (gtk+-2.0 >= 1.3.13) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
main.c:6:21: gtk/gtk.h: No such file or directory
In file included from main.c:8:
interface.h:5: parse error before '*' token
interface.h:5: warning: type defaults to `int' in declaration of `create_gproftpd_window'
interface.h:5: warning: data definition has no type or storage class
interface.h:6: parse error before '*' token
interface.h:6: warning: type defaults to `int' in declaration of `create_help_window'
interface.h:6: warning: data definition has no type or storage class
interface.h:7: parse error before '*' token
interface.h:7: warning: type defaults to `int' in declaration of `create_shutdown_window'
interface.h:7: warning: data definition has no type or storage class
interface.h:8: parse error before '*' token
interface.h:8: warning: type defaults to `int' in declaration of `create_info_window'
interface.h:8: warning: data definition has no type or storage class
interface.h:9: parse error before '*' token
interface.h:9: warning: type defaults to `int' in declaration of `create_user_profile_window'
interface.h:9: warning: data definition has no type or storage class
interface.h:10: parse error before '*' token
interface.h:10: warning: type defaults to `int' in declaration of `create_credits_window'
interface.h:10: warning: data definition has no type or storage class
interface.h:11: parse error before '*' token
interface.h:11: warning: type defaults to `int' in declaration of `create_userdir_selection'
interface.h:11: warning: data definition has no type or storage class
interface.h:12: parse error before '*' token
interface.h:12: warning: type defaults to `int' in declaration of `create_useradd_incoming_selection'
interface.h:12: warning: data definition has no type or storage class
In file included from main.c:9:
support.h:9:21: gtk/gtk.h: No such file or directory
In file included from main.c:9:
support.h:44: parse error before '*' token
support.h:44: parse error before '*' token
support.h:45: warning: type defaults to `int' in declaration of `lookup_widget'
support.h:45: warning: data definition has no type or storage class
support.h:49: warning: type defaults to `int' in declaration of `gchar'
support.h:49: parse error before '*' token
support.h:57: parse error before '*' token
support.h:57: parse error before '*' token
support.h:58: warning: type defaults to `int' in declaration of `create_pixmap'
support.h:58: warning: data definition has no type or storage class
support.h:61: parse error before '*' token
support.h:61: warning: type defaults to `int' in declaration of `gchar'
support.h:61: parse error before '*' token
support.h:61: warning: type defaults to `int' in declaration of `create_pixbuf'
support.h:61: warning: data definition has no type or storage class
support.h:64: parse error before '*' token
main.c: In function `main':
main.c:14: `GtkWidget' undeclared (first use in this function)
main.c:14: (Each undeclared identifier is reported only once
main.c:14: for each function it appears in.)
main.c:14: `gproftpd_window' undeclared (first use in this function)
main.c:22: warning: implicit declaration of function `gtk_set_locale'
main.c:23: warning: implicit declaration of function `gtk_init'
main.c:28: warning: implicit declaration of function `gtk_widget_show'
main.c:30: warning: implicit declaration of function `gtk_main'
make[2]: *** [main.o] 错误 1
make[1]: *** [all-recursive] 错误 1
make: *** [all] 错误 2
main.c:6:21: gtk/gtk.h: No such file or directory
In file included from main.c:8:
interface.h:5: parse error before '*' token
interface.h:5: warning: type defaults to `int' in declaration of `create_gproftpd_window'
interface.h:5: warning: data definition has no type or storage class
interface.h:6: parse error before '*' token
interface.h:6: warning: type defaults to `int' in declaration of `create_help_window'
interface.h:6: warning: data definition has no type or storage class
interface.h:7: parse error before '*' token
interface.h:7: warning: type defaults to `int' in declaration of `create_shutdown_window'
interface.h:7: warning: data definition has no type or storage class
interface.h:8: parse error before '*' token
interface.h:8: warning: type defaults to `int' in declaration of `create_info_window'
interface.h:8: warning: data definition has no type or storage class
interface.h:9: parse error before '*' token
interface.h:9: warning: type defaults to `int' in declaration of `create_user_profile_window'
interface.h:9: warning: data definition has no type or storage class
interface.h:10: parse error before '*' token
interface.h:10: warning: type defaults to `int' in declaration of `create_credits_window'
interface.h:10: warning: data definition has no type or storage class
interface.h:11: parse error before '*' token
interface.h:11: warning: type defaults to `int' in declaration of `create_userdir_selection'
interface.h:11: warning: data definition has no type or storage class
interface.h:12: parse error before '*' token
interface.h:12: warning: type defaults to `int' in declaration of `create_useradd_incoming_selection'
interface.h:12: warning: data definition has no type or storage class
In file included from main.c:9:
support.h:9:21: gtk/gtk.h: No such file or directory
In file included from main.c:9:
support.h:44: parse error before '*' token
support.h:44: parse error before '*' token
support.h:45: warning: type defaults to `int' in declaration of `lookup_widget'
support.h:45: warning: data definition has no type or storage class
support.h:49: warning: type defaults to `int' in declaration of `gchar'
support.h:49: parse error before '*' token
support.h:57: parse error before '*' token
support.h:57: parse error before '*' token
support.h:58: warning: type defaults to `int' in declaration of `create_pixmap'
support.h:58: warning: data definition has no type or storage class
support.h:61: parse error before '*' token
support.h:61: warning: type defaults to `int' in declaration of `gchar'
support.h:61: parse error before '*' token
support.h:61: warning: type defaults to `int' in declaration of `create_pixbuf'
support.h:61: warning: data definition has no type or storage class
support.h:64: parse error before '*' token
main.c: In function `main':
main.c:14: `GtkWidget' undeclared (first use in this function)
main.c:14: (Each undeclared identifier is reported only once
main.c:14: for each function it appears in.)
main.c:14: `gproftpd_window' undeclared (first use in this function)
main.c:22: warning: implicit declaration of function `gtk_set_locale'
main.c:23: warning: implicit declaration of function `gtk_init'
main.c:28: warning: implicit declaration of function `gtk_widget_show'
main.c:30: warning: implicit declaration of function `gtk_main'
make[1]: *** [main.o] 错误 1
make: *** [install-recursive] 错误 1 |
|