I don't have this error anymore (I haven't MIG, so I install it). But now I have that : depbase=`echo device/net_io.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -m32 -DHAVE_CONFIG_H -I. -I.. -nostdinc -imacros config.h -Ii386 -I. -I../i386 -I../i386/include/mach/sa -I../include -fno-builtin-log -Wall -fno-strict-aliasing -fno-stack-protector -mno-3dnow -mno-mmx -mno-sse -mno-sse2 -g -O2 -MT device/net_io.o -MD -MP -MF $depbase.Tpo -c -o device/net_io.o ../device/net_io.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from ../device/net_io.c:44: In file included from ../include/device/net_status.h:36: In file included from ../include/device/device_types.h:37: In file included from ../include/mach/std_types.h:45: In file included from ../ipc/ipc_port.h:47: In file included from ../kern/ipc_kobject.h:44: In file included from ../ipc/ipc_kmsg.h:46: In file included from ../vm/vm_map.h:49: In file included from ../vm/pmap.h:45: In file included from ../kern/thread.h:55: In file included from ./machine/thread.h:43: In file included from ../i386/i386/tss.h:32: In file included from ./machine/io_perm.h:26: In file included from ../device/dev_hdr.h:64: ../device/conf.h:40:24: warning: redefinition of typedef 'io_req_t' is a C11 feature [-Wtypedef-redefinition] typedef struct io_req *io_req_t; ^ ../kern/mach_clock.h:35:24: note: previous definition is here typedef struct io_req *io_req_t; ^ In file included from ../device/net_io.c:44: In file included from ../include/device/net_status.h:36: In file included from ../include/device/device_types.h:37: In file included from ../include/mach/std_types.h:45: In file included from ../ipc/ipc_port.h:47: In file included from ../kern/ipc_kobject.h:44: In file included from ../ipc/ipc_kmsg.h:46: In file included from ../vm/vm_map.h:50: In file included from ../vm/vm_object.h:47: ../kern/debug.h:60:13: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration] extern void log (int level, const char *fmt, ...); ^ ../kern/debug.h:60:13: note: 'log' is a builtin with type 'double (double)' In file included from ../device/net_io.c:44: In file included from ../include/device/net_status.h:36: ../include/device/device_types.h:122:14: warning: redefinition of typedef 'io_return_t' is a C11 feature [-Wtypedef-redefinition] typedef int io_return_t; ^ ../device/conf.h:42:13: note: previous definition is here typedef int io_return_t; ^ In file included from ../device/net_io.c:46: In file included from ../device/net_io.h:46: ../device/io_req.h:50:24: warning: redefinition of typedef 'io_req_t' is a C11 feature [-Wtypedef-redefinition] typedef struct io_req *io_req_t; ^ ../device/conf.h:40:24: note: previous definition is here typedef struct io_req *io_req_t; ^ ../device/net_io.c:1184:5: error: function definition is not allowed here { ^ 4 warnings and 1 error generated. make: *** [device/net_io.o] Error 1
I've also searched, but find nothing too. Le 23/04/2014 23:54, Samuel Thibault a écrit : > Solal, le Wed 23 Apr 2014 13:40:45 +0200, a écrit : >> I try to build GNU Hurd and I've got this error when I make gnumach.gz : >> >> mig -n -cc cat - /dev/null \ >> -user vm/memory_object_user.user.c -header >> vm/memory_object_user.user.h \ >> -list vm/memory_object_user.user.msgids >> \ >> < vm/lib_dep_tr_for_defs_a-memory_object_user.user.defs.o >> cat: illegal option -- E >> usage: cat [-benstuv] [file ...] >> mig: fatal: "<no name yet>", line -1: no SubSystem declaration >> make: *** [vm/memory_object_user.user.h] Error 1 >> >> I searched but find nothing. Can you help me? > > You very probably should also post the content of config.log. > > Samuel >