Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub rebuilt problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
bmb
n00b
n00b


Joined: 05 Jul 2002
Posts: 36

PostPosted: Fri Jul 05, 2002 12:25 am    Post subject: grub rebuilt problem Reply with quote

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
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 12:30 am    Post subject: Reply with quote

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
View user's profile Send private message
bmb
n00b
n00b


Joined: 05 Jul 2002
Posts: 36

PostPosted: Fri Jul 05, 2002 12:42 am    Post subject: Reply with quote

I tried to use only "emerge grub", but I got the same problem. :cry:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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