[coreboot] Help, I just want to build lar..

Myles Watson myles at pel.cs.byu.edu
Wed Feb 6 21:08:32 CET 2008


Try `make lar` in the v3 directory.

Myles

> -----Original Message-----
> From: coreboot-bounces at coreboot.org [mailto:coreboot-bounces at coreboot.org]
> On Behalf Of Peter Stuge
> Sent: Wednesday, February 06, 2008 12:25 PM
> To: coreboot at coreboot.org
> Subject: [coreboot] Help, I just want to build lar..
> 
> v3/util/lar $ make
> printf "  BUILD   LAR\n"
>   BUILD   LAR
> mkdir -p /util/lar
> mkdir: cannot create directory `/util': Permission denied
> make: *** [lardir] Error 1
> v3/util/lar $ obj=. make
> printf "  BUILD   LAR\n"
>   BUILD   LAR
> mkdir -p ./util/lar
> v3/util/lar $
> 
> wtf? I just want to make lar, that should be ultra simple.
> 
> 
> v3 $ make util/lar/lar
> gcc -Wall -g -I/home/stuge/co/v3 -Iinclude -I/home/stuge/co/v3/include -
> I/home/stuge/co/v3/include/arch/x86/ -include
> /home/stuge/co/v3/build/config.h -include /home/stuge/co/v3/build/build.h
> util/lar/lar.c   -o util/lar/lar
> In file included from include/string.h:24,
>                  from util/lar/lar.c:23:
> /home/stuge/co/v3/include/arch/x86/types.h:18: error: conflicting types
> for 'size_t'
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h:214: error: previous
> declaration of 'size_t' was here
> In file included from util/lar/lar.c:33:
> util/lar/lar.h:60: error: redefinition of typedef 'u64'
> /home/stuge/co/v3/include/arch/x86/types.h:8: error: previous declaration
> of 'u64' was here
> util/lar/lar.h:61: error: redefinition of typedef 'u32'
> /home/stuge/co/v3/include/arch/x86/types.h:9: error: previous declaration
> of 'u32' was here
> util/lar/lar.h:62: error: redefinition of typedef 'u8'
> /home/stuge/co/v3/include/arch/x86/types.h:11: error: previous declaration
> of 'u8' was here
> util/lar/lar.c: In function 'main':
> util/lar/lar.c:240: warning: implicit declaration of function 'strcasecmp'
> util/lar/lar.c:260: warning: implicit declaration of function 'strdup'
> util/lar/lar.c:260: warning: incompatible implicit declaration of built-in
> function 'strdup'
> make: *** [util/lar/lar] Error 1
> 
> 
> //Peter
> 
> --
> coreboot mailing list
> coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot






More information about the coreboot mailing list