View previous topic :: View next topic |
Author |
Message |
bmb n00b
Joined: 05 Jul 2002 Posts: 36
|
Posted: Fri Jul 05, 2002 12:25 am Post subject: grub rebuilt problem |
|
|
Dear all,
I met a problem when I tried to rebuild my grub. I already have the lastest version of grub, but I want to recompile it. So I use "emerge --update grub --emptytree". Then I got the following erro message in the compilation.
source='device.c' object='device.o' libtool=no \
depfile='.deps/device.Po' tmpdepfile='.deps/device.TPo' \
depmode=gcc /bin/sh ../depcomp \
g77 -c `test -f device.c || echo './'`device.c
device.c:67: shared.h: No such file or directory
device.c:68: device.h: No such file or directory
make[2]: *** [device.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90'
make: *** [all] Error 2
make all-recursive
make[1]: Entering directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90'
Making all in netboot
make[2]: Entering directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90/netboot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90/netboot'
Making all in stage2
make[2]: Entering directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90/stage2'
make all-am
make[3]: Entering directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90/stage2'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90/stage2'
make[2]: Leaving directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90/stage2'
Making all in stage1
make[2]: Entering directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90/stage1'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90/stage1'
Making all in lib
make[2]: Entering directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90/lib'
source='device.c' object='device.o' libtool=no \
depfile='.deps/device.Po' tmpdepfile='.deps/device.TPo' \
depmode=gcc /bin/sh ../depcomp \
g77 -c `test -f device.c || echo './'`device.c
device.c:67: shared.h: No such file or directory
device.c:68: device.h: No such file or directory
make[2]: *** [device.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/grub-0.90-r7/work/grub-0.90'
make: *** [all] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 16, Exitcode 2
!!! Building failed.
!!! emerge aborting on /usr/portage/sys-apps/grub/grub-0.90-r7.ebuild .
But the shared.h and device.h should be include in the grub package. Could anybody please tell me what to do to solve this problem?
Thanks.
bmb |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jul 05, 2002 12:30 am Post subject: |
|
|
Perhaps you could try running it again? Many Portage problems disappear by simply retrying.
Also, why are you using --emptytree? That defeats the dependency tracking and just makes the build take longer without doing anything useful. Everything will work fine if you omit --emptytree. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
bmb n00b
Joined: 05 Jul 2002 Posts: 36
|
Posted: Fri Jul 05, 2002 12:42 am Post subject: |
|
|
I tried to use only "emerge grub", but I got the same problem. |
|
Back to top |
|
|
|