1. libc 4.5.21 - a couple of minor irritants
Thanks to all the people in this forum who earlier clarified my doubts
regarding updating my libs, compiler and kernel.
I updated to libc 4.5.21, gcc 2.5.8 and g++ 2.5.31.2 after I obtained
and installed ld.so 1.4.3 & linux-binutils-1.0. With this new set up I
compiled the new kernel 1.0 and everything was OK. I followed to the
best of my abilities everything mentioned in the release notes. Later
I obtained "e2fsprogs-0.5" to work with Linux 1.0 and tried compiling
that when I first noticed the following warning:
---------
gcc -O2 -fomit-frame-pointer -ansi -D_POSIX_SOURCE -pedantic -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wenum-clash -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I../lib -c ehandler.c -o ehandler.o
In file included from /usr/include/linux/socket.h:4,
from /usr/include/linux/net.h:23,
from /usr/include/linux/fs.h:15,
from e2fsck.h:17,
from ehandler.c:16:
/usr/include/linux/sockios.h:31: warning: bit-field `up' type invalid in ANSI C
/usr/include/linux/sockios.h:31: warning: bit-field `destroy' type invalid in ANSI C
-------------
I suppose this is just a problem in the declaration in the header
file. But then, later I got this following error and the program did
not compile.
-------------
cc -O2 -fomit-frame-pointer -static -o e2fsck e2fsck.o pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o badblocks.o util.o dirinfo.o ehandler.o -L../lib -lss -lcom_err -lext2fs
/usr/lib/libc.a(ctype.o): Undefined symbol _mcount referenced from text segment
/usr/lib/libc.a(ctype.o): Undefined symbol _mcount referenced from text segment
/usr/lib/libc.a(ctype.o): Undefined symbol _mcount referenced from text segment
/usr/lib/libc.a(ctype.o): Undefined symbol _mcount referenced from text segment
/usr/lib/libc.a(ctype.o): Undefined symbol _mcount referenced from text segment
/usr/lib/libc.a(ctype.o): Undefined symbol _mcount referenced from text segment
/usr/lib/libc.a(ctype.o): Undefined symbol _mcount referenced from text segment
/usr/lib/libc.a(ctype.o): Undefined symbol _mcount referenced from text segment
/usr/lib/libc.a(ctype.o): Undefined symbol _mcount referenced from text segment
/usr/lib/libc.a(ctype.o): More undefined symbol _mcount refs follow
make[1]: *** [e2fsck] Error 1
make[1]: Leaving directory `/newstuff/e2fsprogs-0.5/e2fsck'
make: *** [all] Error 1
-----------
Did anybody else have similar problems? Can anybody inform me as to
what is wrong? I am sure I can do with just e2fsck 0.4 but I just
thought I could get the latest.... What I want to find out is whether
the problem is with the libc? I have a 486 machine and hence I just
took the binary, I didn't compile it from the scratch.
Thanks.
--Badri.
--
------------------------
S.Badrinarayanan
Dept. of Mech. and Aero.
Cornell University
------------------------
2. Toshiba SD-W1111
3. A COuple of Minor Buglets
4. Detached threads leaking memory?
5. SLS: a couple of minor installation problems
6. Repartitioning
7. Two minor issues: mouse (not X11), display (X11).
8. Help with Linksys WPC11 on FreeBSD 4.6.2
9. ZSH prompt issue (minor)
10. Minor net/core/sock.c security issue?
11. A couple of KDE UI issues (font/color)
12. minor issue: clearing konq
13. Suse 8.0 Minor Issues