Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Error when opening client TCP socket

Help
robtweed
2006-12-03
2012-12-29
  • robtweed
    robtweed
    2006-12-03

    Unless I'm doing something wrong, I seem to have found a bug in the client TCP socket connection logic in GTM (5.1-000 Linux x86)

    Here's the code for opening the TCP client (as per the GTM documentation):

    zewdtcp ; TCP functions
    open(host,port,timeout)
    n delim,dev
    i $g(host)="" QUIT 0
    i $g(port)="" QUIT 0
    i $g(timeout)="" s timeout=20
    s delim=$c(13)
    s dev="client$"_$j
    o dev:(connect=host_":"_port_":TCP":attach="client":exception="g tcperr"):timeout:"SOCKET"
    QUIT dev
    ;
    tcperr ;
    QUIT 0

    If I call this with a valid, existing domain name, it works fine, eg:

    GTM>s ok=$$open^zewdtcp("www.google.co.uk",80)

    GTM>w ok
    client$20450
    GTM>c ok

    But if I deliberately try a non-existent domain name, it crashes GTM:

    GTM>s ok=$$open^zewdtcp("www.google.co.ukx",80)
    %GTM-F-KILLBYSIGSINFO2, GT.M process 20450 has been killed by a signal 11 at address 0x42079DC0
    [root@m21 extc]#

    As you can see, I don't seem to be able to cleanly trap this error either.

    Any ideas?

    Rob

     
    • Rob,

      Thanks for reporting this. It is a bug in GT.M and the tracking # C9G12-002808 has been created for this issue. We will fix this in an upcoming release.

      Thanks,
      Narayanan.

       
      • LD Landis
        LD Landis
        2006-12-05

        Narayan,

          I don't mean to be tangential here.. But I am trying to create a working
          source code version of GT.M V51000.  I think I followed the readme, but
          gmake (rightfully, IMO) complains that it doesn't have pro_all, dbg_all
          nor bta_all targets.  See below.  Hints welcome. TIA!

        Cheers,
          --ldl

        ~ldl/gtm             has current GT.M V5.1 pro install.
        ~ldl/gtm_V51000      has current GT.M V5.1 source release in it
        ~ldl/gtm_V51000_bta  target for beta
        ~ldl/gtm_V51000_dbg  target for debug version
        ~ldl/gtm_V51000_pro  target for pro version

        Also:

        [ldl@ldlandis ~]$ gmake --version
        GNU Make 3.80

        [ldl@ldlandis ~]$ gcc --version
        gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)

        [ldl@ldlandis ~]$ uname -a
        Linux localhost 2.6.9-42.EL #1 Tue Aug 15 09:30:48 BST 2006 x86_64 x86_64 x86_64 GNU/Linux

        [ldl@ldlandis ~]$ cat /etc/issue
        CentOS release 4.4 (Final)
        Kernel \r on an \m

        [ldl@ldlandis ~]$ cat mk.gtmpro
        export gtm_curpro=~ldl/gtm
        if [ ! -d gtm_V51000_pro ] ; then
                mkdir gtm_V51000_pro
        fi
        (cd gtm_V51000; gmake -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux buildtypes=pro gtm_ver=../gtm_V51000_pro) > mk.gtmpro.log 2>&1
        echo "See mk.gtmpro.log"

        [ldl@ldlandis ~]$ ./mk.gtmpro
        See mk.gtmpro.log
        [ldl@ldlandis ~]$ cat mk.gtmpro.log
        mkdir -p ../gtm_V51000_pro/pro/obj
        mkdir -p ../gtm_V51000_pro/pro/map
        gmake: *** No rule to make target `pro_all', needed by `all'.  Stop.

         
        • Hi Larry,

          We have not been keeping the makefiles uptodate with the internal build tools that we primarily maintain. But we are in the final stages of getting GT.M V5.2 released. We will take a look at this soon after V5.2 is out the door. Sorry for the inconvenience.

          Thanks,
          Narayanan.

           
        • LD Landis
          LD Landis
          2006-12-07

          Narayanan,

            Thanks for the response (V5.2 soon).  Do you have a rough date?

            It would be helpful to have a working "incantation" for building
            GT.M included in the README e.g. what was used to create the
            released 'pro' binary.

            In the current V5.1 README, there is a strong hint of the age of
            the file: "GNU make 3.79.1 and Redhat 7.2".

          Cheers,
            --ldl

           
          • Larry,

            End of this month is likely when we will be done with V5.2. We will try to take into account as much of your suggestions about having a better README.

            Thanks,
            Narayanan.

             
        • Sam Weiner
          Sam Weiner
          2006-12-28

          Larry,

          Sorry for the delay.

          The problem was the value of gtm_ver= in the gmake command.
          It should be the directory which contains the various
          source directories.  In your case, ~ldl/gtm_V51000 not
          ~ldl/gtm_V51000_pro.

          Thanks, Sam

           
          • LD Landis
            LD Landis
            2006-12-29

            Sam,

              Thanks!  Much closer...

            Narayanan/Bhaskar,

              Now there seems to be more of a fundamental issue...

              On CentOS x86_64, the typedefs for int4 and uint4 yield an 8-byte critter.

              You might want to factor this in to the V5.2 stuff.  Also, some of the assembler
              instruction suffixes don't work.  See log.

              SuSE Linux 10.1 works the same way on this (same) box (e.g. sizeof(long)=8 rather
              than =4).

              I'd be happy to do help you (FNF) by doing some trial compiles for you if you don't
              have one of these AMD x86_64 boxes.

              FWIW, CentOS is gcc 3.4.6 and SuSE 10.1 is gcc 4.1.0.

            Cheers,
              --ldl

            Script to compile GT.M
            ----------------------
            export gtm_curpro=~ldl/gtm
            echo "(cd gtm_V51000; gmake -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux)" > mk.gtm.log 2>&1
            (cd gtm_V51000; gmake -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux) >> mk.gtm.log 2>&1
            echo "See mk.gtm.log"

            Results of script
            -----------------
            (cd gtm_V51000; gmake -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux)
            gmake -C /home/ldl/mk.GT.M/gtm_V51000/pro/obj -I/home/ldl/mk.GT.M/gtm_V51000/pro/obj -I/home/ldl/mk.GT.M/gtm_V51000/sr_linux -I/home/ldl/mk.GT.M/gtm_V51000/sr_i386 -I/home/ldl/mk.GT.M/gtm_V51000/sr_unix_gnp -I/home/ldl/mk.GT.M/gtm_V51000/sr_unix_cm -I/home/ldl/mk.GT.M/gtm_V51000/sr_unix_nsb -I/home/ldl/mk.GT.M/gtm_V51000/sr_unix -I/home/ldl/mk.GT.M/gtm_V51000/sr_port_cm -I/home/ldl/mk.GT.M/gtm_V51000/sr_port -f /home/ldl/mk.GT.M/gtm_V51000/sr_unix/comlist.mk CURRENT_BUILDTYPE=pro all
            gmake[1]: Entering directory `/home/ldl/mk.GT.M/gtm_V51000/pro/obj'
            /home/ldl/mk.GT.M/gtm_V51000/sr_unix/gtm_main.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/gtm_main.o
            In file included from /home/ldl/mk.GT.M/gtm_V51000/sr_unix/gtm_main.c:25:
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/gdsfhead.h:829: error: size of array `bg_trc_rec_cntr_filler' is too large
            /home/ldl/mk.GT.M/gtm_V51000/sr_unix/gtm_main.c:63: warning: no previous prototype for 'gtm_main'
            gmake[1]: *** [gtm_main.o] Error 1
            gmake[1]: Leaving directory `/home/ldl/mk.GT.M/gtm_V51000/pro/obj'
            gmake: *** [pro_all] Error 2

            Changed sr_unix/mdefsp.h
            ------------------------
            [ldl@localhost mk.GT.M]$ cd gtm_V51000/sr_unix
            [ldl@localhost sr_unix]$ rcsdiff mdefsp.h
            ===================================================================
            RCS file: RCS/mdefsp.h,v
            retrieving revision 1.1
            diff -r1.1 mdefsp.h
            17,18c17,18
            < typedef          long int4;           /* 4-byte signed integer */
            < typedef unsigned long uint4;          /* 4-byte unsigned integer */
            ---
            > typedef          int  int4;           /* 4-byte signed integer */
            > typedef unsigned int  uint4;          /* 4-byte unsigned integer */
            [ldl@localhost sr_unix]$

            Results much closer, but... more than I want to tackle on this x86_64 enabled box
            ---------------------------------------------------------------------------------
            (cd gtm_V51000; gmake -f sr_unix/comlist.mk -I./sr_unix -I./sr_linux)
            gmake -C /home/ldl/mk.GT.M/gtm_V51000/pro/obj -I/home/ldl/mk.GT.M/gtm_V51000/pro/obj -I/home/ldl/mk.GT.M/gtm_V51000/sr_linux -I/home/ldl/mk.GT.M/gtm_V51000/sr_i386 -I/home/ldl/mk.GT.M/gtm_V51000/sr_unix_gnp -I/home/ldl/mk.GT.M/gtm_V51000/sr_unix_cm -I/home/ldl/mk.GT.M/gtm_V51000/sr_unix_nsb -I/home/ldl/mk.GT.M/gtm_V51000/sr_unix -I/home/ldl/mk.GT.M/gtm_V51000/sr_port_cm -I/home/ldl/mk.GT.M/gtm_V51000/sr_port -f /home/ldl/mk.GT.M/gtm_V51000/sr_unix/comlist.mk CURRENT_BUILDTYPE=pro all
            gmake[1]: Entering directory `/home/ldl/mk.GT.M/gtm_V51000/pro/obj'
            gmake[1]: Leaving directory `/home/ldl/mk.GT.M/gtm_V51000/pro/obj'
            gmake[1]: Entering directory `/home/ldl/mk.GT.M/gtm_V51000/pro/obj'
            /home/ldl/mk.GT.M/gtm_V51000/sr_unix/mumps_clitab.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/mumps_clitab.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_unix/gtm_main.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/gtm_main.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_unix/gtm_main.c:63: warning: no previous prototype for 'gtm_main'
            gtm_dist=/home/ldl/gtm;export gtm_dist;\     /home/ldl/gtm/mumps /home/ldl/mk.GT.M/gtm_V51000/sr_port/msg.m;\     /home/ldl/gtm/mumps -run msg /home/ldl/mk.GT.M/gtm_V51000/sr_port/cmerrors.msg unix
            cmerrors_ctl.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/cmerrors_ctl.o
            gtm_dist=/home/ldl/gtm;export gtm_dist;\     /home/ldl/gtm/mumps /home/ldl/mk.GT.M/gtm_V51000/sr_port/msg.m;\     /home/ldl/gtm/mumps -run msg /home/ldl/mk.GT.M/gtm_V51000/sr_unix_gnp/cmierrors.msg unix
            cmierrors_ctl.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/cmierrors_ctl.o
            gtm_dist=/home/ldl/gtm;export gtm_dist;\     /home/ldl/gtm/mumps /home/ldl/mk.GT.M/gtm_V51000/sr_port/msg.m;\     /home/ldl/gtm/mumps -run msg /home/ldl/mk.GT.M/gtm_V51000/sr_port/gdeerrors.msg unix
            gdeerrors_ctl.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/gdeerrors_ctl.o
            merrors_ctl.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/merrors_ctl.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/act_in_gvt.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/act_in_gvt.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/actuallist.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/actuallist.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/add_atom.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/add_atom.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_unix/add_inter.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/add_inter.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/adjust_frames.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/adjust_frames.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/advancewindow.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/advancewindow.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/alloc_reg.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/alloc_reg.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_unix/append_time_stamp.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/append_time_stamp.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/asc2i.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/asc2i.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/asc_hex2i.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/asc_hex2i.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/aswp.s ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/aswp.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/auto_zlink.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/auto_zlink.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/azl_geturxlab.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/azl_geturxlab.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/azl_geturxrtn.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/azl_geturxrtn.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/backup_block.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/backup_block.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_unix/backup_buffer_flush.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/backup_buffer_flush.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/base_frame.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/base_frame.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/base_frame.c: In function `base_frame':
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/base_frame.c:29: warning: cast from pointer to integer of different size
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/base_frame.c:31: warning: cast from pointer to integer of different size
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bit_clear.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bit_clear.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bit_set.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bit_set.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bm_find_blk.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bm_find_blk.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bm_getfree.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bm_getfree.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bm_getfree.c: In function `bm_getfree':
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bm_getfree.c:223: warning: cast from pointer to integer of different size
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bm_getfree.c:223: warning: cast to pointer from integer of different size
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bm_setmap.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bm_setmap.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bml_busy.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bml_busy.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bml_find_busy.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bml_find_busy.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bml_find_free.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bml_find_free.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bml_free.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bml_free.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bml_init.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bml_init.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bml_newmap.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bml_newmap.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bmm_find_free.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bmm_find_free.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bmm_init.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bmm_init.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bool_expr.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bool_expr.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_get.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bt_get.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_init.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bt_init.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_malloc.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bt_malloc.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_malloc.c: In function `bt_malloc':
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_malloc.c:26: warning: cast from pointer to integer of different size
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_malloc.c:26: warning: cast from pointer to integer of different size
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_put.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bt_put.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_put.c: In function `bt_put':
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_put.c:85: warning: cast from pointer to integer of different size
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_put.c:91: warning: cast from pointer to integer of different size
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_put.c:99: warning: cast from pointer to integer of different size
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bt_refresh.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bt_refresh.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/buddy_list.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/buddy_list.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bx_boolop.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bx_boolop.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bx_relop.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bx_relop.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/bx_tail.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/bx_tail.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/cache_cleanup.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/cache_cleanup.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/cache_get.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/cache_get.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/cache_init.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/cache_init.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/cache_put.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/cache_put.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/cache_put.c: In function `cache_put':
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/cache_put.c:64: warning: cast from pointer to integer of different size
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/cache_put.c:73: warning: cast from pointer to integer of different size
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/cache_stats.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/cache_stats.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/cache_table_rebuild.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/cache_table_rebuild.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_port/cacheflush.c ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/cacheflush.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/call_dm.s ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/call_dm.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/caller_id.s ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/caller_id.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/callg.s ----> /home/ldl/mk.GT.M/gtm_V51000/pro/obj/callg.o
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/callg.s: Assembler messages:
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/callg.s:33: Error: suffix or operands invalid for `push'
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/callg.s:34: Error: suffix or operands invalid for `push'
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/callg.s:35: Error: suffix or operands invalid for `push'
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/callg.s:46: Error: suffix or operands invalid for `push'
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/callg.s:49: Error: suffix or operands invalid for `call'
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/callg.s:50: Error: suffix or operands invalid for `pop'
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/callg.s:54: Error: suffix or operands invalid for `pop'
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/callg.s:55: Error: suffix or operands invalid for `pop'
            /home/ldl/mk.GT.M/gtm_V51000/sr_i386/callg.s:56: Error: suffix or operands invalid for `pop'
            gmake[1]: *** [callg.o] Error 1
            rm bmm_init.o bx_relop.o bx_boolop.o cache_cleanup.o bml_free.o add_inter.o cache_table_rebuild.o cmerrors_ctl.c cache_stats.o bt_get.o cache_put.o advancewindow.o actuallist.o bit_clear.o bm_setmap.o cache_init.o alloc_reg.o auto_zlink.o call_dm.o act_in_gvt.o bml_busy.o cmierrors_ctl.o base_frame.o cmierrors_ctl.c bt_put.o append_time_stamp.o azl_geturxrtn.o bmm_find_free.o bml_find_free.o bit_set.o bool_expr.o caller_id.o bt_init.o backup_block.o azl_geturxlab.o backup_buffer_flush.o bm_find_blk.o asc2i.o bml_init.o cacheflush.o cache_get.o gdeerrors_ctl.o bml_newmap.o bml_find_busy.o gdeerrors_ctl.c add_atom.o buddy_list.o bt_refresh.o merrors_ctl.o bx_tail.o bt_malloc.o bm_getfree.o aswp.o asc_hex2i.o adjust_frames.o cmerrors_ctl.o
            gmake[1]: Leaving directory `/home/ldl/mk.GT.M/gtm_V51000/pro/obj'
            gmake: *** [pro_all] Error 2

             
            • K.S. Bhaskar
              K.S. Bhaskar
              2006-12-29

              Larry --

              Although GT.M should in a 32-bit application environment on an x64 machine, GT.M today is not a 64-bit application and will not work as a 64-bit application on an x64 machine.  The changes needed to go from 32- to 64-bits are significant.  Please continue to use GT.M as a 32-bit application.

              Regards
              -- Bhaskar

               
    • robtweed
      robtweed
      2006-12-08

      By the way, I'm currently very successfully working round this problem by first checking the validity of the domain name using a zsystem call to nslookup and parsing the response.  I'll only attempt to open the TCP connection if I get a proper "authoratitive answer".