[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-hardened
Subject:    Re: [gentoo-hardened] Major Compiling Problems
From:       Ned Ludd <solar () gentoo ! org>
Date:       2004-02-22 6:58:04
Message-ID: 1077433084.21248.78.camel () simple
[Download RAW message or body]


Bug reporting via bugzilla is better suited for this.  Please see the
existing open bug. http://bugs.gentoo.org/show_bug.cgi?id=42301

On Sat, 2004-02-21 at 17:14, Anthony de Almeida Lopes wrote:
> Edit: Sorry I accidentally replied to the "Help needed" thread. 
> Hi,
> I'm beginning to have many problems compiling things since I installed
> gcc-hardened, therefor I think it may be my problem. I've taken the
> -fstack-protector out of my CFLAGS but thing still do not work. I'd like
> to paste a few of my errors here.
> 
> when emerging tcpdump I get this:
> configure: error: cannot determine linux version when cross-compiling
> 
> when emerging ncurses I get these warnings when configuring(not in
> order):
> configure: WARNING: cross compiling: assume setvbuf params not reversed
> configure: WARNING: If you wanted to set the --build type, don't use
> --host.
> configure: WARNING: If you wanted to set the --build type, don't use
> --host.
> If a cross compiler is detected then cross compile mode will be used.
> 
> and upon compiling I get this:
> 
> /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to
> 0000000008048440
> 
> when trying to compile the gentoo-2.6.3 kernel doing "make menuconfig"
> /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to
> 0000000008048640
> 
> when I try to compile then 2.4.22-gentoo-r7 kernel I get a wordy error
> about ncurses:
> [[begin error]]
> There seems to be a problem with the lxdialog companion utility which is
> built prior to running Menuconfig.  Usually this is an indicator that
> you
> have upgraded/downgraded your ncurses libraries and did not remove the
> old ncurses header file(s) in /usr/include or /usr/include/ncurses.
>                                                                                                  
> It is VERY important that you have only one set of ncurses header files
> and that those files are properly version matched to the ncurses
> libraries
> installed on your machine.
>                                                                                                  
> You may also need to rebuild lxdialog.  This can be done by moving to
> the /usr/src/linux/scripts/lxdialog directory and issuing the
> "make clean all" command.
>                                                                                                  
> If you have verified that your ncurses install is correct, you may email
> the maintainer <mec@shout.net> or post a message to
> <linux-kernel@vger.kernel.org> for additional assistance.
>                                                                                                  
> make: *** [menuconfig] Error 139
> [[end error]]
> 
> So I don't know why this is happening. I am using hardened-gcc
> 3.3.2.1-r2 and glibc 2.3.2-r9. So I think this may be possibly caused by
> not having glibc compiled after I emerged the hardened gcc. I thought I
> did that but I guess I didn't (I dont see it in my admin logs.) So I'm
> going to try that because I remember I had to do that to get Gentoo's
> version of SELinux working. 
> 
> Update: I tried to compile glibc and it failed as well. I got this
> error:
> checking for long double... yes
> checking size of long double... configure: error: cannot compute sizeof
> (long double), 77
> See `config.log' for more details.
>  
> Thanks for any support that you can give me.
> 
-- 
Ned Ludd <solar@gentoo.org>
Gentoo Linux Developer

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic