make时出错:
interface.o(.text+0x115): In function `create_window':
/myproject/play3/src/interface.c:71: undefined reference to `GTK_TREE'
interface.o(.text+0x12d):/myproject/play3/src/interface.c:73: undefined reference to `GTK_TREE_ITEM'
interface.o(.text+0x1c:/myproject/play3/src/interface.c:83: undefined reference to `GTK_TREE'
interface.o(.text+0x1f1):/myproject/play3/src/interface.c:88: more undefined references to `GTK_TREE
' follow
interface.o(.text+0x209): In function `create_window':
/myproject/play3/src/interface.c:90: undefined reference to `GTK_TREE_ITEM'
interface.o(.text+0x22:/myproject/play3/src/interface.c:92: undefined reference to `GTK_TREE'
interface.o(.text+0x2a4):/myproject/play3/src/interface.c:100: undefined reference to `GTK_TREE'
interface.o(.text+0x2cd):/myproject/play3/src/interface.c:104: more undefined references to `GTK_TRE
E' follow
interface.o(.text+0x2e5): In function `create_window':
/myproject/play3/src/interface.c:106: undefined reference to `GTK_TREE_ITEM'
interface.o(.text+0x304):/myproject/play3/src/interface.c:108: undefined reference to `GTK_TREE'
interface.o(.text+0x3a9):/myproject/play3/src/interface.c:120: more undefined references to `GTK_TRE
E' follow
interface.o(.text+0x3c1): In function `create_window':
/myproject/play3/src/interface.c:122: undefined reference to `GTK_TREE_ITEM'
interface.o(.text+0x45c):/myproject/play3/src/interface.c:132: undefined reference to `GTK_TREE'
collect2: ld returned 1 exit status
make[2]: *** [play3] Error 1
make[2]: Leaving directory `/myproject/play3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/myproject/play3'
make: *** [all] Error 2
我查过了,GTK_TREE, GTK_TREE_ITEM 均是gtk/gtktree.h里面的宏.gtk/gtktree.h包含在头文件gtk/gtk.h