Opened 15 years ago

Closed 15 years ago

#23042 closed defect (duplicate)

tk: fails to compile (missing declaration in tk8.5.8/unix/../macosx/tkMacOSXButton.c ?)

Reported by: Damien@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: bgrupe27
Port: tk

Description

# port -d install tk
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/tk
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/tk
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: adding the default universal variant
DEBUG: Requested variant i386 is not provided by port tk.
DEBUG: Requested variant x11 is not provided by port tk.
DEBUG: Requested variant macosx is not provided by port tk.
DEBUG: Requested variant tls is not provided by port tk.
DEBUG: Requested variant no_x11 is not provided by port tk.
DEBUG: Requested variant bash_completion is not provided by port tk.
DEBUG: Requested variant aqua is not provided by port tk.
DEBUG: Requested variant aspell is not provided by port tk.
DEBUG: Requested variant ssl is not provided by port tk.
DEBUG: Requested variant with_default_names is not provided by port tk.
DEBUG: Requested variant ares is not provided by port tk.
DEBUG: Requested variant idn is not provided by port tk.
DEBUG: Requested variant ipv6 is not provided by port tk.
DEBUG: Requested variant nls is not provided by port tk.
DEBUG: Requested variant adns is not provided by port tk.
DEBUG: Executing variant quartz provides quartz
DEBUG: Executing variant darwin provides darwin
DEBUG: Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/tk/work
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: tcl 8.5.8_0 exists in the ports tree
DEBUG: tcl 8.5.8_0 +darwin is the latest installed
DEBUG: tcl 8.5.8_0 +darwin+threads is active
DEBUG: Merging existing variants darwin threads into variants
DEBUG: new fully merged portvariants: threads +
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/tcl
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: adding the default universal variant
DEBUG: Requested variant i386 is not provided by port tcl.
DEBUG: Requested variant macosx is not provided by port tcl.
DEBUG: Executing variant threads provides threads
DEBUG: Executing variant darwin provides darwin
DEBUG: No need to upgrade! tcl 8.5.8_0 >= tcl 8.5.8_0
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: pkgconfig 0.23_1 exists in the ports tree
DEBUG: pkgconfig 0.23_1  is the latest installed
DEBUG: pkgconfig 0.23_1  is active
DEBUG: Merging existing variants  into variants
DEBUG: new fully merged portvariants: 
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/pkgconfig
DEBUG: OS Platform: darwin
DEBUG: OS Version: 10.2.0
DEBUG: Mac OS X Version: 10.6
DEBUG: System Arch: i386
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Requested variant darwin is not provided by port pkgconfig.
DEBUG: Requested variant i386 is not provided by port pkgconfig.
DEBUG: Requested variant macosx is not provided by port pkgconfig.
DEBUG: No need to upgrade! pkgconfig 0.23_1 >= pkgconfig 0.23_1
--->  Computing dependencies for tk
DEBUG: Searching for dependency: tcl
DEBUG: Found Dependency: receipt exists for tcl
DEBUG: Searching for dependency: pkgconfig
DEBUG: Found Dependency: receipt exists for pkgconfig
DEBUG: Executing org.macports.main (tk)
DEBUG: No TGZ archive: /opt/local/var/macports/packages/darwin/i386/tk-8.5.8_0+darwin+quartz.i386.tgz
DEBUG: Skipping unarchive (tk) since no archive found
DEBUG: Skipping completed org.macports.unarchive (tk)
--->  Fetching tk
DEBUG: Executing org.macports.fetch (tk)
--->  Verifying checksum(s) for tk
DEBUG: Executing org.macports.checksum (tk)
--->  Checksumming tk8.5.8-src.tar.gz
DEBUG: Correct (md5) checksum for tk8.5.8-src.tar.gz
DEBUG: Correct (sha1) checksum for tk8.5.8-src.tar.gz
DEBUG: Correct (rmd160) checksum for tk8.5.8-src.tar.gz
--->  Checksumming tcl8.5.8-src.tar.gz
DEBUG: Correct (md5) checksum for tcl8.5.8-src.tar.gz
DEBUG: Correct (sha1) checksum for tcl8.5.8-src.tar.gz
DEBUG: Correct (rmd160) checksum for tcl8.5.8-src.tar.gz
--->  Extracting tk
DEBUG: Executing org.macports.extract (tk)
--->  Extracting tk8.5.8-src.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/tcltk/tk8.5.8-src.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work" && /usr/bin/gzip -dc /opt/local/var/macports/distfiles/tcltk/tk8.5.8-src.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
--->  Extracting tcl8.5.8-src.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/tcltk/tcl8.5.8-src.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work" && /usr/bin/gzip -dc /opt/local/var/macports/distfiles/tcltk/tcl8.5.8-src.tar.gz | /usr/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (tk)
DEBUG: Executing proc-post-org.macports.patch-patch-0
--->  Configuring tk

