This is the error that appears after compiling remora-eth.c
Root@debian:/usr/include# sudo halcompile --install remora-eth.c
make KBUILD_EXTRA_SYMBOLS=/usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc/Module.symvers -C /usr/src/linux-headers-3.4-9-rtai-686-pae SUBDIRS=`pwd` CC=gcc V=0 modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-3.4-9-rtai-686-pae'
CC [M] /tmp/tmpROLsSj/remora-eth.o
In file included from /usr/include/features.h:356:0,
from /usr/include/math.h:28,
from /tmp/tmpROLsSj/remora-eth.c:26:
/usr/include/i386-linux-gnu/sys/cdefs.h:287:0: warning: "__always_inline" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/compiler.h:48:0,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/ioport.h:12,
from /usr/include/linuxcnc/rtapi.h:673,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/compiler-gcc.h:112:0: note: this is the location of the previous definition
In file included from /usr/include/math.h:47:0,
from /tmp/tmpROLsSj/remora-eth.c:26:
/usr/include/i386-linux-gnu/bits/mathdef.h:48:6: warning: "__FP_FAST_FMA" is not defined [-Wundef]
/usr/include/i386-linux-gnu/bits/mathdef.h:52:6: warning: "__FP_FAST_FMAF" is not defined [-Wundef]
/usr/include/i386-linux-gnu/bits/mathdef.h:56:6: warning: "__FP_FAST_FMAL" is not defined [-Wundef]
In file included from /usr/include/i386-linux-gnu/bits/fcntl.h:25:0,
from /usr/include/fcntl.h:34,
from /tmp/tmpROLsSj/remora-eth.c:27:
/usr/include/i386-linux-gnu/sys/types.h:61:17: error: conflicting types for ‘dev_t’
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/ioport.h:13:0,
from /usr/include/linuxcnc/rtapi.h:673,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/types.h:24:25: note: previous declaration of ‘dev_t’ was here
In file included from /usr/include/i386-linux-gnu/bits/fcntl.h:25:0,
from /usr/include/fcntl.h:34,
from /tmp/tmpROLsSj/remora-eth.c:27:
/usr/include/i386-linux-gnu/sys/types.h:71:18: error: conflicting types for ‘mode_t’
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/ioport.h:13:0,
from /usr/include/linuxcnc/rtapi.h:673,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/types.h:26:26: note: previous declaration of ‘mode_t’ was here
In file included from /usr/include/i386-linux-gnu/bits/fcntl.h:25:0,
from /usr/include/fcntl.h:34,
from /tmp/tmpROLsSj/remora-eth.c:27:
/usr/include/i386-linux-gnu/sys/types.h:76:19: error: conflicting types for ‘nlink_t’
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/ioport.h:13:0,
from /usr/include/linuxcnc/rtapi.h:673,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/types.h:28:26: note: previous declaration of ‘nlink_t’ was here
In file included from /usr/include/i386-linux-gnu/sys/types.h:133:0,
from /usr/include/i386-linux-gnu/bits/fcntl.h:25,
from /usr/include/fcntl.h:34,
from /tmp/tmpROLsSj/remora-eth.c:27:
/usr/include/time.h:104:19: error: conflicting types for ‘timer_t’
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/ioport.h:13:0,
from /usr/include/linuxcnc/rtapi.h:673,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/types.h:34:26: note: previous declaration of ‘timer_t’ was here
In file included from /usr/include/i386-linux-gnu/bits/fcntl.h:25:0,
from /usr/include/fcntl.h:34,
from /tmp/tmpROLsSj/remora-eth.c:27:
/usr/include/i386-linux-gnu/sys/types.h:212:0: warning: "__BIT_TYPES_DEFINED__" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/ioport.h:13:0,
from /usr/include/linuxcnc/rtapi.h:673,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/types.h:104:0: note: this is the location of the previous definition
In file included from /usr/include/i386-linux-gnu/sys/select.h:44:0,
from /usr/include/i386-linux-gnu/sys/types.h:220,
from /usr/include/i386-linux-gnu/bits/fcntl.h:25,
from /usr/include/fcntl.h:34,
from /tmp/tmpROLsSj/remora-eth.c:27:
/usr/include/time.h:120:8: error: redefinition of ‘struct timespec’
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/preempt.h:9:0,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/spinlock.h:50,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/seqlock.h:29,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/time.h:8,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:60,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/thread_info.h:12:8: note: originally defined here
In file included from /usr/include/i386-linux-gnu/sys/select.h:46:0,
from /usr/include/i386-linux-gnu/sys/types.h:220,
from /usr/include/i386-linux-gnu/bits/fcntl.h:25,
from /usr/include/fcntl.h:34,
from /tmp/tmpROLsSj/remora-eth.c:27:
/usr/include/i386-linux-gnu/bits/time.h:75:8: error: redefinition of ‘struct timeval’
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:60:0,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/time.h:20:8: note: originally defined here
In file included from /usr/include/i386-linux-gnu/sys/types.h:220:0,
from /usr/include/i386-linux-gnu/bits/fcntl.h:25,
from /usr/include/fcntl.h:34,
from /tmp/tmpROLsSj/remora-eth.c:27:
/usr/include/i386-linux-gnu/sys/select.h:78:5: error: conflicting types for ‘fd_set’
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/ioport.h:13:0,
from /usr/include/linuxcnc/rtapi.h:673,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/types.h:23:26: note: previous declaration of ‘fd_set’ was here
In file included from /usr/include/i386-linux-gnu/bits/fcntl.h:25:0,
from /usr/include/fcntl.h:34,
from /tmp/tmpROLsSj/remora-eth.c:27:
/usr/include/i386-linux-gnu/sys/types.h:236:20: error: conflicting types for ‘blkcnt_t’
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/ioport.h:13:0,
from /usr/include/linuxcnc/rtapi.h:673,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/types.h:140:13: note: previous declaration of ‘blkcnt_t’ was here
In file included from /usr/include/fcntl.h:41:0,
from /tmp/tmpROLsSj/remora-eth.c:27:
/usr/include/i386-linux-gnu/bits/stat.h:39:8: error: redefinition of ‘struct stat’
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:6:0,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/arch/x86/include/asm/stat.h:7:8: note: originally defined here
In file included from /usr/include/fcntl.h:41:0,
from /tmp/tmpROLsSj/remora-eth.c:27:
/usr/include/i386-linux-gnu/bits/stat.h:96:8: error: redefinition of ‘struct stat64’
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:6:0,
from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/arch/x86/include/asm/stat.h:33:8: note: originally defined here
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:43:0: warning: "S_IFMT" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:12:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:44:0: warning: "S_IFDIR" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:17:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:45:0: warning: "S_IFCHR" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:18:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:46:0: warning: "S_IFBLK" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:16:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:47:0: warning: "S_IFREG" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:15:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:49:0: warning: "S_IFIFO" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:19:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:52:0: warning: "S_IFLNK" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:14:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:55:0: warning: "S_IFSOCK" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:13:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:60:0: warning: "S_ISUID" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:20:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:61:0: warning: "S_ISGID" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:21:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:65:0: warning: "S_ISVTX" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:22:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:68:0: warning: "S_IRUSR" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:33:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:69:0: warning: "S_IWUSR" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:34:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:70:0: warning: "S_IXUSR" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:35:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:72:0: warning: "S_IRWXU" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:32:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:74:0: warning: "S_IRGRP" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:38:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:75:0: warning: "S_IWGRP" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:39:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:76:0: warning: "S_IXGRP" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:40:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:78:0: warning: "S_IRWXG" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:37:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:80:0: warning: "S_IROTH" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:43:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:81:0: warning: "S_IWOTH" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:44:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:82:0: warning: "S_IXOTH" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:45:0: note: this is the location of the previous definition
In file included from /tmp/tmpROLsSj/remora-eth.c:27:0:
/usr/include/fcntl.h:84:0: warning: "S_IRWXO" redefined [enabled by default]
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/module.h:10:0,
from /usr/include/linuxcnc/rtapi.h:781,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/stat.h:42:0: note: this is the location of the previous definition
In file included from /usr/include/netinet/in.h:24:0,
from /usr/include/arpa/inet.h:23,
from /tmp/tmpROLsSj/remora-eth.c:34:
/usr/include/stdint.h:129:23: error: conflicting types for ‘uintptr_t’
In file included from /usr/src/linux-headers-3.4-9-common-rtai/include/linux/ioport.h:13:0,
from /usr/include/linuxcnc/rtapi.h:673,
from /tmp/tmpROLsSj/remora-eth.c:22:
/usr/src/linux-headers-3.4-9-common-rtai/include/linux/types.h:45:24: note: previous declaration of ‘uintptr_t’ was here
In file included from /usr/include/arpa/inet.h:23:0,
from /tmp/tmpROLsSj/remora-eth.c:34:
/usr/include/netinet/in.h:365:17: error: expected declaration specifiers or ‘...’ before ‘(’ token
/usr/include/ne