[coreboot] Trouble in compiling tint payload

manasa gv manasa671989 at gmail.com
Sat Jun 30 09:20:49 CEST 2012


Hi,


1)I used the following commands to use tint payload.

$ cd coreboot/payloads
$ wget  ftp://mirrors.kernel.org/ubuntu/pool/universe/t/tint/tint_0.03b.tar.gz
$ tar xfvz tint_0.03b.tar.gz
$ cd tint-0.03b
$ svn export svn://coreboot.org/coreboot/trunk/payloads/external/tint/libpayload_tint.patch
$ patch -p1 < libpayload_tint.patch
$ make

2)After doing make getting the following errors :

Found Libpayload ./libpayloadbin.
 LPCC      tint.o
cc1: fatal error: tint.c: Permission denied
compilation terminated.
make: *** [tint.o] Error 1

3) So i changed the permission of the tint.c file by using this command.
    chmod ug+rw tint.c

4)Again i did make , then also am having these errors:

Found Libpayload ./libpayloadbin.
 LPCC      tint.o
In file included from config.h:33:0,
                from tint.c:42:
./libpayloadbin/libpayload/bin/../include/curses.h:85:23: error: two
or more data types in declaration specifiers
./libpayloadbin/libpayload/bin/../include/curses.h:85:1: warning:
useless type name in empty declaration [enabled by default]
./libpayloadbin/libpayload/bin/../include/curses.h:597:0: warning:
"COLOR_BLUE" redefined [enabled by default]
In file included from tint.c:41:0:
io.h:40:0: note: this is the location of the previous definition
In file included from config.h:33:0,
                from tint.c:42:
./libpayloadbin/libpayload/bin/../include/curses.h:599:0: warning:
"COLOR_RED" redefined [enabled by default]
In file included from tint.c:41:0:
io.h:37:0: note: this is the location of the previous definition
In file included from config.h:33:0,
                from tint.c:42:
./libpayloadbin/libpayload/bin/../include/curses.h:602:0: warning:
"COLOR_CYAN" redefined [enabled by default]
In file included from tint.c:41:0:
io.h:42:0: note: this is the location of the previous definition
In file included from config.h:33:0,
                from tint.c:42:
./libpayloadbin/libpayload/bin/../include/curses.h:603:0: warning:
"COLOR_MAGENTA" redefined [enabled by default]
In file included from tint.c:41:0:
io.h:41:0: note: this is the location of the previous definition
In file included from config.h:33:0,
                from tint.c:42:
./libpayloadbin/libpayload/bin/../include/curses.h:604:0: warning:
"COLOR_YELLOW" redefined [enabled by default]
In file included from tint.c:41:0:
io.h:39:0: note: this is the location of the previous definition
make: *** [tint.o] Error 1


        I am using Fedora17 OS. Please suggest me to comeout of these errors..



Thanks,
Manasa




More information about the coreboot mailing list