[...]

/usr/bin/gcc-4.2 -c -Os -pipe -O2 -arch x86_64 -pipe  -fpascal-strings -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tcl8.5.8/generic  -Wall -fno-common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../bitmaps -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../../tcl8.5.8//generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../../tcl8.5.8//unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/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_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=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      -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c
/usr/bin/gcc-4.2 -c -Os -pipe -O2 -arch x86_64 -pipe  -fpascal-strings -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tcl8.5.8/generic  -Wall -fno-common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../bitmaps -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../../tcl8.5.8//generic -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../../tcl8.5.8//unix -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/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_OPTIMIZED=1 -DTCL_CFG_DEBUG=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=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      -DTCL_NO_DEPRECATED  -DUSE_TCL_STUBS  /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c: In function 'TkpCreateNativeBitmap':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:149: warning: implicit declaration of function 'QDSwapPort'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:156: warning: implicit declaration of function 'RGBForeColor'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:157: warning: implicit declaration of function 'PaintRect'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:158: warning: implicit declaration of function 'PlotIconID'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:160: warning: implicit declaration of function 'GetIcon'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:160: warning: initialization makes pointer from integer without a cast
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:166: warning: implicit declaration of function 'PlotIcon'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c: In function 'TkpGetNativeAppBitmap':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:261: warning: implicit declaration of function 'GetCIcon'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:261: warning: cast to pointer from integer of different size
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:262: warning: implicit declaration of function 'PlotCIcon'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:262: error: 'CIconHandle' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:262: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:262: error: for each function it appears in.)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:262: error: expected ')' before 'resource'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:263: warning: implicit declaration of function 'DisposeCIcon'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXBitmap.c:263: error: expected ')' before 'resource'
make: *** [tkMacOSXBitmap.o] Error 1
make: *** Waiting for unfinished jobs....
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:100: error: expected declaration specifiers or '...' before 'ControlUserPaneBackgroundProcPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:103: error: expected declaration specifiers or '...' before 'ControlBackgroundPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'TkpDisplayButton':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:241: warning: implicit declaration of function 'QDSwapPort'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:254: warning: implicit declaration of function 'DisposeControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'TkMacOSXInitControl':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:804: warning: cast from pointer to integer of different size
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:805: warning: implicit declaration of function 'NewControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:807: warning: assignment makes pointer from integer without a cast
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:813: warning: implicit declaration of function 'EmbedControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:818: error: too many arguments to function 'SetUserPaneSetUpSpecialBackgroundProc'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:825: warning: assignment makes pointer from integer without a cast
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:836: warning: implicit declaration of function 'IsWindowActive'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'TkMacOSXDrawControl':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:929: warning: implicit declaration of function 'SetControlBounds'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:952: warning: implicit declaration of function 'SetControlTitleWithCFString'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:960: warning: implicit declaration of function 'SetControlFontStyle'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:974: warning: implicit declaration of function 'SetControlValue'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:982: warning: implicit declaration of function 'IsControlActive'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:984: warning: implicit declaration of function 'ActivateControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:986: warning: implicit declaration of function 'DeactivateControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:990: warning: implicit declaration of function 'IsControlEnabled'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:992: warning: implicit declaration of function 'EnableControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:994: warning: implicit declaration of function 'DisableControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1000: warning: implicit declaration of function 'HiliteControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1028: warning: implicit declaration of function 'SetControlData'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1033: warning: implicit declaration of function 'ShowControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1037: warning: implicit declaration of function 'SetControlVisibility'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1038: warning: implicit declaration of function 'Draw1Control'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1044: warning: implicit declaration of function 'KillPicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1044: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'SetupBevelButton':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1107: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1107: warning: implicit declaration of function 'OpenCPicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1108: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1134: warning: implicit declaration of function 'ClosePicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: At top level:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1238: error: expected declaration specifiers or '...' before 'ControlUserPaneBackgroundProcPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'SetUserPaneSetUpSpecialBackgroundProc':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: 'ControlUserPaneBackgroundUPP' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: for each function it appears in.)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: expected ';' before 'myControlUserPaneBackgroundUPP'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1242: error: 'myControlUserPaneBackgroundUPP' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1242: warning: implicit declaration of function 'NewControlUserPaneBackgroundUPP'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1242: error: 'upp' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'UserPaneDraw':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1271: warning: implicit declaration of function 'GetControlReference'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1275: warning: implicit declaration of function 'GetPort'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1276: warning: implicit declaration of function 'GetControlBounds'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1278: warning: implicit declaration of function 'EraseRect'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: At top level:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1301: error: expected declaration specifiers or '...' before 'ControlBackgroundPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'UserPaneBackgroundProc':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1305: error: 'info' undeclared (first use in this function)
make: *** [tkMacOSXButton.o] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix" && /usr/bin/make -j2 all " returned error 2
Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1033: warning: implicit declaration of function 'ShowControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1037: warning: implicit declaration of function 'SetControlVisibility'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1038: warning: implicit declaration of function 'Draw1Control'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1044: warning: implicit declaration of function 'KillPicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1044: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'SetupBevelButton':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1107: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1107: warning: implicit declaration of function 'OpenCPicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1108: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1134: warning: implicit declaration of function 'ClosePicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: At top level:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1238: error: expected declaration specifiers or '...' before 'ControlUserPaneBackgroundProcPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'SetUserPaneSetUpSpecialBackgroundProc':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: 'ControlUserPaneBackgroundUPP' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: for each function it appears in.)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: expected ';' before 'myControlUserPaneBackgroundUPP'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1242: error: 'myControlUserPaneBackgroundUPP' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1242: warning: implicit declaration of function 'NewControlUserPaneBackgroundUPP'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1242: error: 'upp' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'UserPaneDraw':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1271: warning: implicit declaration of function 'GetControlReference'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1275: warning: implicit declaration of function 'GetPort'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1276: warning: implicit declaration of function 'GetControlBounds'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1278: warning: implicit declaration of function 'EraseRect'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: At top level:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1301: error: expected declaration specifiers or '...' before 'ControlBackgroundPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'UserPaneBackgroundProc':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1305: error: 'info' undeclared (first use in this function)
make: *** [tkMacOSXButton.o] Error 1

DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix" && /usr/bin/make -j2 all " returned error 2
Command output: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1033: warning: implicit declaration of function 'ShowControl'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1037: warning: implicit declaration of function 'SetControlVisibility'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1038: warning: implicit declaration of function 'Draw1Control'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1044: warning: implicit declaration of function 'KillPicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1044: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'SetupBevelButton':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1107: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1107: warning: implicit declaration of function 'OpenCPicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1108: error: 'union <anonymous>' has no member named 'picture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1134: warning: implicit declaration of function 'ClosePicture'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: At top level:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1238: error: expected declaration specifiers or '...' before 'ControlUserPaneBackgroundProcPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'SetUserPaneSetUpSpecialBackgroundProc':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: 'ControlUserPaneBackgroundUPP' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: for each function it appears in.)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1240: error: expected ';' before 'myControlUserPaneBackgroundUPP'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1242: error: 'myControlUserPaneBackgroundUPP' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1242: warning: implicit declaration of function 'NewControlUserPaneBackgroundUPP'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1242: error: 'upp' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'UserPaneDraw':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1271: warning: implicit declaration of function 'GetControlReference'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1275: warning: implicit declaration of function 'GetPort'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1276: warning: implicit declaration of function 'GetControlBounds'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1278: warning: implicit declaration of function 'EraseRect'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: At top level:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1301: error: expected declaration specifiers or '...' before 'ControlBackgroundPtr'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c: In function 'UserPaneBackgroundProc':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_tk/work/tk8.5.8/unix/../macosx/tkMacOSXButton.c:1305: error: 'info' undeclared (first use in this function)
make: *** [tkMacOSXButton.o] Error 1

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for tk): org.macports.activate org.macports.build org.macports.destroot org.macports.archive org.macports.install
Error: Status 1 encountered during processing.

Change History (2)

comment:1 Changed 15 years ago by bgrupe27

Cc: bgrupe@… added

Cc Me!

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Keywords: undeclared compile removed
Resolution: duplicate
Status: newclosed

Duplicate of #20799.

Note: See TracTickets for help on using tickets.