cht電腦資訊gcin
adm Find login register

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

elleryq

joined: 2007-09-27
posted: 117
promoted: 5
bookmarked: 0
Taipei, Taiwan
1subject: 在natty下編譯出現 expected expression before ')' tokenPromote 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
joined: 2007-09-22
posted: 630
promoted: 134
bookmarked: 90
2subject: Promote 0 Bookmark 02011-09-10quote  

要用這個 patch

http://hyperrate.com/thread.php?tid=24749

elleryq

joined: 2007-09-27
posted: 117
promoted: 5
bookmarked: 0
Taipei, Taiwan
3subject: Promote 0 Bookmark 02011-09-13quote  

上了 patch 就可以了,感謝~

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

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