From: Rich E <ric...@gm...> - 2010-01-14 19:57:41
|
Hi again, I get the following warnings and errors when I try to build Tk 8.5.8 on OS X 10.6 Snow Leopard. Anyone have an idea as to why? gcc -c -g -pipe -fpascal-strings -Wall -fno-common -I/Users/r/src/tk8.5.8/unix/../unix -I/Users/r/src/tk8.5.8/unix/../generic -I/Users/r/src/tk8.5.8/unix/../bitmaps -I/Users/r/src/tcl8.5.8/generic -I/Users/r/src/tcl8.5.8/unix -I/Users/r/src/tk8.5.8/unix/../macosx -I/Users/r/src/tk8.5.8/unix/../xlib -DPACKAGE_NAME=\"tk\" -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tk\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_GET_STACKSIZE_NP=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DMAC_OSX_TCL=1 -DHAVE_COREFOUNDATION=1 -DTCL_SHLIB_EXT=\".dylib\" -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1 -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1 -DMAC_OSX_TK=1 -DTK_MAC_DEBUG=1 -DTK_FRAMEWORK=1 -DTCL_NO_DEPRECATED -DTK_FRAMEWORK_VERSION=\"8.5\" -DUSE_TCL_STUBS /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c: In function ‘TkpCreateNativeBitmap’: /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:149: warning: implicit declaration of function ‘QDSwapPort’ /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:156: warning: implicit declaration of function ‘RGBForeColor’ /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:157: warning: implicit declaration of function ‘PaintRect’ /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:158: warning: implicit declaration of function ‘PlotIconID’ /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:160: warning: implicit declaration of function ‘GetIcon’ /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:160: warning: initialization makes pointer from integer without a cast /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:166: warning: implicit declaration of function ‘PlotIcon’ /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c: In function ‘TkpGetNativeAppBitmap’: /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:261: warning: implicit declaration of function ‘GetCIcon’ /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:261: warning: cast to pointer from integer of different size /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:262: warning: implicit declaration of function ‘PlotCIcon’ /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:262: error: ‘CIconHandle’ undeclared (first use in this function) /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:262: error: (Each undeclared identifier is reported only once /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:262: error: for each function it appears in.) /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:262: error: expected ‘)’ before ‘resource’ /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:263: warning: implicit declaration of function ‘DisposeCIcon’ /Users/r/src/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:263: error: expected ‘)’ before ‘resource’ make[3]: *** [tkMacOSXBitmap.o] Error 1 make[2]: *** [build-tk] Error 2 make[1]: *** [tk] Error 2 make: *** [develop] Error 2 |