[Starkit] Tclkit 8.4.11

Techentin, Robert W. techentin.robert at mayo.edu
Tue Sep 6 10:57:51 CEST 2005


Jean-Claude Wippler wrote:
> 
> Builds for other platforms are always welcome.

Trying to run genkit on HP-UX 11.0, mk fails to compile.  Attached is my
listing, where the HP aCC compiler has a problem with yesterday's version of
mk4tcl.cpp.

I tried building with g++ 3.2, which does not complain about mk4tcl.cpp.
But then building kitsh fails, because it tries to use aCC.

Bob
-- 
Bob Techentin                        techentin.robert at mayo.edu 
Mayo Foundation                                 (507) 538-5495 
200 First St. SW                            FAX (507) 284-9171
Rochester MN, 55901  USA            http://www.mayo.edu/sppdg/ 


RUN: sh ../../../src/mk/unix/configure --prefix=/scratch/bob/noarch
--exec-prefix=/scratch/bob/install/mynock
--with-tcl=/scratch/bob/src/tcl/generic --disable-shared

checking for Python configuration... not enabled
checking for Tcl headers... found /scratch/bob/src/tcl/generic/tcl.h
checking for Tcl package installation location...
/scratch/bob/src/tcl/generic/../lib
checking for building with threads... no (default)
checking for building as shared lib... no, static
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... no
checking whether aCC accepts -g... yes
checking for a BSD-compatible install... /apps/tools/1.0/hpux11/ginstall -c
checking how to run the C++ preprocessor... aCC -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for long... yes
checking size of long... 4
checking for long long... yes
checking for mmap... yes
checking for memmove... yes
checking for bcopy... yes
uname: illegal option -- p
usage: uname [-amnrsvil] [-S nodename]
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h

RUN: make Mk4tcl.a

aCC -c +DAportable -O -I../../../src/mk/unix/../include
-I/scratch/bob/src/tcl/generic/generic -I/scratch/bob/src/tcl/generic
../../../src/mk/unix/../tcl/mk4tcl.cpp
Warning 749: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 250 # The cast
from 'Tcl_Event *' to 'MkEvent *' is performed as a 'reinterpret_cast'. This
operation is non-portable and potentially unsafe.
      MkEvent *me = (MkEvent*)evPtr;
                    ^^^^^^^^^^      
Warning 749: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 262 # The cast
from 'Tcl_Event *' to 'MkEvent *' is performed as a 'reinterpret_cast'. This
operation is non-portable and potentially unsafe.
      MkEvent* me = (MkEvent*) evPtr;
                    ^^^^^^^^^^       
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 340 # Implicit
conversion of string literal to 'char *' is deprecated.
      "mk",       /* Type name.                  */
      ^^^^                                         
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 477 # Implicit
conversion of string literal to 'char *' is deprecated.
          Tcl_SetResult(interp, "unsupported property type", TCL_STATIC);
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^              
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 1018 # Implicit
conversion of string literal to 'char *' is deprecated.
      "mkProperty",       // name
      ^^^^^^^^^^^^               
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 1083 # Implicit
conversion of string literal to 'char *' is deprecated.
      "mkCursor",         // name
      ^^^^^^^^^^                 
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 1525 # Implicit
conversion of string literal to 'char *' is deprecated.
        Tcl_SetResult(ip, "Initialization error in dispatcher", TCL_STATIC);
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^              
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 1589 # Implicit
conversion of string literal to 'char *' is deprecated.
                      tcl_GetIndexFromObj(objv[2], getCmds) >= 0;
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^      
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 1687 # Implicit
conversion of string literal to 'char *' is deprecated.
      int id = objc <= 1 ? 0 : tcl_GetIndexFromObj(objv[1], cmds);
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 1809 # Implicit
conversion of string literal to 'char *' is deprecated.
      int id = tcl_GetIndexFromObj(objv[1], cmds);
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 1854 # Implicit
conversion of string literal to 'char *' is deprecated.
              switch (tcl_GetIndexFromObj(objv[--objc], options)) {
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 2041 # Implicit
conversion of string literal to 'char *' is deprecated.
      int id = tcl_GetIndexFromObj(objv[1], viewCmds);
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 2300 # Implicit
conversion of string literal to 'char *' is deprecated.
      int id = tcl_GetIndexFromObj(objv[1], cursorCmds);
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 2403 # Implicit
conversion of string literal to 'char *' is deprecated.
          id = tcl_GetIndexFromObj(*objv, opts);
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
Warning 829: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 2482 # Implicit
conversion of string literal to 'char *' is deprecated.
      int id = objc < 4 ? 0 : tcl_GetIndexFromObj(objv[3], channelCmds);
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
Error 970: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 2631 # The address
of thread-specific object 'SelectCmd' cannot be used to initialize static
variables.
        { &MkTcl::SelectCmd,  2, 0, "select path ?...?" },
          ^^^^^^^^^^^^^^^^^                               
Error 970: "../../../src/mk/unix/../tcl/mk4tcl.cpp", line 2632 # The address
of thread-specific object 'ChannelCmd' cannot be used to initialize static
variables.
        { &MkTcl::ChannelCmd, 3, 4, "channel path prop ?mode?" },
          ^^^^^^^^^^^^^^^^^^                                     
make: *** [mk4tcl.o] Error 2

ERROR: child process exited abnormally
    while executing
"run make Mk4tcl.a"
    ("eval" body line 1)
    invoked from within
"eval run $X(make) Mk4tcl.a"
    ("mk" arm line 3)
    invoked from within
"switch $target {

	  tcl {
	    config tcl/$X(unix) --disable-shared
	    #run $X(make) genstubs
	    eval run $X(make) binaries  LD_SEARCH_FLAGS= CC_..."


More information about the Starkit mailing list