[Re: glibc 2.1.3 failure]

Sherab Puntsok alantam at netscape.net
Tue Jun 20 02:31:00 PDT 2000


Hi
   I once had this problem before. I searched the lfs-discuss mail archive
and found the answer. It is regarding the kernel headers.
   If you build your lfs system from kernel 2.0.x you need to have 2.2.x
kernel headers.
   Move your existing /usr/src/linux if you have one, and /usr/include/linux,
/usr/include/asm to some other directory (say, /usr/src/linux-org,
/usr/include/linux-org and /usr/include/asm-org).
   Unpack the new kernel package (in here; lfs uses linux-2.2.14.tar.bz2 or
linux-2.2.14.tar.gz) in /usr/src. It will create a new linux directory
in /usr/src.
   Do a make mrproper, just for safety in case you have compiled your 
kernel before, then make config or menuconfig or xconfig depends on 
which option you like. It was told that you don't have to do a real 
kernel compile but if you wish you can do it. Answer the default questions 
to the make config(s). You don't use it don't you ? What you need is the 
new kernel headers.
   Then you link the new /usr/src/linux/include/linux and
/usr/src/linux/asm-i386 (if you are working on intel platforms) to 
/usr/include/linux and /usr/include/asm by doing
   ln -s /usr/src/linux/include/linux /usr/include/linux
   ln -s /usr/src/linux/include/asm-i386 /usr/include/asm

   Then compile your glibc-2.1.3 package again. It should work.

   Note: I am a newbie as well. The above answer could be wrong. If wrong,
please consult some other linux gurus and send me comments.

   Have fun.
   Regards.

   Alan


"Michael A. Peters" <mpeters at mac.com> wrote:
> Do you get a bad exit status when building- or does it build?
> 
> >hi there ...
> >
> >when I tried to build the glibc 2.1.3, I'm
> >getting the error message:
> >
> >connectionc.c: In function `handle_request':
> >connections.c:353: `SO_PEERCRED' undeclared (first use in this function)
> >connections.c:353: (Each ....)
> >connections.c:442: `SO_PEERCRED' undeclared (...)
> >
> >
> >with friendly regards....
> >
> >	Jens Luedicke <jens at irs-net.com>
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Michael A. Peters--		http://216.22.163.20/Linux_Pages/
> 				http://www.omnilinux.com/
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>   
> --
> Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
> IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
> Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
> "unsubscribe" (without the quotation marks) in the body of the message
> (no subject is required)


=============================================
(Optional)
If you say " Om Ma Ne Pad Mei Hung ",
The Avalokiteshvara Buhhda blesses you.

For more info on Buddhism please visit
http://victorian.fortunecity.com/holbein/272/
=============================================


____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list