Skip to content

Instantly share code, notes, and snippets.

@RX14
Created March 17, 2015 21:24
Show Gist options
  • Select an option

  • Save RX14/80abbde0f9ce0774f802 to your computer and use it in GitHub Desktop.

Select an option

Save RX14/80abbde0f9ce0774f802 to your computer and use it in GitHub Desktop.
root@RX-FILE-V1:~/duperemove# make CFLAGS="-I /usr/src/linux-headers-3.18.9-rx14/include/"
gcc -I /usr/src/linux-headers-3.18.9-rx14/include/ -D_FILE_OFFSET_BITS=64 -DVERSTRING=\"v0.09\" -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -rdynamic -c duperemove.c -o duperemove.o -L/lib/i386-linux-gnu -lgcrypt -lglib-2.0
In file included from /usr/include/linux/fiemap.h:14:0,
from duperemove.c:35:
/usr/src/linux-headers-3.18.9-rx14/include/linux/types.h:14:26: error: conflicting types for ‘fd_set’
In file included from /usr/include/i386-linux-gnu/sys/types.h:220:0,
from duperemove.c:18:
/usr/include/i386-linux-gnu/sys/select.h:78:5: note: previous declaration of ‘fd_set’ was here
In file included from /usr/include/linux/fiemap.h:14:0,
from duperemove.c:35:
/usr/src/linux-headers-3.18.9-rx14/include/linux/types.h:15:25: error: conflicting types for ‘dev_t’
In file included from duperemove.c:18:0:
/usr/include/i386-linux-gnu/sys/types.h:61:17: note: previous declaration of ‘dev_t’ was here
In file included from /usr/include/linux/fiemap.h:14:0,
from duperemove.c:35:
/usr/src/linux-headers-3.18.9-rx14/include/linux/types.h:16:25: error: conflicting types for ‘ino_t’
In file included from duperemove.c:18:0:
/usr/include/i386-linux-gnu/sys/types.h:51:19: note: previous declaration of ‘ino_t’ was here
In file included from /usr/include/linux/fiemap.h:14:0,
from duperemove.c:35:
/usr/src/linux-headers-3.18.9-rx14/include/linux/types.h:17:26: error: conflicting types for ‘mode_t’
In file included from duperemove.c:18:0:
/usr/include/i386-linux-gnu/sys/types.h:71:18: note: previous declaration of ‘mode_t’ was here
In file included from /usr/include/linux/fiemap.h:14:0,
from duperemove.c:35:
/usr/src/linux-headers-3.18.9-rx14/include/linux/types.h:20:25: error: conflicting types for ‘off_t’
In file included from duperemove.c:18:0:
/usr/include/i386-linux-gnu/sys/types.h:89:19: note: previous declaration of ‘off_t’ was here
In file included from /usr/include/linux/fiemap.h:14:0,
from duperemove.c:35:
/usr/src/linux-headers-3.18.9-rx14/include/linux/types.h:25:26: error: conflicting types for ‘timer_t’
In file included from /usr/include/i386-linux-gnu/sys/types.h:133:0,
from duperemove.c:18:
/usr/include/time.h:104:19: note: previous declaration of ‘timer_t’ was here
In file included from /usr/include/linux/fiemap.h:14:0,
from duperemove.c:35:
/usr/src/linux-headers-3.18.9-rx14/include/linux/types.h:36:24: error: conflicting types for ‘uintptr_t’
In file included from /usr/lib/gcc/i486-linux-gnu/4.7/include/stdint.h:3:0,
from duperemove.c:26:
/usr/include/stdint.h:129:23: note: previous declaration of ‘uintptr_t’ was here
In file included from /usr/include/linux/fiemap.h:14:0,
from duperemove.c:35:
/usr/src/linux-headers-3.18.9-rx14/include/linux/types.h:134:23: error: conflicting types for ‘blkcnt_t’
In file included from duperemove.c:18:0:
/usr/include/i386-linux-gnu/sys/types.h:249:22: note: previous declaration of ‘blkcnt_t’ was here
In file included from duperemove.c:40:0:
list.h:35:8: error: redefinition of ‘struct list_head’
In file included from /usr/include/linux/fiemap.h:14:0,
from duperemove.c:35:
/usr/src/linux-headers-3.18.9-rx14/include/linux/types.h:186:8: note: originally defined here
In file included from duperemove.c:50:0:
debug.h:66:0: warning: "compiletime_assert" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.18.9-rx14/include/uapi/linux/stddef.h:1:0,
from /usr/src/linux-headers-3.18.9-rx14/include/linux/stddef.h:4,
from /usr/include/linux/posix_types.h:4,
from /usr/src/linux-headers-3.18.9-rx14/include/uapi/linux/types.h:13,
from /usr/src/linux-headers-3.18.9-rx14/include/linux/types.h:5,
from /usr/include/linux/fiemap.h:14,
from duperemove.c:35:
/usr/src/linux-headers-3.18.9-rx14/include/linux/compiler.h:362:0: note: this is the location of the previous definition
make: *** [duperemove.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment