Re: SSH 3.2.3 - Problem executing Make

From: Alf Nicolaysen (Alf.Nicolaysen@de.ibm.com)
Date: 03/19/03

  • Next message: Sriram S. - CTD, Chennai.: "Query regarding openssh-3.4"
    To: secureshell@securityfocus.com
    From: "Alf Nicolaysen" <Alf.Nicolaysen@de.ibm.com>
    Date: Wed, 19 Mar 2003 12:41:24 +0100
    
    

    Hi again, James

    As I can see from that output, you have two different versions of make
    installed on your machine. The first one is /usr/local/bin/make, which I
    guess is a GNU-make, the other one is /usr/bin/make, which is AIX-Standard
    a link to /usr/ccs/bin/make. When you set up a "make" without Path, you
    will call the /usr/local/bin/make, so the dump -Tv output is useless as
    long you do it on the wrong make-programm.

    I suggest:

    1) Try /usr/bin/make
    2) dump -Tv /usr/local/bin/make AND dump -H /usr/local/bin/make
    There you cann see probably some libs, which are required, but not there or
    in the wrong version.

    Regards

    Alf Nicolaysen

    James <james00_c@yahoo.com> on 19.03.2003 01:51:57

    To: secureshell@securityfocus.com
    cc:
    Subject: Re: SSH 3.2.3 - Problem executing Make

    In-Reply-To: <OF3EE53674.9B2C5870-ONC1256CE8.0037AF1D@de.ibm.com>

    Hi Alf,

    Thanks for your response. I was using the following version of gcc:

    $ gcc -v
    Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-
    aix4.3.3.0/2.95.2/specs gcc version 2.95.2 19991024 (release)

    Since upgrading the OS level is currently not an option, a colleague
    suggested using the newer gcc compiler. Also tried with:

    $ ./usr/local/bin/gcc -v
    Reading specs from ./usr/local/bin/../lib/gcc-lib/powerpc-ibm
    aix4.3.2.0/3.2.1/specs
    Configured with: ../gcc-3.2.1/configure --disable-nls
    Thread model: aix
    gcc version 3.2.1

    and still receive the same errors with "make". Here is some information
    on make:

    $ which make
    /usr/local/bin/make
    $ ls -l /usr/local/bin/make
    -rwxr-sr-x 1 12 system 917037 Jul 18 2002 /usr/local/bin/make*
    $ whereis make
    make: /usr/bin/make /usr/ccs/bin/make
    $ ls -l /usr/bin/make
    lrwxrwxrwx 1 bin bin 17 Aug 15 2000 /usr/bin/make@ -
    > /usr/ccs/bin/make*

    How with regard to your suggestion:

    $ dump -Tv /usr/bin/make
    /usr/bin/make:
                            ***Loader Section***

                            ***Loader Symbol Table Information***
    [Index] Value Scn IMEX Sclass Type IMPid Name

    [0] 0x00000000 undef IMP RW EXTref libc.a(shr.o) errno
    [1] 0x00000000 undef IMP DS EXTref libc.a(shr.o) close
    [2] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getpid
    [3] 0x00000000 undef IMP DS EXTref libc.a(shr.o) kill
    [4] 0x00000000 undef IMP DS EXTref libc.a(shr.o) unlink
    [5] 0x00000000 undef IMP DS EXTref libc.a(shr.o) utimes
    [6] 0x00000000 undef IMP UA EXTref libc.a(shr.o)
    _system_configuration
    [7] 0x00003300 undef IMP XO EXTref libc.a(shr.o) __quoss
    [8] 0x00000000 undef IMP RW EXTref libc.a(shr.o)
    __lc_charmap
    [9] 0x00000000 undef IMP RW EXTref libc.a(shr.o)
    __lc_ctype
    [10] 0x00000000 undef IMP RW EXTref libc.a(shr.o) _iob
    [11] 0x00000000 undef IMP RW EXTref libc.a(shr.o)
    __lc_time
    [12] 0x00000000 undef IMP DS EXTref libc.a(shr.o) exit
    [13] 0x00000000 undef IMP DS EXTref libc.a(shr.o) free
    [14] 0x00000000 undef IMP DS EXTref libc.a(shr.o) malloc
    [15] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strlen
    [16] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fopen64
    [17] 0x00000000 undef IMP DS EXTref libc.a(shr.o) open64
    [18] 0x00000000 undef IMP DS EXTref libc.a(shr.o) lseek64
    [19] 0x00000000 undef IMP DS EXTref libc.a(shr.o) realloc
    [20] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getenv
    [21] 0x00000000 undef IMP DS EXTref libc.a(shr.o) atoi
    [22] 0x00000000 undef IMP DS EXTref libc.a(shr.o) catopen
    [23] 0x00000000 undef IMP DS EXTref libc.a(shr.o) catgets
    [24] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fprintf
    [25] 0x00000000 undef IMP DS EXTref libc.a(shr.o) abort
    [26] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strchr
    [27] 0x00000000 undef IMP DS EXTref libc.a(shr.o) printf
    [28] 0x00000000 undef IMP DS EXTref libc.a(shr.o) catclose
    [29] 0x00000000 undef IMP DS EXTref libc.a(shr.o) write
    [30] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fflush
    [31] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fclose
    [32] 0x00000000 undef IMP DS EXTref libc.a(shr.o) __flsbuf
    [33] 0x00000000 undef IMP DS EXTref libc.a(shr.o) vfprintf
    [34] 0x00000000 undef IMP DS EXTref libc.a(shr.o) sprintf
    [35] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fwrite
    [36] 0x00000000 undef IMP DS EXTref libc.a(shr.o) wctomb
    [37] 0x00000000 undef IMP DS EXTref libc.a(shr.o) mblen
    [38] 0x00000000 undef IMP DS EXTref libc.a(shr.o) __filbuf
    [39] 0x00000000 undef IMP DS EXTref libc.a(shr.o) read
    [40] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strncmp
    [41] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strrchr
    [42] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isupper
    [43] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fputc
    [44] 0x00000000 undef IMP DS EXTref libc.a(shr.o) mbtowc
    [45] 0x00000000 undef IMP DS EXTref libc.a(shr.o) ungetc
    [46] 0x00000000 undef IMP DS EXTref libc.a(shr.o) ungetwc
    [47] 0x00000000 undef IMP DS EXTref libc.a(shr.o) sscanf
    [48] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fscanf
    [49] 0x00000000 undef IMP DS EXTref libc.a(shr.o) signal
    [50] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isspace
    [51] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fread
    [52] 0x00000000 undef IMP DS EXTref libc.a(shr.o) atol
    [53] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fseek
    [54] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strdup
    [55] 0x00000000 undef IMP DS EXTref libc.a(shr.o) calloc
    [56] 0x00000000 undef IMP DS EXTref libc.a(shr.o) index
    [57] 0x00000000 undef IMP DS EXTref libc.a(shr.o) rewind
    [58] 0x00000000 undef IMP DS EXTref libc.a(shr.o) lstat64
    [59] 0x00000000 undef IMP DS EXTref libc.a(shr.o) stat64
    [60] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fputs
    [61] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fseeko64
    [62] 0x00000000 undef IMP DS EXTref libc.a(shr.o)
    localtime
    [63] 0x00000000 undef IMP DS EXTref libc.a(shr.o) waitpid
    [64] 0x00000000 undef IMP DS EXTref libc.a(shr.o) ftello64
    [65] 0x00000000 undef IMP DS EXTref libc.a(shr.o)
    setlocale
    [66] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fork
    [67] 0x00000000 undef IMP DS EXTref libc.a(shr.o) opendir
    [68] 0x00000000 undef IMP DS EXTref libc.a(shr.o) closedir
    [69] 0x00000000 undef IMP DS EXTref libc.a(shr.o) bcmp
    [70] 0x00000000 undef IMP DS EXTref libc.a(shr.o) rindex
    [71] 0x00000000 undef IMP DS EXTref libc.a(shr.o) pclose
    [72] 0x00000000 undef IMP DS EXTref libc.a(shr.o) popen
    [73] 0x00000000 undef IMP DS EXTref libc.a(shr.o) execv
    [74] 0x00000000 undef IMP DS EXTref libc.a(shr.o) time
    [75] 0x00000000 undef IMP DS EXTref libc.a(shr.o) wait
    [76] 0x00000000 undef IMP DS EXTref libc.a(shr.o) execvp
    [77] 0x00000000 undef IMP DS EXTref libc.a(shr.o) putenv
    [78] 0x00000000 undef IMP DS EXTref libc.a(shr.o) ffs
    [79] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strerror
    [80] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getwc
    [81] 0x00000000 undef IMP DS EXTref libc.a(shr.o) glob
    [82] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strtoll
    [83] 0x00000000 undef IMP DS EXTref libc.a(shr.o)
    __mod_init
    [84] 0x00000000 undef IMP RW EXTref libc.a(shr.o) __crt0v
    [85] 0x00002a74 .data ENTpt DS SECdef [noIMid] __start

    Here is the information on the OS level:

    $ oslevel -q
    Known Maintenance Levels
    ------------------------
    4.3.3.0
    4.3.2.0
    4.3.1.0
    $ /usr/sbin/instfix -i|grep ML
        All filesets for 4.3.1.0_AIX_ML were found.
        All filesets for 4.3.2.0_AIX_ML were found.
        All filesets for AIX43ML were found.
        All filesets for 4.3.1.0_AIX_ML were found.
        All filesets for 4.3.2.0_AIX_ML were found.
        Not all filesets for 4.3.3.0_AIX_ML were found.
        Not all filesets for 4330-01_AIX_ML were found.
        Not all filesets for 4330-02_AIX_ML were found.
        Not all filesets for 4320-02_AIX_ML were found.
        Not all filesets for 4330-03_AIX_ML were found.
        Not all filesets for 4330-04_AIX_ML were found.
        Not all filesets for 4330-05_AIX_ML were found.
        Not all filesets for 4330-06_AIX_ML were found.

    Again thanks for any tips...

    James
    >
    >Hi, James
    >
    >Have you tried the 'dump -Tv /usr/bin/make` . Please post the output.
    >Is it really an AIX 4.3.2? Or did you already an upgrade to AIX4.3.3 and
    it
    >does not show up? In this case, try oslevel -q for all Levels.
    >These symbol Resolution failures did we experience, when we tried to use
    >programs via NFS on a machine with a differnt OS-Version or different
    >MaintenanceLevel. You shoukd check your MaintenaceLevel on AIX with
    >'instfix -i|grep ML' and order the latest MaintenanceLevel.
    >
    >And I think this is NOT a ssh bug, but AIX.
    >
    >regards
    >
    >Alf Nicolaysen
    >
    >James <james00_c@yahoo.com> on 13.03.2003 03:07:47
    >To: secureshell@securityfocus.com
    >Subject: SSH 3.2.3 - Problem executing Make
    >
    >I am trying to compile the non-commerical version of
    >SSH 3.2.3 under AIX 4.3 and receiving the following
    >messages:
    >
    >$ make (i.e. /usr/local/bin/make)
    >exec(): 0509-036 Cannot load program make because of
    >the following errors:
    > 0509-130 Symbol resolution failed for make
    >because:
    > 0509-136 Symbol stpcpy (number 101) is not
    >exported from dependent module /usr/lib/libc.a(shr.o).
    > 0509-136 Symbol strsignal (number 102) is not
    >exported from dependent module /usr/lib/libc.a(shr.o).
    > 0509-192 Examine .loader section symbols with the
    > 'dump -Tv' command.
    >
    >or
    >
    >$ /usr/ccs/bin/make
    > cd . && CONFIG_FILES=CONFIG_HEADERS=sshconf.h /bin/sh
    >./config.status
    >creating sshconf.h
    >sshconf.h is unchanged
    > make all-recursive
    >exec(): 0509-036 Cannot load program make because of
    >the following
    >errors:
    > 0509-130 Symbol resolution failed for make
    >because:
    > 0509-136 Symbol stpcpy (number 101) is not
    >exported from dependent module /usr/lib/libc.a(shr.o).
    > 0509-136 Symbol strsignal (number 102) is not
    >exported from dependent module /usr/lib/libc.a(shr.o).
    > 0509-192 Examine .loader section symbols with the
    > 'dump -Tv' command.
    >make: 1254-004 The error code from the last command is
    >255.
    >
    >Stop.
    >---------------
    >
    >Before the "make" I can successfully run the
    >./configure command and the summary displayed is as
    >follows:
    >
    > Host type................: powerpc-ibm-aix4.3.2.0
    > CC.......................: gcc
    > CPPFLAGS.................:
    > CFLAGS...................: -g -O2 -Wall
    >-Wno-unknown-pragmas -D_LARGE_FILES
    > LDFLAGS..................:
    > LIBS.....................: -lm -lbsd -lnsl -ls
    >-lxcurses -ltermcap -lnsl -L/usr/local/lib
    > X includes...............: NO
    > X libraries..............:
    >
    > Debug enabled............: light
    > IPv6 support.............: yes
    > RSA support..............: yes
    > SSH1 internal emulation..: yes
    > SSH1 fallback capability.: yes
    > Kbd-interactive in server: yes
    > Submethods.............: passwd plugin
    > Kbd-interactive in client: yes
    > PAM support in server....: no
    > PAM support in client....: yes
    > SecurID support in server: no
    > SecurID support in client: yes
    > Kerberos5 support........: no
    > TCP Wrappers support.....: no
    > Terminal capability lib..: terminfo
    > X11 SECURITY extension...: no
    >
    > PTY Type.................: pts
    >
    > Installation prefix......: /usr/local
    > bin directory............: /usr/local/bin
    > sbin directory...........: /usr/local/sbin
    > man directory............: /usr/local/man
    > ssh2 etc directory.......: /etc/ssh2
    > PID-file directory.......: default
    >
    >I have also tried "./configure --enable-static" and
    >this didn't help either. A bug report to SSH was
    >submitted a few days back but since this is a
    >non-commerical version, I do not expect to hear from
    >them. Any tips on how to remedy this problem?
    >Thanks!
    >
    >James


  • Next message: Sriram S. - CTD, Chennai.: "Query regarding openssh-3.4"