You are not logged in.

#1 2012-07-22 13:35:10

rabbidrabbit
Member
Registered: 2012-01-30
Posts: 11

[Solved] Build Error compiling grub through abs

hi,

When I try to compile grub through abs, I get a build error almost straight away.

Here is the error message:

make[3]: Entering directory `/home/jonathan/abs/grub/src/grub_bios-2.00/grub-core/gnulib'
make[4]: Entering directory `/home/jonathan/abs/grub/src/grub_bios-2.00/grub-core/gnulib'
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../intl    -MT argp-ba.o -MD -MP -MF .deps/argp-ba.Tpo -c -o argp-ba.o argp-ba.c
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../intl    -MT argp-eexst.o -MD -MP -MF .deps/argp-eexst.Tpo -c -o argp-eexst.o argp-eexst.c
mv -f .deps/argp-ba.Tpo .deps/argp-ba.Po
gcc -DHAVE_CONFIG_H -I. -I../..  -I../../intl    -MT argp-fmtstream.o -MD -MP -MF .deps/argp-fmtstream.Tpo -c -o argp-fmtstream.o argp-fmtstream.c
In file included from argp.h:22:0,
                 from argp-eexst.c:25:
./stdio.h:456:1: error: 'gets' undeclared here (not in a function)
make[4]: *** [argp-eexst.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from argp-fmtstream.h:27:0,
                 from argp-fmtstream.c:34:
./stdio.h:456:1: error: 'gets' undeclared here (not in a function)
make[4]: *** [argp-fmtstream.o] Error 1
make[4]: Leaving directory `/home/jonathan/abs/grub/src/grub_bios-2.00/grub-core/gnulib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jonathan/abs/grub/src/grub_bios-2.00/grub-core/gnulib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/jonathan/abs/grub/src/grub_bios-2.00/grub-core/gnulib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jonathan/abs/grub/src/grub_bios-2.00'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Any help on how to fix the error will be appreciated.

Last edited by rabbidrabbit (2012-07-22 17:04:37)

Offline

#2 2012-07-22 14:41:47

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Offline

#3 2012-07-22 17:04:25

rabbidrabbit
Member
Registered: 2012-01-30
Posts: 11

Re: [Solved] Build Error compiling grub through abs

Thanks a lot. That fixed the issue.

Offline

Board footer

Powered by FluxBB