Manual Glibc Updating
cracker_jackmac
Join Date: 2002-11-04 Member: 6891Members, Constellation, Reinforced - Shadow
<div class="IPBDescription">compiling your own glibcs</div> i'm only posting this here because alot of plugin develpoment gets posted here.
Not all of us are linux savy either, except verbose *bows*
I'm having problems updating my glibc and i figure if i had help debuging the problem, it would help anyone else having the problem as well.
Everyone knows i'm trustworthy and that i can be trusted with closed source, but its agrivating because i can't compile them for the developer (whoever that is) and test it for them.
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->./configure --prefix=/usr/lib --with-elf --enable-shared --enable-add-ons=./linuxthreads --enable-all-errors<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
is what i am using to configure it.
using
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->make<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
i get this
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
-cut-
make -C iconv others
make[1]: Entering directory `/usr/src/glibc-2.3.1/iconv'
gcc -nostdlib -nostartfiles -o iconvconfig -Wl,-dynamic-linker=/usr/lib/lib/ld-linux.so.2 -Wl,-z,combreloc ../csu/crt1.o ../csu/crti.o `gcc --print-file-name=crtbegin.o` iconvconfig.o strtab.o xmalloc.o -Wl,-rpath-link=..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads ../libc.so.6 ../libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` ../csu/crtn.o
../libc.so.6(.data+0xae4): multiple definition of `__ctype_toupper@GLIBC_2.0'
../libc.so.6(*IND*+0x0): multiple definition of `__ctype32_toupper@GLIBC_2.2'
../libc.so.6(.data+0xaec): first defined here
../libc.so.6(.data+0xae8): multiple definition of `__ctype32_tolower@GLIBC_2.2'
../libc.so.6(.data+0xad8): multiple definition of `__ctype_b@GLIBC_2.0'
../libc.so.6(*IND*+0x0): multiple definition of `__ctype_tolower@GLIBC_2.0'
../libc.so.6(.data+0xae0): first defined here
../libc.so.6(.data+0xadc): multiple definition of `__ctype32_b@GLIBC_2.0'
collect2: ld returned 1 exit status
make[1]: *** [iconvconfig] Error 1
make[1]: Leaving directory `/usr/src/glibc-2.3.1/iconv'
make: *** [iconv/others] Error 2
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
ggrrrr.....
Time to check the FAQ (yeah..i can read)
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->1.8. What version of the Linux kernel headers should be used?
{AJ,UD} The headers from the most recent Linux kernel should be used.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
ok i got those....2.4.20 is what i'm running and i have the src in a symlink /usr/src/linux like i'm suppose to....almost everything else compiles but fails on iconv
i dunno....i can't find anyhting in the text either.
Not all of us are linux savy either, except verbose *bows*
I'm having problems updating my glibc and i figure if i had help debuging the problem, it would help anyone else having the problem as well.
Everyone knows i'm trustworthy and that i can be trusted with closed source, but its agrivating because i can't compile them for the developer (whoever that is) and test it for them.
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->./configure --prefix=/usr/lib --with-elf --enable-shared --enable-add-ons=./linuxthreads --enable-all-errors<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
is what i am using to configure it.
using
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->make<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
i get this
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
-cut-
make -C iconv others
make[1]: Entering directory `/usr/src/glibc-2.3.1/iconv'
gcc -nostdlib -nostartfiles -o iconvconfig -Wl,-dynamic-linker=/usr/lib/lib/ld-linux.so.2 -Wl,-z,combreloc ../csu/crt1.o ../csu/crti.o `gcc --print-file-name=crtbegin.o` iconvconfig.o strtab.o xmalloc.o -Wl,-rpath-link=..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads ../libc.so.6 ../libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` ../csu/crtn.o
../libc.so.6(.data+0xae4): multiple definition of `__ctype_toupper@GLIBC_2.0'
../libc.so.6(*IND*+0x0): multiple definition of `__ctype32_toupper@GLIBC_2.2'
../libc.so.6(.data+0xaec): first defined here
../libc.so.6(.data+0xae8): multiple definition of `__ctype32_tolower@GLIBC_2.2'
../libc.so.6(.data+0xad8): multiple definition of `__ctype_b@GLIBC_2.0'
../libc.so.6(*IND*+0x0): multiple definition of `__ctype_tolower@GLIBC_2.0'
../libc.so.6(.data+0xae0): first defined here
../libc.so.6(.data+0xadc): multiple definition of `__ctype32_b@GLIBC_2.0'
collect2: ld returned 1 exit status
make[1]: *** [iconvconfig] Error 1
make[1]: Leaving directory `/usr/src/glibc-2.3.1/iconv'
make: *** [iconv/others] Error 2
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
ggrrrr.....
Time to check the FAQ (yeah..i can read)
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->1.8. What version of the Linux kernel headers should be used?
{AJ,UD} The headers from the most recent Linux kernel should be used.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
ok i got those....2.4.20 is what i'm running and i have the src in a symlink /usr/src/linux like i'm suppose to....almost everything else compiles but fails on iconv
i dunno....i can't find anyhting in the text either.
Comments
Oh, and I have no idea wtf your talking about, plz don't flame me.
/me goes back to installing gentoo
well i was installing it (will finish it later, YAY for removable drives)
too many ppl ****'n about my server being down...so i slipped in my RH disk and booted the server... FOR NOW!
Seeing as my server is finally empty..i'll go back to installing <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->
might take me 3-6 hrs....2000+ AMD, 1gb ram...woot
I totally hosed that system...I'm back on my red hat system (thank god for Removable drives)
TIP: Always have a backup plan <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo-->
I totally hosed that system...I'm back on my red hat system (thank god for Removable drives)
TIP: Always have a backup plan <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo--> <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
<!--QuoteBegin--cracker jackmack's Linux Box+Feb 16 2003, 06:32 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (cracker jackmack's Linux Box @ Feb 16 2003, 06:32 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I need a medpack, STAT!<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
hehehehehe
nah....i'm always learning....i laugh at all those who have "63 days uptime"
just means you haven't learned anything new yet.. Right now i'm trying out new distros.
I finally decommissioned a server in our datacenter that had been around a long time, unmaintained (no reason to update it). This box was old. Old. Uptime? 590 days. That's pretty cool, but it was only taken down two years ago to move it from one data center to another. Before the move, it had an uptime of over 2 years (900-something days, IIRC). I have a pic from last week when we took it down. Check out the FreeBSD revision number, and the kernel compile date. Wow.
<a href='http://users.binary.net/fozzee/uptime.jpg' target='_blank'>http://users.binary.net/fozzee/uptime.jpg</a>
(I'm not fozzee; he's the one who was operating the camera)
Like I said, it was basically unmaintained, running continuously from the last time the kernel was updated. I think it was shut down a total of 3 times: once to replace a failed power supply fan, and twice to physically move the machine.
Box was an original pentium 133, 64 megs of RAM, and a Seagate Medalist disk. Yes, a medalist. Don't see those around much anymore <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->