Re: SSH 3.2.3 - Problem executing Make

From: James (james00_c@yahoo.com)
Date: 03/20/03

  • Next message: Jason Grove: "Re: SSH 3.2.3 - Problem executing Make"
    Date: 20 Mar 2003 03:39:30 -0000
    From: James <james00_c@yahoo.com>
    To: secureshell@securityfocus.com
    
    
    ('binary' encoding is not supported, stored as-is) In-Reply-To: <OF537E9E0D.61F36C3A-ONC1256CEE.003F4818@de.ibm.com>

    Hi Alf,

    Oops! Thanks for pointing that out. The following output from the second
    make is very similar to the previous one.

    $ /usr/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.

    Here are the "dumps" for the default make and it lists both the stpcpy and
    strsignal symbols.

    $ dump -Tv /usr/local/bin/make

    /usr/local/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) environ
    [1] 0x00000000 undef IMP RW EXTref libc.a(shr.o) errno
    [2] 0x00000000 undef IMP DS EXTref libc.a(shr.o) chdir
    [3] 0x00000000 undef IMP DS EXTref libc.a(shr.o) close
    [4] 0x00000000 undef IMP DS EXTref libc.a(shr.o) _exit
    [5] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getpid
    [6] 0x00000000 undef IMP DS EXTref libc.a(shr.o) kill
    [7] 0x00000000 undef IMP DS EXTref libc.a(shr.o) knlist
    [8] 0x00000000 undef IMP DS EXTref libc.a(shr.o) pipe
    [9] 0x00000000 undef IMP DS EXTref libc.a(shr.o) seteuid
    [10] 0x00000000 undef IMP DS EXTref libc.a(shr.o) setgid
    [11] 0x00000000 undef IMP DS EXTref libc.a(shr.o) setuid
    [12] 0x00000000 undef IMP DS EXTref libc.a(shr.o) sigprocmask
    [13] 0x00000000 undef IMP DS EXTref libc.a(shr.o) unlink
    [14] 0x00000000 undef IMP UA EXTref libc.a(shr.o)
    _system_configuration
    [15] 0x00003100 undef IMP XO EXTref libc.a(shr.o) __mulh
    [16] 0x00003280 undef IMP XO EXTref libc.a(shr.o) __divus
    [17] 0x00000000 undef IMP RW EXTref libc.a(shr.o) _iob
    [18] 0x00000000 undef IMP DS EXTref libc.a(shr.o) exit
    [19] 0x00000000 undef IMP DS EXTref libc.a(shr.o) atexit
    [20] 0x00000000 undef IMP DS EXTref libc.a(shr.o) free
    [21] 0x00000000 undef IMP DS EXTref libc.a(shr.o) malloc
    [22] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strlen
    [23] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fopen64
    [24] 0x00000000 undef IMP DS EXTref libc.a(shr.o) open64
    [25] 0x00000000 undef IMP DS EXTref libc.a(shr.o) lseek64
    [26] 0x00000000 undef IMP DS EXTref libc.a(shr.o) realloc
    [27] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fprintf
    [28] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getenv
    [29] 0x00000000 undef IMP DS EXTref libc.a(shr.o) atoi
    [30] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strchr
    [31] 0x00000000 undef IMP DS EXTref libc.a(shr.o) abort
    [32] 0x00000000 undef IMP DS EXTref libc.a(shr.o) sigemptyset
    [33] 0x00000000 undef IMP DS EXTref libc.a(shr.o) sigaction
    [34] 0x00000000 undef IMP DS EXTref libc.a(shr.o)
    sigaddset
    [35] 0x00000000 undef IMP DS EXTref libc.a(shr.o) printf
    [36] 0x00000000 undef IMP DS EXTref libc.a(shr.o) write
    [37] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fclose
    [38] 0x00000000 undef IMP DS EXTref libc.a(shr.o) memset
    [39] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fflush
    [40] 0x00000000 undef IMP DS EXTref libc.a(shr.o) __flsbuf
    [41] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fcntl
    [42] 0x00000000 undef IMP DS EXTref libc.a(shr.o) vfprintf
    [43] 0x00000000 undef IMP DS EXTref libc.a(shr.o) sprintf
    [44] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fwrite
    [45] 0x00000000 undef IMP DS EXTref libc.a(shr.o) read
    [46] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strncmp
    [47] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strrchr
    [48] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isupper
    [49] 0x00000000 undef IMP DS EXTref libc.a(shr.o) tolower
    [50] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fgets
    [51] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isdigit
    [52] 0x00000000 undef IMP DS EXTref libc.a(shr.o) atof
    [53] 0x00000000 undef IMP DS EXTref libc.a(shr.o) sscanf
    [54] 0x00000000 undef IMP DS EXTref libc.a(shr.o) signal
    [55] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isspace
    [56] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getuid
    [57] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fread
    [58] 0x00000000 undef IMP DS EXTref libc.a(shr.o) islower
    [59] 0x00000000 undef IMP DS EXTref libc.a(shr.o)
    _posix_getpwuid_r
    [60] 0x00000000 undef IMP DS EXTref libc.a(shr.o)
    _posix_getpwnam_r
    [61] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getpwnam
    [62] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strdup
    [63] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fstat64
    [64] 0x00000000 undef IMP DS EXTref libc.a(shr.o) stat64
    [65] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fputs
    [66] 0x00000000 undef IMP DS EXTref libc.a(shr.o) localtime
    [67] 0x00000000 undef IMP DS EXTref libc.a(shr.o) ctime
    [68] 0x00000000 undef IMP DS EXTref libc.a(shr.o) time
    [69] 0x00000000 undef IMP DS EXTref libc.a(shr.o) waitpid
    [70] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isalpha
    [71] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isprint
    [72] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isalnum
    [73] 0x00000000 undef IMP DS EXTref libc.a(shr.o) setlocale
    [74] 0x00000000 undef IMP DS EXTref libc.a(shr.o) qsort
    [75] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getcwd
    [76] 0x00000000 undef IMP DS EXTref libc.a(shr.o) dup2
    [77] 0x00000000 undef IMP DS EXTref libc.a(shr.o) dup
    [78] 0x00000000 undef IMP DS EXTref libc.a(shr.o) opendir
    [79] 0x00000000 undef IMP DS EXTref libc.a(shr.o) readdir
    [80] 0x00000000 undef IMP DS EXTref libc.a(shr.o) closedir
    [81] 0x00000000 undef IMP DS EXTref libc.a(shr.o) geteuid
    [82] 0x00000000 undef IMP DS EXTref libc.a(shr.o) memcmp
    [83] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getlogin
    [84] 0x00000000 undef IMP DS EXTref libc.a(shr.o) isxdigit
    [85] 0x00000000 undef IMP DS EXTref libc.a(shr.o) fdopen
    [86] 0x00000000 undef IMP DS EXTref libc.a(shr.o) wait
    [87] 0x00000000 undef IMP DS EXTref libc.a(shr.o) execvp
    [88] 0x00000000 undef IMP DS EXTref libc.a(shr.o) iscntrl
    [89] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getgid
    [90] 0x00000000 undef IMP DS EXTref libc.a(shr.o) ispunct
    [91] 0x00000000 undef IMP DS EXTref libc.a(shr.o) bsearch
    [92] 0x00000000 undef IMP DS EXTref libc.a(shr.o) puts
    [93] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strerror
    [94] 0x00000000 undef IMP DS EXTref libc.a(shr.o) getegid
    [95] 0x00000000 undef IMP DS EXTref libc.a(shr.o) mkstemp
    [96] 0x00000000 undef IMP DS EXTref libc.a(shr.o) remove
    [97] 0x00000000 undef IMP DS EXTref libc.a(shr.o) setlinebuf
    [98] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strcoll
    [99] 0x00000000 undef IMP DS EXTref libc.a(shr.o) setegid
    [100] 0x00000000 undef IMP DS EXTref libc.a(shr.o) vfork
    [101] 0x00000000 undef IMP DS EXTref libc.a(shr.o) stpcpy
    [102] 0x00000000 undef IMP DS EXTref libc.a(shr.o) strsignal
    [103] 0x00000000 undef IMP DS EXTref libc.a(shr.o) __mod_init
    [104] 0x00000000 undef IMP RW EXTref libc.a(shr.o) __crt0v
    [105] 0x20000fb4 .data EXP RW Ldef [noIMid] __dbargs
    [106] 0x200011b4 .data ENTpt DS SECdef [noIMid] __start
    [107] 0x2000136c .data EXP DS SECdef [noIMid] __dbsubc
    [108] 0x20001374 .data EXP DS SECdef [noIMid] __dbsubg
    [109] 0x2000137c .data EXP DS SECdef [noIMid] __dbsubn

    $ dump -H /usr/local/bin/make

    /usr/local/bin/make:
                            ***Loader Section***
                          Loader Header Information
    VERSION# #SYMtableENT #RELOCent LENidSTR
    0x00000001 0x0000006e 0x000008cc 0x00000062

    #IMPfilID OFFidSTR LENstrTBL OFFstrTBL
    0x00000002 0x00007400 0x000000b2 0x00007462

                            ***Import File Strings***
    INDEX PATH BASE
    MEMBER
    0 /usr/local/lib/gcc-lib/powerpc-ibm-
    aix4.3.3.0/2.95.2:/usr/local/lib:/usr/lib:/lib
                
    1 libc.a
    shr.o

    Any tips on what is do next to resolve the symbol resolution problem?
    Thanks!

    James

    >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
    >


  • Next message: Jason Grove: "Re: SSH 3.2.3 - Problem executing Make"