Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
linux-headers Crypto Library Routines Error - help
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
scaudell
n00b
n00b


Joined: 02 Sep 2005
Posts: 2

PostPosted: Fri Sep 02, 2005 2:29 pm    Post subject: linux-headers Crypto Library Routines Error - help Reply with quote

I'm trying to do an emerge -uD world on my Pentium3 box. Here's my make.conf & the error I'm getting:
make.conf
Code:

CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="X alsa apm arts audiofile avi bzlib caps cdb cups dvd dio directfb ethereal fbcon ftp gdbm -gnome gnutls gpm gtk imap jabber jpeg java kde kdexdeltas kerberos ldap lirc mcal mmx mozilla msn nls nas opengl pam oss pcmcia pdflib perl plotutils quicktime readline samba sharedmem simplexml snmp sse ssl tcpd usb videos xmms zlib pcap nvidia xv bidi truetype wxwindows imlib matroska faad png moznoxft"
FEATURES="candy sandbox distcc"
ACCEPT_KEYWORDS="~x86"
MAKEOPTS="-j8"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/ http://mirror.datapipie.net/gentoo"
PORTAGE_NICENESS="15"

Error Message
Code:

* Profiling support
*
Profiling support (EXPERIMENTAL) (PROFILING) [Y/n/?] y
  OProfile system profiling (EXPERIMENTAL) (OPROFILE) [Y/n/m/?] y
*
* Kernel hacking
*
Kernel debugging (DEBUG_KERNEL) [N/y/?] n
Debug preemptible kernel (DEBUG_PREEMPT) [Y/n/?] (NEW) y
Compile the kernel with frame pointers (FRAME_POINTER) [N/y/?] n
Use 4Kb for kernel stacks instead of 8Kb (4KSTACKS) [Y/n/?] y
*
* Security options
*
Enable access key retention support (KEYS) [N/y/?] (NEW) n
Enable different security models (SECURITY) [N/y/?] n
*
* Cryptographic options
*
Cryptographic API (CRYPTO) [N/y/?] n
*
* Hardware crypto devices
*
*
* Library routines
*
CRC-CCITT functions (CRC_CCITT) [N/m/y/?] (NEW) n
CRC32 functions (CRC32) [Y/?] y
CRC32c (Castagnoli, et al) Cyclic Redundancy-Check (LIBCRC32C) [M/n/y/?] m
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      scripts/mod/empty.o
cc1: error: unrecognized option `-Wdeclaration-after-statement'
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
Back to top
View user's profile Send private message
scaudell
n00b
n00b


Joined: 02 Sep 2005
Posts: 2

PostPosted: Fri Sep 02, 2005 3:32 pm    Post subject: try try again Reply with quote

After numerous attempts, I came to the conclusion that the linux-headers package doesn't get along well with either distcc or ccache. After disabling them alltogether:
Code:

CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="X alsa apm arts audiofile avi bzlib caps cdb cups dvd dio directfb ethereal fbcon ftp gdbm -gnome gnutls gpm gtk imap jabber jpeg java kde kdexdeltas kerberos ldap lirc mcal mmx mozilla msn nls nas opengl pam oss pcmcia pdflib perl plotutils quicktime readline samba sharedmem simplexml snmp sse ssl tcpd usb videos xmms zlib pcap nvidia xv bidi truetype wxwindows imlib matroska faad png moznoxft"
#FEATURES="candy ccache sandbox distcc"
CCACHE_SIZE="2G"
MAKEOPTS="-j8"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/ http://mirror.datapipie.net/gentoo"
PORTAGE_NICENESS="15"

I was able to do an emerge -u kernel-headers with no troubles. Yet another thing I noticed, is that I wasn't able to emerge ccache with
Code:
FEATURES="distcc"
enabled.
I'm currently in the process of upgrading from 2004.3 to 2005.1.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum