cht電腦資訊gcin
adm Find login register

在natty下編譯出現 expected expression before ')' token

elleryq
1 在natty下編譯出現 expected expression before ')' token
Promote 0 Bookmark 02011-09-09quote  
編譯的過程中出現下面的錯誤...

make[2]: Entering directory `/build/buildd/gcin-1.6.8/gtk3-im'
gcc -c -fPIC -g `pkg-config --cflags gtk+-3.0` -I../im-client -I.. -DUNIX=1 -I../IMdkit/include -DCLIENT_LIB=1 -DMAC_OS=0 -DFREEBSD=0 -o imgcin.o imgcin.c
gcc -c -fPIC -g `pkg-config --cflags gtk+-3.0` -I../im-client -I.. -DUNIX=1 -I../IMdkit/include -DCLIENT_LIB=1 -DMAC_OS=0 -DFREEBSD=0 -o gtkimcontextgcin.o gtkimcontextgcin.c
gtkimcontextgcin.c: In function 'get_im':
gtkimcontextgcin.c:131:23: warning: initialization makes pointer from integer without a cast
gtkimcontextgcin.c:140:54: error: expected expression before ')' token
make[2]: *** [gtkimcontextgcin.o] Error 1
caleb
2
Promote 0 Bookmark 02011-09-10quote  
elleryq
3
Promote 0 Bookmark 02011-09-13quote  

上了 patch 就可以了,感謝~

希望下版不用再這樣打 patch 了 :)

cht電腦資訊gcin
adm Find login register
views:6654