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