Re: I have link error:ld: Mismatched ABI for -lMrm, found /usr/lib/hpux64/libMrm.so (2147 Views)
Reply
Occasional Advisor
xinhua fahy
Posts: 11
Registered: ‎01-31-2003
Message 1 of 6 (2,147 Views)
Accepted Solution

I have link error:ld: Mismatched ABI for -lMrm, found /usr/lib/hpux64/libMrm.so

I tried to recompli all our code that used to be compiled and run a HP-UX 32 bit into a HP-UX 64 bit ia64 system.

Here are the compile result:
Linking replay ...
/opt/aCC/bin/aCC -Wl,-aarchive_shared -L/usr/lib/X11R6 -L. -L/opt/aCC/lib -L/opt
/graphics/common/lib -L/usr/lib/Motif2.1 -L/home/sun/REPLAY/lib replay.o libreplay.a -I/
opt/mlib/include -lMrm -lXm -lXp -lXt -lXext -lX11 -lXhp11 -AP -lX11 -lm -ldld -lMrm -lSM
-lICE -lXp -lXm -lXt -lXext -lX11 -mlp64 -lm -v +DD64 /home/DRS/lib/brslib.a -o replay
aCC: warning 901: unknown option: `-mlp64': use +help for online documentation.
LPATH=/usr/lib/hpux64:/opt/langtools/lib/hpux64
/usr/ccs/bin/ld -o replay -u___exit -umain -L/opt/aCC/lib/hpux64 -aarchive_shared -L /usr
/lib/X11R6 -L . -L /opt/aCC/lib -L /opt/graphics/common/lib -L /usr/lib/Motif2.1 -L /home/
sun/REPLAY/lib replay.o libreplay.a -lMrm -lXm -lXp -lXt -lXext -lX11 -lXhp11 -lX11 -lm -l
dld -lMrm -lSM -lICE -lXp -lXm -lXt -lXext -lX11 -lm /home/DRS/lib/brslib.a -lstd -lstream
-lCsup -lm -lunwind -lCsup -lc -ldl >/var/tmp/AAA021069 2>&1
/opt/aCC/bin/c++filt &2
ld: Mismatched ABI for -lMrm, found /usr/lib/hpux64/libMrm.so
Fatal error.
removing /var/tmp/AAA021069
*** Error exit code 1

"/tmp/file1" 13 lines, 1102 characters


Information about my system:
$ uname -a
HP-UX nas1 B.11.31 U ia64 0517787850 unlimited-user license
$ model
ia64 hp server rx2660
$

$ldd -v -r -d /usr/lib/hpux64/libMrm.so
find library=libXm.so.1; required by /usr/lib/hpux64/libMrm.so
libXm.so.1 => /usr/lib/hpux64/libXm.so.1

find library=libXt.so.1; required by /usr/lib/hpux64/libMrm.so
libXt.so.1 => /usr/lib/hpux64/libXt.so.1

find library=libSM.so.1; required by /usr/lib/hpux64/libMrm.so
libSM.so.1 => /usr/lib/hpux64/libSM.so.1

find library=libICE.so.1; required by /usr/lib/hpux64/libMrm.so
libICE.so.1 => /usr/lib/hpux64/libICE.so.1

find library=libXp.so.1; required by /usr/lib/hpux64/libMrm.so
libXp.so.1 => /usr/lib/hpux64/libXp.so.1

find library=libXext.so.1; required by /usr/lib/hpux64/libMrm.so
libXext.so.1 => /usr/lib/hpux64/libXext.so.1

find library=libX11.so.1; required by /usr/lib/hpux64/libMrm.so
libX11.so.1 => /usr/lib/hpux64/libX11.so.1

find library=libSM.so.1; required by /usr/lib/hpux64/libXt.so.1
libSM.so.1 => /usr/lib/hpux64/X11R6/libSM.so.1

find library=libICE.so.1; required by /usr/lib/hpux64/libXt.so.1
libICE.so.1 => /usr/lib/hpux64/X11R6/libICE.so.1
symbol not found: _memcpy (/usr/lib/hpux64/libMrm.so)
symbol not found: ctime_r (/usr/lib/hpux64/libMrm.so)
symbol not found: memmove (/usr/lib/hpux64/libMrm.so)
symbol not found: _memset (/usr/lib/hpux64/libMrm.so)
symbol not found: __errno (/usr/lib/hpux64/libMrm.so)
symbol not found: sprintf (/usr/lib/hpux64/libMrm.so)
symbol not found: unlink (/usr/lib/hpux64/libMrm.so)
symbol not found: strncat (/usr/lib/hpux64/libMrm.so)
symbol not found: strncpy (/usr/lib/hpux64/libMrm.so)
symbol not found: strncmp (/usr/lib/hpux64/libMrm.so)
symbol not found: sscanf (/usr/lib/hpux64/libMrm.so)
symbol not found: setlocale (/usr/lib/hpux64/libMrm.so)
symbol not found: close (/usr/lib/hpux64/libMrm.so)
symbol not found: creat (/usr/lib/hpux64/libMrm.so)
symbol not found: write (/usr/lib/hpux64/libMrm.so)
symbol not found: __memmove_ver (/usr/lib/hpux64/libMrm.so)
symbol not found: catgets (/usr/lib/hpux64/libMrm.so)
symbol not found: open (/usr/lib/hpux64/libMrm.so)
symbol not found: catopen (/usr/lib/hpux64/libMrm.so)
symbol not found: mbstowcs (/usr/lib/hpux64/libMrm.so)
symbol not found: read (/usr/lib/hpux64/libMrm.so)
symbol not found: strcat (/usr/lib/hpux64/libMrm.so)
symbol not found: strcmp (/usr/lib/hpux64/libMrm.so)
symbol not found: strcpy (/usr/lib/hpux64/libMrm.so)
symbol not found: lseek (/usr/lib/hpux64/libMrm.so)
symbol not found: strlen (/usr/lib/hpux64/libMrm.so)
symbol not found: time (/usr/lib/hpux64/libMrm.so)
symbol not found: _isalpha (/usr/lib/hpux64/libXm.so.1)
symbol not found: select (/usr/lib/hpux64/libXm.so.1)
symbol not found: calloc (/usr/lib/hpux64/libXm.so.1)
symbol not found: malloc (/usr/lib/hpux64/libXm.so.1)
symbol not found: realloc (/usr/lib/hpux64/libXm.so.1)
symbol not found: _memcpy (/usr/lib/hpux64/libXm.so.1)
symbol not found: _memcmp (/usr/lib/hpux64/libXm.so.1)
symbol not found: memchr (/usr/lib/hpux64/libXm.so.1)
symbol not found: memmove (/usr/lib/hpux64/libXm.so.1)
symbol not found: remove (/usr/lib/hpux64/libXm.so.1)
symbol not found: _memset (/usr/lib/hpux64/libXm.so.1)
symbol not found: opendir (/usr/lib/hpux64/libXm.so.1)
symbol not found: _isupper (/usr/lib/hpux64/libXm.so.1)
symbol not found: toupper (/usr/lib/hpux64/libXm.so.1)
symbol not found: isascii (/usr/lib/hpux64/libXm.so.1)
symbol not found: qsort (/usr/lib/hpux64/libXm.so.1)
symbol not found: getcwd (/usr/lib/hpux64/libXm.so.1)
symbol not found: getenv (/usr/lib/hpux64/libXm.so.1)
symbol not found: putenv (/usr/lib/hpux64/libXm.so.1)
symbol not found: localeconv (/usr/lib/hpux64/libXm.so.1)
symbol not found: getuid (/usr/lib/hpux64/libXm.so.1)
symbol not found: fgets (/usr/lib/hpux64/libXm.so.1)
symbol not found: ungetc (/usr/lib/hpux64/libXm.so.1)
symbol not found: nl_langinfo (/usr/lib/hpux64/libXm.so.1)
symbol not found: __nl_char_size (/usr/lib/hpux64/libXm.so.1)
symbol not found: snprintf (/usr/lib/hpux64/libXm.so.1)
symbol not found: printf (/usr/lib/hpux64/libXm.so.1)
symbol not found: sprintf (/usr/lib/hpux64/libXm.so.1)
symbol not found: fprintf (/usr/lib/hpux64/libXm.so.1)
symbol not found: getpwuid_r (/usr/lib/hpux64/libXm.so.1)
symbol not found: strncat (/usr/lib/hpux64/libXm.so.1)
symbol not found: strncpy (/usr/lib/hpux64/libXm.so.1)
symbol not found: strncmp (/usr/lib/hpux64/libXm.so.1)
symbol not found: __iob (/usr/lib/hpux64/libXm.so.1)
symbol not found: fopen (/usr/lib/hpux64/libXm.so.1)
symbol not found: strpbrk (/usr/lib/hpux64/libXm.so.1)
symbol not found: fread (/usr/lib/hpux64/libXm.so.1)
symbol not found: strrchr (/usr/lib/hpux64/libXm.so.1)
symbol not found: sscanf (/usr/lib/hpux64/libXm.so.1)
symbol not found: access (/usr/lib/hpux64/libXm.so.1)
symbol not found: fstat (/usr/lib/hpux64/libXm.so.1)
symbol not found: regcomp (/usr/lib/hpux64/libXm.so.1)
symbol not found: mbtowc (/usr/lib/hpux64/libXm.so.1)
symbol not found: closedir (/usr/lib/hpux64/libXm.so.1)
symbol not found: _exit (/usr/lib/hpux64/libXm.so.1)
symbol not found: regexec (/usr/lib/hpux64/libXm.so.1)
symbol not found: regfree (/usr/lib/hpux64/libXm.so.1)
symbol not found: __SB_masks (/usr/lib/hpux64/libXm.so.1)
symbol not found: setlocale (/usr/lib/hpux64/libXm.so.1)
symbol not found: strcasecmp (/usr/lib/hpux64/libXm.so.1)
symbol not found: sleep (/usr/lib/hpux64/libXm.so.1)
symbol not found: close (/usr/lib/hpux64/libXm.so.1)
symbol not found: fclose (/usr/lib/hpux64/libXm.so.1)
symbol not found: pclose (/usr/lib/hpux64/libXm.so.1)
symbol not found: wcsncat (/usr/lib/hpux64/libXm.so.1)
symbol not found: _isspace (/usr/lib/hpux64/libXm.so.1)
symbol not found: atoi (/usr/lib/hpux64/libXm.so.1)
symbol not found: write (/usr/lib/hpux64/libXm.so.1)
symbol not found: fwrite (/usr/lib/hpux64/libXm.so.1)
symbol not found: wcscat (/usr/lib/hpux64/libXm.so.1)
symbol not found: wcschr (/usr/lib/hpux64/libXm.so.1)
symbol not found: wcscpy (/usr/lib/hpux64/libXm.so.1)
symbol not found: wcslen (/usr/lib/hpux64/libXm.so.1)
symbol not found: __memmove_ver (/usr/lib/hpux64/libXm.so.1)
symbol not found: wctomb (/usr/lib/hpux64/libXm.so.1)
symbol not found: getpwnam_r (/usr/lib/hpux64/libXm.so.1)
symbol not found: exit (/usr/lib/hpux64/libXm.so.1)
symbol not found: fork (/usr/lib/hpux64/libXm.so.1)
symbol not found: free (/usr/lib/hpux64/libXm.so.1)
symbol not found: getc (/usr/lib/hpux64/libXm.so.1)
symbol not found: catgets (/usr/lib/hpux64/libXm.so.1)
symbol not found: _isdigit (/usr/lib/hpux64/libXm.so.1)
symbol not found: open (/usr/lib/hpux64/libXm.so.1)
symbol not found: popen (/usr/lib/hpux64/libXm.so.1)
symbol not found: _islower (/usr/lib/hpux64/libXm.so.1)
symbol not found: fdopen (/usr/lib/hpux64/libXm.so.1)
symbol not found: pipe (/usr/lib/hpux64/libXm.so.1)
symbol not found: wcstombs (/usr/lib/hpux64/libXm.so.1)
symbol not found: catopen (/usr/lib/hpux64/libXm.so.1)
symbol not found: mbstowcs (/usr/lib/hpux64/libXm.so.1)
symbol not found: strtok_r (/usr/lib/hpux64/libXm.so.1)
symbol not found: tolower (/usr/lib/hpux64/libXm.so.1)
symbol not found: readdir_r (/usr/lib/hpux64/libXm.so.1)
symbol not found: read (/usr/lib/hpux64/libXm.so.1)
symbol not found: strcat (/usr/lib/hpux64/libXm.so.1)
symbol not found: mblen (/usr/lib/hpux64/libXm.so.1)
symbol not found: strchr (/usr/lib/hpux64/libXm.so.1)
symbol not found: strcmp (/usr/lib/hpux64/libXm.so.1)
symbol not found: strcpy (/usr/lib/hpux64/libXm.so.1)
symbol not found: strdup (/usr/lib/hpux64/libXm.so.1)
symbol not found: strlen (/usr/lib/hpux64/libXm.so.1)
symbol not found: strtod (/usr/lib/hpux64/libXm.so.1)
symbol not found: stat (/usr/lib/hpux64/libXm.so.1)
symbol not found: _ispunct (/usr/lib/hpux64/libXm.so.1)
symbol not found: __thread_cond_destroy (/usr/lib/hpux64/libXt.so.1)
symbol not found: select (/usr/lib/hpux64/libXt.so.1)
symbol not found: calloc (/usr/lib/hpux64/libXt.so.1)
symbol not found: malloc (/usr/lib/hpux64/libXt.so.1)
symbol not found: realloc (/usr/lib/hpux64/libXt.so.1)
symbol not found: pthread_mutexattr_init (/usr/lib/hpux64/libXt.so.1)
symbol not found: _memcpy (/usr/lib/hpux64/libXt.so.1)
symbol not found: _memcmp (/usr/lib/hpux64/libXt.so.1)
symbol not found: memmove (/usr/lib/hpux64/libXt.so.1)
symbol not found: _memset (/usr/lib/hpux64/libXt.so.1)
symbol not found: __thread_cond_signal (/usr/lib/hpux64/libXt.so.1)
symbol not found: __thread_self (/usr/lib/hpux64/libXt.so.1)
symbol not found: freeaddrinfo (/usr/lib/hpux64/libXt.so.1)
symbol not found: __thread_cond_init_default (/usr/lib/hpux64/libXt.so.1)
symbol not found: gethostname (/usr/lib/hpux64/libXt.so.1)
symbol not found: __errno (/usr/lib/hpux64/libXt.so.1)
symbol not found: qsort (/usr/lib/hpux64/libXt.so.1)
symbol not found: getcwd (/usr/lib/hpux64/libXt.so.1)
symbol not found: getenv (/usr/lib/hpux64/libXt.so.1)
symbol not found: getpid (/usr/lib/hpux64/libXt.so.1)
symbol not found: getuid (/usr/lib/hpux64/libXt.so.1)
symbol not found: snprintf (/usr/lib/hpux64/libXt.so.1)
symbol not found: printf (/usr/lib/hpux64/libXt.so.1)
symbol not found: sprintf (/usr/lib/hpux64/libXt.so.1)
symbol not found: fprintf (/usr/lib/hpux64/libXt.so.1)
symbol not found: getpwuid_r (/usr/lib/hpux64/libXt.so.1)
symbol not found: __thread_mutex_destroy (/usr/lib/hpux64/libXt.so.1)
symbol not found: strncpy (/usr/lib/hpux64/libXt.so.1)
symbol not found: getaddrinfo (/usr/lib/hpux64/libXt.so.1)
symbol not found: __iob (/usr/lib/hpux64/libXt.so.1)
symbol not found: pthread_mutex_init (/usr/lib/hpux64/libXt.so.1)
symbol not found: fopen (/usr/lib/hpux64/libXt.so.1)
symbol not found: __thread_mutex_unlock (/usr/lib/hpux64/libXt.so.1)
symbol not found: gettimeofday (/usr/lib/hpux64/libXt.so.1)
symbol not found: strrchr (/usr/lib/hpux64/libXt.so.1)
symbol not found: access (/usr/lib/hpux64/libXt.so.1)
symbol not found: __SB_masks (/usr/lib/hpux64/libXt.so.1)
symbol not found: setlocale (/usr/lib/hpux64/libXt.so.1)
symbol not found: __thread_cond_wait (/usr/lib/hpux64/libXt.so.1)
symbol not found: fclose (/usr/lib/hpux64/libXt.so.1)
symbol not found: pthread_mutexattr_destroy (/usr/lib/hpux64/libXt.so.1)
symbol not found: getnameinfo (/usr/lib/hpux64/libXt.so.1)
symbol not found: atof (/usr/lib/hpux64/libXt.so.1)
symbol not found: __memmove_ver (/usr/lib/hpux64/libXt.so.1)
symbol not found: __thread_mutex_lock (/usr/lib/hpux64/libXt.so.1)
symbol not found: getpwnam_r (/usr/lib/hpux64/libXt.so.1)
symbol not found: exit (/usr/lib/hpux64/libXt.so.1)
symbol not found: free (/usr/lib/hpux64/libXt.so.1)
symbol not found: geteuid (/usr/lib/hpux64/libXt.so.1)
symbol not found: _isdigit (/usr/lib/hpux64/libXt.so.1)
symbol not found: pthread_mutexattr_settype (/usr/lib/hpux64/libXt.so.1)
symbol not found: strcat (/usr/lib/hpux64/libXt.so.1)
symbol not found: strchr (/usr/lib/hpux64/libXt.so.1)
symbol not found: strcmp (/usr/lib/hpux64/libXt.so.1)
symbol not found: strcpy (/usr/lib/hpux64/libXt.so.1)
symbol not found: strlen (/usr/lib/hpux64/libXt.so.1)
symbol not found: strtok (/usr/lib/hpux64/libXt.so.1)
symbol not found: stat (/usr/lib/hpux64/libXt.so.1)
symbol not found: malloc (/usr/lib/hpux64/libSM.so.1)
symbol not found: _memcpy (/usr/lib/hpux64/libSM.so.1)
symbol not found: _memset (/usr/lib/hpux64/libSM.so.1)
symbol not found: gethostname (/usr/lib/hpux64/libSM.so.1)
symbol not found: getenv (/usr/lib/hpux64/libSM.so.1)
symbol not found: getpid (/usr/lib/hpux64/libSM.so.1)
symbol not found: sprintf (/usr/lib/hpux64/libSM.so.1)
symbol not found: fprintf (/usr/lib/hpux64/libSM.so.1)
symbol not found: strncpy (/usr/lib/hpux64/libSM.so.1)
symbol not found: __iob (/usr/lib/hpux64/libSM.so.1)
symbol not found: inet_ntoa (/usr/lib/hpux64/libSM.so.1)
symbol not found: atoi (/usr/lib/hpux64/libSM.so.1)
symbol not found: gethostbyname (/usr/lib/hpux64/libSM.so.1)
symbol not found: exit (/usr/lib/hpux64/libSM.so.1)
symbol not found: free (/usr/lib/hpux64/libSM.so.1)
symbol not found: strcat (/usr/lib/hpux64/libSM.so.1)
symbol not found: strchr (/usr/lib/hpux64/libSM.so.1)
symbol not found: strcpy (/usr/lib/hpux64/libSM.so.1)
symbol not found: strlen (/usr/lib/hpux64/libSM.so.1)
symbol not found: time (/usr/lib/hpux64/libSM.so.1)
symbol not found: mkdir (/usr/lib/hpux64/libICE.so.1)
symbol not found: alarm (/usr/lib/hpux64/libICE.so.1)
symbol not found: umask (/usr/lib/hpux64/libICE.so.1)
symbol not found: calloc (/usr/lib/hpux64/libICE.so.1)
symbol not found: malloc (/usr/lib/hpux64/libICE.so.1)
symbol not found: _memcpy (/usr/lib/hpux64/libICE.so.1)
symbol not found: ioctl (/usr/lib/hpux64/libICE.so.1)
symbol not found: _isupper (/usr/lib/hpux64/libICE.so.1)
symbol not found: gethostname (/usr/lib/hpux64/libICE.so.1)
symbol not found: isascii (/usr/lib/hpux64/libICE.so.1)
symbol not found: __errno (/usr/lib/hpux64/libICE.so.1)
symbol not found: fcntl (/usr/lib/hpux64/libICE.so.1)
symbol not found: listen (/usr/lib/hpux64/libICE.so.1)
symbol not found: getenv (/usr/lib/hpux64/libICE.so.1)
symbol not found: readv (/usr/lib/hpux64/libICE.so.1)
symbol not found: setjmp (/usr/lib/hpux64/libICE.so.1)
symbol not found: getpid (/usr/lib/hpux64/libICE.so.1)
symbol not found: longjmp (/usr/lib/hpux64/libICE.so.1)
symbol not found: getsockopt (/usr/lib/hpux64/libICE.so.1)
symbol not found: printf (/usr/lib/hpux64/libICE.so.1)
symbol not found: sprintf (/usr/lib/hpux64/libICE.so.1)
symbol not found: writev (/usr/lib/hpux64/libICE.so.1)
symbol not found: fprintf (/usr/lib/hpux64/libICE.so.1)
symbol not found: inet_addr (/usr/lib/hpux64/libICE.so.1)
symbol not found: unlink (/usr/lib/hpux64/libICE.so.1)
symbol not found: strncpy (/usr/lib/hpux64/libICE.so.1)
symbol not found: connect (/usr/lib/hpux64/libICE.so.1)
symbol not found: __iob (/usr/lib/hpux64/libICE.so.1)
symbol not found: fopen (/usr/lib/hpux64/libICE.so.1)
symbol not found: gettimeofday (/usr/lib/hpux64/libICE.so.1)
symbol not found: fread (/usr/lib/hpux64/libICE.so.1)
symbol not found: getsockname (/usr/lib/hpux64/libICE.so.1)
symbol not found: gethostbyaddr (/usr/lib/hpux64/libICE.so.1)
symbol not found: strrchr (/usr/lib/hpux64/libICE.so.1)
symbol not found: accept (/usr/lib/hpux64/libICE.so.1)
symbol not found: access (/usr/lib/hpux64/libICE.so.1)
symbol not found: socket (/usr/lib/hpux64/libICE.so.1)
symbol not found: getservbyname (/usr/lib/hpux64/libICE.so.1)
symbol not found: __SB_masks (/usr/lib/hpux64/libICE.so.1)
symbol not found: chmod (/usr/lib/hpux64/libICE.so.1)
symbol not found: sleep (/usr/lib/hpux64/libICE.so.1)
symbol not found: close (/usr/lib/hpux64/libICE.so.1)
symbol not found: inet_ntoa (/usr/lib/hpux64/libICE.so.1)
symbol not found: fclose (/usr/lib/hpux64/libICE.so.1)
symbol not found: srand (/usr/lib/hpux64/libICE.so.1)
symbol not found: creat (/usr/lib/hpux64/libICE.so.1)
symbol not found: bind (/usr/lib/hpux64/libICE.so.1)
symbol not found: write (/usr/lib/hpux64/libICE.so.1)
symbol not found: fwrite (/usr/lib/hpux64/libICE.so.1)
symbol not found: getpeername (/usr/lib/hpux64/libICE.so.1)
symbol not found: gethostbyname (/usr/lib/hpux64/libICE.so.1)
symbol not found: shutdown (/usr/lib/hpux64/libICE.so.1)
symbol not found: exit (/usr/lib/hpux64/libICE.so.1)
symbol not found: free (/usr/lib/hpux64/libICE.so.1)
symbol not found: _isdigit (/usr/lib/hpux64/libICE.so.1)
symbol not found: dlget (/usr/lib/hpux64/libICE.so.1)
symbol not found: link (/usr/lib/hpux64/libICE.so.1)
symbol not found: dlgetname (/usr/lib/hpux64/libICE.so.1)
symbol not found: tolower (/usr/lib/hpux64/libICE.so.1)
symbol not found: rand (/usr/lib/hpux64/libICE.so.1)
symbol not found: read (/usr/lib/hpux64/libICE.so.1)
symbol not found: strcat (/usr/lib/hpux64/libICE.so.1)
symbol not found: strchr (/usr/lib/hpux64/libICE.so.1)
symbol not found: strcmp (/usr/lib/hpux64/libICE.so.1)
symbol not found: strcpy (/usr/lib/hpux64/libICE.so.1)
symbol not found: strlen (/usr/lib/hpux64/libICE.so.1)
symbol not found: strstr (/usr/lib/hpux64/libICE.so.1)
symbol not found: strtol (/usr/lib/hpux64/libICE.so.1)
symbol not found: setsockopt (/usr/lib/hpux64/libICE.so.1)
symbol not found: stat (/usr/lib/hpux64/libICE.so.1)
symbol not found: time (/usr/lib/hpux64/libICE.so.1)
symbol not found: signal (/usr/lib/hpux64/libICE.so.1)
symbol not found: malloc (/usr/lib/hpux64/libXp.so.1)
symbol not found: _memcpy (/usr/lib/hpux64/libXp.so.1)
symbol not found: memmove (/usr/lib/hpux64/libXp.so.1)
symbol not found: getenv (/usr/lib/hpux64/libXp.so.1)
symbol not found: getuid (/usr/lib/hpux64/libXp.so.1)
symbol not found: printf (/usr/lib/hpux64/libXp.so.1)
symbol not found: sprintf (/usr/lib/hpux64/libXp.so.1)
symbol not found: getpwuid_r (/usr/lib/hpux64/libXp.so.1)
symbol not found: fopen (/usr/lib/hpux64/libXp.so.1)
symbol not found: access (/usr/lib/hpux64/libXp.so.1)
symbol not found: setlocale (/usr/lib/hpux64/libXp.so.1)
symbol not found: fclose (/usr/lib/hpux64/libXp.so.1)
symbol not found: __memmove_ver (/usr/lib/hpux64/libXp.so.1)
symbol not found: free (/usr/lib/hpux64/libXp.so.1)
symbol not found: strcat (/usr/lib/hpux64/libXp.so.1)
symbol not found: strchr (/usr/lib/hpux64/libXp.so.1)
symbol not found: strcmp (/usr/lib/hpux64/libXp.so.1)
symbol not found: strcpy (/usr/lib/hpux64/libXp.so.1)
symbol not found: strlen (/usr/lib/hpux64/libXp.so.1)
symbol not found: strstr (/usr/lib/hpux64/libXp.so.1)
symbol not found: calloc (/usr/lib/hpux64/libXext.so.1)
symbol not found: malloc (/usr/lib/hpux64/libXext.so.1)
symbol not found: realloc (/usr/lib/hpux64/libXext.so.1)
symbol not found: _memcpy (/usr/lib/hpux64/libXext.so.1)
symbol not found: memmove (/usr/lib/hpux64/libXext.so.1)
symbol not found: _memset (/usr/lib/hpux64/libXext.so.1)
symbol not found: getenv (/usr/lib/hpux64/libXext.so.1)
symbol not found: printf (/usr/lib/hpux64/libXext.so.1)
symbol not found: sprintf (/usr/lib/hpux64/libXext.so.1)
symbol not found: fprintf (/usr/lib/hpux64/libXext.so.1)
symbol not found: __iob (/usr/lib/hpux64/libXext.so.1)
symbol not found: __memmove_ver (/usr/lib/hpux64/libXext.so.1)
symbol not found: exit (/usr/lib/hpux64/libXext.so.1)
symbol not found: free (/usr/lib/hpux64/libXext.so.1)
symbol not found: strcpy (/usr/lib/hpux64/libXext.so.1)
symbol not found: __thread_cond_destroy (/usr/lib/hpux64/libX11.so.1)
symbol not found: fileno (/usr/lib/hpux64/libX11.so.1)
symbol not found: select (/usr/lib/hpux64/libX11.so.1)
symbol not found: calloc (/usr/lib/hpux64/libX11.so.1)
symbol not found: malloc (/usr/lib/hpux64/libX11.so.1)
symbol not found: realloc (/usr/lib/hpux64/libX11.so.1)
symbol not found: _memcpy (/usr/lib/hpux64/libX11.so.1)
symbol not found: uname (/usr/lib/hpux64/libX11.so.1)
symbol not found: memmove (/usr/lib/hpux64/libX11.so.1)
symbol not found: _memset (/usr/lib/hpux64/libX11.so.1)
symbol not found: memset (/usr/lib/hpux64/libX11.so.1)
symbol not found: __thread_cond_signal (/usr/lib/hpux64/libX11.so.1)
symbol not found: ioctl (/usr/lib/hpux64/libX11.so.1)
symbol not found: munmap (/usr/lib/hpux64/libX11.so.1)
symbol not found: __thread_self (/usr/lib/hpux64/libX11.so.1)
symbol not found: freeaddrinfo (/usr/lib/hpux64/libX11.so.1)
symbol not found: _isupper (/usr/lib/hpux64/libX11.so.1)
symbol not found: __thread_cond_init_default (/usr/lib/hpux64/libX11.so.1)
symbol not found: toupper (/usr/lib/hpux64/libX11.so.1)
symbol not found: gethostname (/usr/lib/hpux64/libX11.so.1)
symbol not found: isascii (/usr/lib/hpux64/libX11.so.1)
symbol not found: __errno (/usr/lib/hpux64/libX11.so.1)
symbol not found: ferror (/usr/lib/hpux64/libX11.so.1)
symbol not found: iconv_open (/usr/lib/hpux64/libX11.so.1)
symbol not found: fcntl (/usr/lib/hpux64/libX11.so.1)
symbol not found: qsort (/usr/lib/hpux64/libX11.so.1)
symbol not found: strerror (/usr/lib/hpux64/libX11.so.1)
symbol not found: getenv (/usr/lib/hpux64/libX11.so.1)
symbol not found: readv (/usr/lib/hpux64/libX11.so.1)
symbol not found: getpid (/usr/lib/hpux64/libX11.so.1)
symbol not found: msem_remove (/usr/lib/hpux64/libX11.so.1)
symbol not found: getuid (/usr/lib/hpux64/libX11.so.1)
symbol not found: fgets (/usr/lib/hpux64/libX11.so.1)
symbol not found: ungetc (/usr/lib/hpux64/libX11.so.1)
symbol not found: rewind (/usr/lib/hpux64/libX11.so.1)
symbol not found: nl_langinfo (/usr/lib/hpux64/libX11.so.1)
symbol not found: __nl_char_size (/usr/lib/hpux64/libX11.so.1)
symbol not found: printf (/usr/lib/hpux64/libX11.so.1)
symbol not found: sprintf (/usr/lib/hpux64/libX11.so.1)
symbol not found: writev (/usr/lib/hpux64/libX11.so.1)
symbol not found: fprintf (/usr/lib/hpux64/libX11.so.1)
symbol not found: inet_addr (/usr/lib/hpux64/libX11.so.1)
symbol not found: getpwuid_r (/usr/lib/hpux64/libX11.so.1)
symbol not found: unlink (/usr/lib/hpux64/libX11.so.1)
symbol not found: __thread_mutex_destroy (/usr/lib/hpux64/libX11.so.1)
symbol not found: strncat (/usr/lib/hpux64/libX11.so.1)
symbol not found: strncpy (/usr/lib/hpux64/libX11.so.1)
symbol not found: strncmp (/usr/lib/hpux64/libX11.so.1)
symbol not found: connect (/usr/lib/hpux64/libX11.so.1)
symbol not found: getaddrinfo (/usr/lib/hpux64/libX11.so.1)
symbol not found: __iob (/usr/lib/hpux64/libX11.so.1)
symbol not found: __thread_mutex_init (/usr/lib/hpux64/libX11.so.1)
symbol not found: fopen (/usr/lib/hpux64/libX11.so.1)
symbol not found: __thread_mutex_unlock (/usr/lib/hpux64/libX11.so.1)
symbol not found: fputs (/usr/lib/hpux64/libX11.so.1)
symbol not found: fread (/usr/lib/hpux64/libX11.so.1)
symbol not found: getsockname (/usr/lib/hpux64/libX11.so.1)
symbol not found: strrchr (/usr/lib/hpux64/libX11.so.1)
symbol not found: fscanf (/usr/lib/hpux64/libX11.so.1)
symbol not found: sscanf (/usr/lib/hpux64/libX11.so.1)
symbol not found: access (/usr/lib/hpux64/libX11.so.1)
symbol not found: fstat (/usr/lib/hpux64/libX11.so.1)
symbol not found: socket (/usr/lib/hpux64/libX11.so.1)
symbol not found: mbtowc (/usr/lib/hpux64/libX11.so.1)
symbol not found: msem_unlock (/usr/lib/hpux64/libX11.so.1)
symbol not found: __thread_cond_broadcast (/usr/lib/hpux64/libX11.so.1)
symbol not found: __SB_masks (/usr/lib/hpux64/libX11.so.1)
symbol not found: setlocale (/usr/lib/hpux64/libX11.so.1)
symbol not found: wcwidth (/usr/lib/hpux64/libX11.so.1)
symbol not found: sleep (/usr/lib/hpux64/libX11.so.1)
symbol not found: __thread_cond_wait (/usr/lib/hpux64/libX11.so.1)
symbol not found: close (/usr/lib/hpux64/libX11.so.1)
symbol not found: fclose (/usr/lib/hpux64/libX11.so.1)
symbol not found: getnameinfo (/usr/lib/hpux64/libX11.so.1)
symbol not found: _isspace (/usr/lib/hpux64/libX11.so.1)
symbol not found: msem_lock (/usr/lib/hpux64/libX11.so.1)
symbol not found: atoi (/usr/lib/hpux64/libX11.so.1)
symbol not found: _isgraph (/usr/lib/hpux64/libX11.so.1)
symbol not found: write (/usr/lib/hpux64/libX11.so.1)
symbol not found: fwrite (/usr/lib/hpux64/libX11.so.1)
symbol not found: getpeername (/usr/lib/hpux64/libX11.so.1)
symbol not found: _isxdigit (/usr/lib/hpux64/libX11.so.1)
symbol not found: __memmove_ver (/usr/lib/hpux64/libX11.so.1)
symbol not found: __thread_mutex_lock (/usr/lib/hpux64/libX11.so.1)
symbol not found: gethostbyname (/usr/lib/hpux64/libX11.so.1)
symbol not found: wctomb (/usr/lib/hpux64/libX11.so.1)
symbol not found: shutdown (/usr/lib/hpux64/libX11.so.1)
symbol not found: getpwnam_r (/usr/lib/hpux64/libX11.so.1)
symbol not found: exit (/usr/lib/hpux64/libX11.so.1)
symbol not found: free (/usr/lib/hpux64/libX11.so.1)
symbol not found: getc (/usr/lib/hpux64/libX11.so.1)
symbol not found: geteuid (/usr/lib/hpux64/libX11.so.1)
symbol not found: recvmsg (/usr/lib/hpux64/libX11.so.1)
symbol not found: _isdigit (/usr/lib/hpux64/libX11.so.1)
symbol not found: isdigit (/usr/lib/hpux64/libX11.so.1)
symbol not found: __tolower (/usr/lib/hpux64/libX11.so.1)
symbol not found: dlget (/usr/lib/hpux64/libX11.so.1)
symbol not found: dlgetname (/usr/lib/hpux64/libX11.so.1)
symbol not found: mmap (/usr/lib/hpux64/libX11.so.1)
symbol not found: open (/usr/lib/hpux64/libX11.so.1)
symbol not found: _islower (/usr/lib/hpux64/libX11.so.1)
symbol not found: mbstowcs (/usr/lib/hpux64/libX11.so.1)
symbol not found: tolower (/usr/lib/hpux64/libX11.so.1)
symbol not found: putc (/usr/lib/hpux64/libX11.so.1)
symbol not found: _isprint (/usr/lib/hpux64/libX11.so.1)
symbol not found: read (/usr/lib/hpux64/libX11.so.1)
symbol not found: strcat (/usr/lib/hpux64/libX11.so.1)
symbol not found: mblen (/usr/lib/hpux64/libX11.so.1)
symbol not found: strchr (/usr/lib/hpux64/libX11.so.1)
symbol not found: strcmp (/usr/lib/hpux64/libX11.so.1)
symbol not found: strcpy (/usr/lib/hpux64/libX11.so.1)
symbol not found: lseek (/usr/lib/hpux64/libX11.so.1)
symbol not found: strlen (/usr/lib/hpux64/libX11.so.1)
symbol not found: iconv_close (/usr/lib/hpux64/libX11.so.1)
symbol not found: strstr (/usr/lib/hpux64/libX11.so.1)
symbol not found: strtok (/usr/lib/hpux64/libX11.so.1)
symbol not found: strtol (/usr/lib/hpux64/libX11.so.1)
symbol not found: iconv (/usr/lib/hpux64/libX11.so.1)
symbol not found: setsockopt (/usr/lib/hpux64/libX11.so.1)
symbol not found: stat (/usr/lib/hpux64/libX11.so.1)


$$ chatr /usr/lib/hpux64/libMrm.so
/usr/lib/hpux64/libMrm.so:
64-bit ELF shared library
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /usr/lib/hpux64
internal name:
libMrm.so.1
shared library list:
libXm.so.1
libXt.so.1
libSM.so.1
libICE.so.1
libXp.so.1
libXext.so.1
libX11.so.1
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,894
Registered: ‎03-06-2006
Message 2 of 6 (2,147 Views)

Re: I have link error:ld: Mismatched ABI for -lMrm, found /usr/lib/hpux64/libMrm.so

>-Wl,-aarchive_shared

Any particular reason you are using this?

>-L/opt/aCC/lib

There are no libs here on Integrity, remove it.

>-AP

Any reason you are using this old STL? This will be deprecated in the future.

>-mlp64 -lm -v +DD64
aCC: warning 901: unknown option: `-mlp64':

Remove the gcc -mlp64 option. Also no need to add -lm for aCC.

>ld: Mismatched ABI for -lMrm, found /usr/lib/hpux64/libMrm.so

Hmm. What does this show "file replay.o"?
This probably shows this is compiled with the default +DD32. You must consistently compile and link with the same bitness.

Also, there is no need to port to +DD64 when running on HP-UX Integrity.

>$ldd -v -r -d /usr/lib/hpux64/libMrm.so

No need to use this when you have chatr(1).
Please use plain text.
Occasional Advisor
xinhua fahy
Posts: 11
Registered: ‎01-31-2003
Message 3 of 6 (2,147 Views)

Re: I have link error:ld: Mismatched ABI for -lMrm, found /usr/lib/hpux64/libMrm.so

I did not write this Makefile. I was introduced to it just yesterday. Some of them do not make sense to me too.

I got rid of the stuff you mentioned, but it had the same error. Also I run "file replay.o"

$file replay.o
replay.o: ELF-32 relocatable object file -IA64

i am using Tom Schimitt's accout. Can you replay email to xinhua.fahy@vany.mil?
Thanks,


Xinhua
Please use plain text.
Occasional Advisor
xinhua fahy
Posts: 11
Registered: ‎01-31-2003
Message 4 of 6 (2,147 Views)

Re: I have link error:ld: Mismatched ABI for -lMrm, found /usr/lib/hpux64/libMrm.so

This problem has solved, the build went a lot further.

Thanks,
Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,894
Registered: ‎03-06-2006
Message 5 of 6 (2,147 Views)

Re: I have link error:ld: Mismatched ABI for -lMrm, found /usr/lib/hpux64/libMrm.so

[ Edited ]

>-Wl,-aarchive_shared
>I did not write this Makefile. I got rid of the stuff you mentioned

Then you need to be careful. I assume you know why you have specific options. One possible reason is to get the libm.a version for performance.

>replay.o: ELF-32 relocatable object file -IA64

So you are trying to mix 32 with 64 bit.

> This problem has solved, the build went a lot further.

If you are happy with the answers you were given, please read the following about assigning points:
http://h30499.www3.hp.com/t5/help/faqpage/faq-category-id/kudos#kudos

Please use plain text.
Occasional Advisor
xinhua fahy
Posts: 11
Registered: ‎01-31-2003
Message 6 of 6 (2,147 Views)

Re: I have link error:ld: Mismatched ABI for -lMrm, found /usr/lib/hpux64/libMrm.so

It works now.
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation