"Not tainted" and glib-1.2 and 2 compile error: Undefined reference to atexit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

On a debian-system I installed on a friend's pc the 2.4 kernel (don`t
know right now, which one excaclty) a have a reproducable kernel-oops
(register dump etc), static address beginning with 0*0010:[<...
and then it sais "not tainted". First I want to ask, if this does means,
it's really a kernel-fault (not related to any user-thread), and second 
if my assumption can be true, that the cause is a "wrong" character within
the filesystem, that's been mounted, where I did the "ls" and third: What
to do in such a case? I installed and "defaulted" some good codepages in
the kernel... and it's not easy to figure out the file with wrong chars,
as there are hundreds...

-----------

Didn't dare to place it in a new thread, 'cause it's OT! Help from
anybody is also kindly asked for for my very anoying problem with the
(old?) function atexit(), which appears to be referenced by gutils.lo
(e.g.), but I could not figure out any code within glib (I checked
g_atexit(), and as I have HAVE_ON_EXIT, but not HAVE_ATEXIT), I think
the error comes from somewhere else, not gained to figure out from
where, and searching for "atext" in installed libraries is useless as I
have a middle-aged SuSE-Linux 7.0, chaotically updated with a mixture of
rpm and tgz (sources), and I recall this error from former times, after I
had upgraded libc (glibc), or at least tried that. I currently use:

# ldd /lib/libc.so.6 
  /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
# rpm -q glibc
glibc-2.2.4-64
# uname -a
Linux laura 2.4.22 #2 Sun Dec 21 17:14:01 MET 2003 i686 unknown
[ excuse me :-)  ^]

Following error accurs in glib-1.2.10 and glib-2.2.3 (havnt' tried newer versions, yet)

jim@laura:/var/tmp/glib-1.2.10 # rm gutils.o gutils.lo .libs/libglib*so libglib.la \
                                 ; make
make  all-recursive
make[1]: Entering directory `/var/tmp/glib-1.2.10'
Making all in .
make[2]: Entering directory `/var/tmp/glib-1.2.10'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib     -g -O2 -Wall
-D_REENTRANT -c gutils.c
rm -f .libs/gutils.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2
-Wall -D_REENTRANT -c gutils.c  -fPIC -DPIC -o .libs/gutils.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2
-Wall -D_REENTRANT -c gutils.c -o gutils.o >/dev/null 2>&1
mv -f .libs/gutils.lo gutils.lo
/bin/sh ./libtool --mode=link gcc  -g -O2 -Wall  -D_REENTRANT  -o
libglib.la -rpath /usr/lib -version-info 0:10:0       -release 1.2
-export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo
gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo
gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo
gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo  
rm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.*
gcc -shared  garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo
gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo
gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo
gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo  -lc
-Wl,-soname -Wl,libglib-1.2.so.0 -o .libs/libglib-1.2.so.0.0.10
(cd .libs && rm -f libglib-1.2.so.0 && ln -s libglib-1.2.so.0.0.10
libglib-1.2.so.0)
(cd .libs && rm -f libglib.so && ln -s libglib-1.2.so.0.0.10 libglib.so)
ar cru .libs/libglib.a  garray.o gcache.o gcompletion.o gdataset.o gdate.o
gerror.o ghash.o ghook.o giochannel.o giounix.o glist.o gmain.o gmem.o
gmessages.o gmutex.o gnode.o gprimes.o grel.o gscanner.o gslist.o
gstrfuncs.o gstring.o gtimer.o gtree.o gutils.o 
ranlib .libs/libglib.a
creating libglib.la
(cd .libs && rm -f libglib.la && ln -s ../libglib.la libglib.la)
/bin/sh ./libtool --mode=link gcc  -g -O2 -Wall  -D_REENTRANT  -o testglib
testglib.o libglib.la 
gcc -g -O2 -Wall -D_REENTRANT -o .libs/testglib testglib.o
.libs/libglib.so
.libs/libglib.so: undefined reference to `atexit'
collect2: ld returned 1 exit status
make[2]: *** [testglib] Error 1
make[2]: Leaving directory `/var/tmp/glib-1.2.10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/glib-1.2.10'
make: *** [all-recursive-am] Error 2
jim@laura:/var/tmp/glib-1.2.10 # 

Please help, any suggestions are welcome!

Greetings from Germany, Jim
-- 
PGP encrypted mails welcome!
Slashdot in the year 2005: Free Win 1.0 released, M$ re-imports code





-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux