piimg icon indicating copy to clipboard operation
piimg copied to clipboard

make failure

Open krystofmatejka opened this issue 9 years ago • 1 comments

Hello, I have following issuse with make:

make -C lib
make[1]: Entering directory '/home/ubuntu/Downloads/piimg-master/lib'
cc -fPIC   -c -o partition.o partition.c
cc -fPIC   -c -o fstr.o fstr.c
cc -fPIC   -c -o dd.o dd.c
cc -fPIC   -c -o privileges.o privileges.c
ar rs libpiimg.a command.o loopdev.o partition.o fstr.o dd.o privileges.o
ar: creating libpiimg.a
cat command.h loopdev.h partition.h fstr.h dd.h privileges.h > piimg.h
make[1]: Leaving directory '/home/ubuntu/Downloads/piimg-master/lib'
make -C src
make[1]: Entering directory '/home/ubuntu/Downloads/piimg-master/src'
cc -g -I../lib   -c -o piimg.o piimg.c
cc -g -I../lib   -c -o piimg-list.o piimg-list.c
cc -g -I../lib   -c -o piimg-loopdev.o piimg-loopdev.c
cc -g -I../lib   -c -o piimg-mount.o piimg-mount.c
piimg-mount.c: In function ‘cmd_mount’:
piimg-mount.c:47:5: warning: too many arguments for format [-Wformat-extra-args]
     fprintf(stderr, "Failed to associate loop device (%s) to file (%s).\n", boot_loop, argv[0], simg.boot_offset);
     ^
piimg-mount.c:60:5: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 5 has type ‘uint64_t’ [-Wformat=]
     fprintf(stderr, "Failed to associate loop device (%s) to file (%s; offset=%lld).\n", root_loop, argv[0], simg.root_offset);
     ^
cc -g -I../lib   -c -o piimg-umount.o piimg-umount.c
cc -g -I../lib   -c -o piimg-grow.o piimg-grow.c
cc -g -I../lib   -c -o piimg-dd.o piimg-dd.c
cc -g -I../lib -o piimg piimg.o piimg-list.o piimg-loopdev.o piimg-mount.o piimg-umount.o piimg-grow.o piimg-dd.o ../lib/libpiimg.a -lparted
make[1]: Leaving directory '/home/ubuntu/Downloads/piimg-master/src'

ubuntu 15.04

krystofmatejka avatar May 19 '15 06:05 krystofmatejka

Same error here in 14.04 of ubuntu.

rbreaves avatar Dec 07 '15 05:12 rbreaves