View previous topic :: View next topic |
Author |
Message |
*nixVirgin n00b
Joined: 03 Nov 2003 Posts: 64 Location: The UK
|
Posted: Sat May 22, 2004 6:19 pm Post subject: Failure while doing : emerge system.... |
|
|
Can someone point me in the right direction....
I am doing a build using the Gentoo Hardened stages as this is a server that I am playing with and would prefere to use these stages.
all has gone ok until i tried to emerge the system.
it's doing sys-apps/modutils-2.4.25 to /
see below for the result...
Code: |
Calculating system dependencies ...done!
>>> emerge (1 of 66) sys-apps/modutils-2.4.25 to /
>>> md5 src_uri ;-) modutils-2.4.25.tar.bz2
>>> Unpacking source...
>>> Unpacking modutils-2.4.25.tar.bz2 to /var/tmp/portage/modutils-2.4.25/work
patching file alias.h
>>> Source unpacked.
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for query_module in -lc... yes
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe ) works... yes
checking whether the C compiler (gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for wordexp... yes
checking for glob... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating Makefile.common
creating depmod/Makefile
creating genksyms/Makefile
creating insmod/Makefile
creating obj/Makefile
creating util/Makefile
creating man/Makefile
make[1]: Entering directory `/var/tmp/portage/modutils-2.4.25/work/modutils-2.4.25/util'
gcc -M -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 xmalloc.c xrealloc.c xstrcat.c xstrdup.c xsystem.c logger.c modstat.c meta_expand.c config.c snap_shot.c arch64.c gzfiles.c sys_nim.c sys_oim.c xftw.c > .depend
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xmalloc.o xmalloc.c
In file included from xmalloc.c:22:
../include/util.h:42: warning: built-in function `log' declared as non-function
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xrealloc.o xrealloc.c
In file included from xrealloc.c:22:
../include/util.h:42: warning: built-in function `log' declared as non-function
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xstrcat.o xstrcat.c
In file included from xstrcat.c:22:
../include/util.h:42: warning: built-in function `log' declared as non-function
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xstrdup.o xstrdup.c
In file included from xstrdup.c:24:
../include/util.h:42: warning: built-in function `log' declared as non-function
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o xsystem.o xsystem.c
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o logger.o logger.c
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o modstat.o modstat.c
In file included from logger.c:30:
../include/util.h:42: warning: built-in function `log' declared as non-function
In file included from modstat.c:33:
../include/util.h:42: warning: built-in function `log' declared as non-function
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -DHAVE_WORDEXP=1 -DHAVE_GLOB=1 -c meta_expand.c
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o config.o config.c
In file included from meta_expand.c:45:
../include/util.h:42: warning: built-in function `log' declared as non-function
In file included from config.c:64:
../include/util.h:42: warning: built-in function `log' declared as non-function
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o snap_shot.o snap_shot.c
In file included from snap_shot.c:33:
../include/util.h:42: warning: built-in function `log' declared as non-function
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o arch64.o arch64.c
In file included from arch64.c:24:
../include/util.h:42: warning: built-in function `log' declared as non-function
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o gzfiles.o gzfiles.c
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o sys_nim.o sys_nim.c
gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -I./../include -D_GNU_SOURCE -DCONFIG_ROOT_CHECK_OFF=0 -DELF_MACHINE_H='"elf_i386.h"' -DARCH_i386 -c -o sys_oim.o sys_oim.c
sys_oim.c: In function `old_sys_init_module':
sys_oim.c:36: error: can't find a register in class `BREG' while reloading `asm'
make[1]: *** [sys_oim.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/modutils-2.4.25/work/modutils-2.4.25/util'
make: *** [all] Error 2
!!! ERROR: sys-apps/modutils-2.4.25 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! emake failed
|
can anyone point me in the direction of resolving this - i am a little unsure whats going on.
ta in advance. _________________ "Ever notice how fast Windows Runs ?"
"Neither did I !!" |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Sat May 22, 2004 6:37 pm Post subject: |
|
|
If you're running a 2.6 kernel, inject modutils and emerge module-init-tools. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Sat May 22, 2004 6:40 pm Post subject: |
|
|
or do a stage3 install instead. _________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
*nixVirgin n00b
Joined: 03 Nov 2003 Posts: 64 Location: The UK
|
Posted: Sat May 22, 2004 6:51 pm Post subject: |
|
|
thanks for your reply.
am using the livecd @ this stage which is :
Linux livecd 2.4.25-gentoo
I would prefere not to use a stage 3 - i prefere the stage 1 route.
any other suggestions at all greatfully received....
ta _________________ "Ever notice how fast Windows Runs ?"
"Neither did I !!" |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Sat May 22, 2004 6:56 pm Post subject: |
|
|
*nixVirgin wrote: | thanks for your reply.
am using the livecd @ this stage which is :
Linux livecd 2.4.25-gentoo
I would prefere not to use a stage 3 - i prefere the stage 1 route.
any other suggestions at all greatfully received....
ta |
the stage choise is your own, but if it dont work, then you have to switch - unless you find a fix.
if you want to make a stage1 install, thats okay, but if you do it because of speed, then it is a waste of time.
a long time ago i also did stage1 installs, but now i only use stage3.
thats because its linux, and there is updates everyday. so i will recompile it all after some time. - and thats the same as a stage1. _________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
*nixVirgin n00b
Joined: 03 Nov 2003 Posts: 64 Location: The UK
|
Posted: Sat May 22, 2004 7:01 pm Post subject: |
|
|
appreciate what your saying but as I am at the emerge system stage - is that not the beginning of a stage 3 anyway ?
can you get a hardened stage 3 ??? [Goes to check....] _________________ "Ever notice how fast Windows Runs ?"
"Neither did I !!" |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Sat May 22, 2004 7:16 pm Post subject: |
|
|
*nixVirgin wrote: | appreciate what your saying but as I am at the emerge system stage - is that not the beginning of a stage 3 anyway ?
can you get a hardened stage 3 ??? [Goes to check....] |
i dont know, but i read that someone was useing a hardened stage3, but maby that was something he made himself.
i'm sorry if stage3 dosent exist _________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Sat May 22, 2004 7:56 pm Post subject: |
|
|
If I was you I'd read moocha first suggestion. If youre going to use a 2.6 kernel you dont need or use modutils, you use module-init-tools. |
|
Back to top |
|
|
*nixVirgin n00b
Joined: 03 Nov 2003 Posts: 64 Location: The UK
|
Posted: Sat May 22, 2004 8:08 pm Post subject: |
|
|
i have just done an emerge system...
have not got as far as the kernel - so can i override it wanting to install modutils-2.4.25 and emerge module-init-tools ? _________________ "Ever notice how fast Windows Runs ?"
"Neither did I !!" |
|
Back to top |
|
|
*nixVirgin n00b
Joined: 03 Nov 2003 Posts: 64 Location: The UK
|
Posted: Sat May 22, 2004 8:12 pm Post subject: |
|
|
i took the plung and emerged module-init-tools
then did a emerge system - which seems to be progressing further....
guess this means that i have to use a 2.6 kernel...
whats a 2.6 kernel got over the previous ones then ? _________________ "Ever notice how fast Windows Runs ?"
"Neither did I !!" |
|
Back to top |
|
|
drutten Tux's lil' helper
Joined: 31 Dec 2003 Posts: 103 Location: Sweden
|
Posted: Wed Jun 02, 2004 10:33 am Post subject: |
|
|
i have the exact same problem. Isn't there another way to fix it than beeing forced to use a 2.6-kernel? |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Sun Jun 06, 2004 12:50 am Post subject: |
|
|
This is a little late but for the next guy or gal Quote: | The only two kernel source files on 2004.1 ( the INSTALL CD) are linux-2.6.5 and linux-2.4.25. These translate to gentoo-dev-sources-2.6.5-r1 and gentoo-sources-2.4.25.r1. Their soucre files and dependencies are on the INSTALL CD not the package cd. |
|
|
Back to top |
|
|
|