installing on debian 2.2.17

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
installing on debian 2.2.17

Submitted by Anonymous on Wed, 09/11/2002 - 19:26. General Questions
./cofigure worked
but during make I get the following message

gcc -g -O2 -Wall -Wno-unused -Wno-comment -o .libs/wmldbcreate wmldbcreate.o ../../lib/Xm/.libs/libXm.so -L/usr/X11R6/lib -lXt -lXext -lXp -lX11 -Wl,--rpath -Wl,/usr/X11R6/lib
/usr/X11R6/lib/libXt.so undefined reference to `atexit@@GLIBC_2.0`
/usr/X11R6/lib/libXt.so undefined reference to `getpwnam_r@@GLIBC_2.0`
/usr/X11R6/lib/libXt.so undefined reference to `getpwuid_r@@GLIBC_2.0`
../../lib/Xm/.libs/libXm.so undefined reference to `atexit`
collect2 ld returned 1 exit status
make[1] *** [wmldbcreate] Error 1
make[1] Leaving directory `/usr/local/temp/openMotif-2.2.2/tools/wml`
make *** [all-recursive] Error 1

help

Anonymous

Hi,

/usr/X11R6/lib/libXt.so undefined reference to `atexit@@GLIBC_2.0`

Ok. "Gnu C Library". Its a library that contains C code like "printf", console control, etc...

I think your GLIBC is too old for the OpenMotif you downloaded. Your choices are to upgrade debian or downgrade OpenMotif versions.

But for debian. More specifically. Use "apt-get update" to update your list of available packages. Then use a package manager (ie, dselect) and look for newer GLIBC libraries.

Given that. The package manager should install newer GLIBC libs and make the links for them in /lib. It would then run "ldconfig" after which you coudl try compiling again.

Hope that helps,

john

P.S.

Here is what 2.1 libs look like

-rwxr-xr-x 1 root root 72640 Aug 28 1999 ld-2.1.1.so
lrwxrwxrwx 1 root root 11 Oct 17 0208 ld-linux.so.2 -> ld-2.1.1.so
-rwxr-xr-x 1 root root 931088 Aug 28 1999 libc-2.1.1.so
lrwxrwxrwx 1 root root 13 Oct 17 0208 libc.so.6 -rwxr-xr-x 1 root root 72640 Aug 28 1999 ld-2.1.1.so
lrwxrwxrwx 1 root root 11 Oct 17 0208 ld-linux.so.2 -> ld-2.1.1.so
-rwxr-xr-x 1 root root 931088 Aug 28 1999 libc-2.1.1.so
lrwxrwxrwx 1 root root 13 Oct 17 0208 libc.so.6 -> libc-2.1.1.so
-> libc-2.1.1.so