Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amiga-gcc doesn't build #27

Closed
afalkenhahn opened this issue May 13, 2018 · 2 comments
Closed

amiga-gcc doesn't build #27

afalkenhahn opened this issue May 13, 2018 · 2 comments

Comments

@afalkenhahn
Copy link

I've just tried to do a fresh build of amiga-gcc to test clib2 wide char support but it doesn't build. Here is the log when it breaks:

/home/andreas/amiga-gcc/build/gcc/./gcc/xgcc -B/home/andreas/amiga-gcc/build/gcc/./gcc/ -B/opt/amiga/m68k-amigaos/bin/ -B/opt/amiga/m68k-amigaos/lib/ -isystem /opt/amiga/m68k-amigaos/include -isystem /opt/amiga/m68k-amigaos/sys-include    -g -O2 -mcpu=68020  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -I. -I. -I../../.././gcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc/. -I/home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
/home/andreas/amiga-gcc/build/gcc/./gcc/xgcc -B/home/andreas/amiga-gcc/build/gcc/./gcc/ -B/opt/amiga/m68k-amigaos/bin/ -B/opt/amiga/m68k-amigaos/lib/ -isystem /opt/amiga/m68k-amigaos/include -isystem /opt/amiga/m68k-amigaos/sys-include    -g -O2 -mcpu=68020  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -I. -I. -I../../.././gcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc/. -I/home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o _negdi2.o -MT _negdi2.o -MD -MP -MF _negdi2.dep -DL_negdi2 -c /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
/home/andreas/amiga-gcc/build/gcc/./gcc/xgcc -B/home/andreas/amiga-gcc/build/gcc/./gcc/ -B/opt/amiga/m68k-amigaos/bin/ -B/opt/amiga/m68k-amigaos/lib/ -isystem /opt/amiga/m68k-amigaos/include -isystem /opt/amiga/m68k-amigaos/sys-include    -g -O2 -mcpu=68020  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -I. -I. -I../../.././gcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc/. -I/home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o _lshrdi3.o -MT _lshrdi3.o -MD -MP -MF _lshrdi3.dep -DL_lshrdi3 -c /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
/home/andreas/amiga-gcc/build/gcc/./gcc/xgcc -B/home/andreas/amiga-gcc/build/gcc/./gcc/ -B/opt/amiga/m68k-amigaos/bin/ -B/opt/amiga/m68k-amigaos/lib/ -isystem /opt/amiga/m68k-amigaos/include -isystem /opt/amiga/m68k-amigaos/sys-include    -g -O2 -mcpu=68020  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -I. -I. -I../../.././gcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc/. -I/home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc -I/home/andreas/amiga-gcc/projects/gcc/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o _ashldi3.o -MT _ashldi3.o -MD -MP -MF _ashldi3.dep -DL_ashldi3 -c /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
In file included from /home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:56:0,
                 from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/machine/types.h:6:2: error: #error "must be included via <sys/types.h>"
 #error "must be included via <sys/types.h>"
  ^~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:70:9: error: unknown type name 'u_int64_t'
 typedef u_int64_t u_quad_t; /* quads */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:71:9: error: unknown type name 'int64_t'
 typedef int64_t  quad_t;
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:75:9: error: unknown type name 'int32_t'
 typedef int32_t  daddr_t; /* disk address */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:76:9: error: unknown type name 'int16_t'
 typedef int16_t  dev_t;  /* device number */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:77:9: error: unknown type name 'u_int32_t'
 typedef u_int32_t fixpt_t; /* fixed point number */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:78:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t gid_t;  /* group id */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:79:9: error: unknown type name 'u_int32_t'
 typedef u_int32_t ino_t;  /* inode number */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:81:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t mode_t;  /* permissions */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:82:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t nlink_t; /* link count */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:83:9: error: unknown type name 'int32_t'
 typedef int32_t  off_t;  /* file offset */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:84:9: error: unknown type name 'int32_t'
 typedef int32_t  pid_t;  /* process id */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:85:9: error: unknown type name 'int32_t'
 typedef int32_t  rlim_t;  /* resource limit */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:86:9: error: unknown type name 'int32_t'
 typedef int32_t  segsz_t; /* segment size */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:87:9: error: unknown type name 'int32_t'
 typedef int32_t  swblk_t; /* swap offset */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:88:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t uid_t;  /* user id */
         ^~~~~~~~~
In file included from /home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:56:0,
                 from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/machine/types.h:6:2: error: #error "must be included via <sys/types.h>"
 #error "must be included via <sys/types.h>"
  ^~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:70:9: error: unknown type name 'u_int64_t'
 typedef u_int64_t u_quad_t; /* quads */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:71:9: error: unknown type name 'int64_t'
 typedef int64_t  quad_t;
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:75:9: error: unknown type name 'int32_t'
 typedef int32_t  daddr_t; /* disk address */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:76:9: error: unknown type name 'int16_t'
 typedef int16_t  dev_t;  /* device number */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:77:9: error: unknown type name 'u_int32_t'
 typedef u_int32_t fixpt_t; /* fixed point number */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:78:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t gid_t;  /* group id */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:79:9: error: unknown type name 'u_int32_t'
 typedef u_int32_t ino_t;  /* inode number */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:81:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t mode_t;  /* permissions */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:82:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t nlink_t; /* link count */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:83:9: error: unknown type name 'int32_t'
 typedef int32_t  off_t;  /* file offset */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:84:9: error: unknown type name 'int32_t'
 typedef int32_t  pid_t;  /* process id */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:85:9: error: unknown type name 'int32_t'
 typedef int32_t  rlim_t;  /* resource limit */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:86:9: error: unknown type name 'int32_t'
 typedef int32_t  segsz_t; /* segment size */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:87:9: error: unknown type name 'int32_t'
 typedef int32_t  swblk_t; /* swap offset */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:88:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t uid_t;  /* user id */
         ^~~~~~~~~
In file included from /home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:56:0,
                 from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/machine/types.h:6:2: error: #error "must be included via <sys/types.h>"
 #error "must be included via <sys/types.h>"
  ^~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:70:9: error: unknown type name 'u_int64_t'
 typedef u_int64_t u_quad_t; /* quads */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:71:9: error: unknown type name 'int64_t'
 typedef int64_t  quad_t;
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:75:9: error: unknown type name 'int32_t'
 typedef int32_t  daddr_t; /* disk address */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:76:9: error: unknown type name 'int16_t'
 typedef int16_t  dev_t;  /* device number */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:77:9: error: unknown type name 'u_int32_t'
 typedef u_int32_t fixpt_t; /* fixed point number */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:78:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t gid_t;  /* group id */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:79:9: error: unknown type name 'u_int32_t'
 typedef u_int32_t ino_t;  /* inode number */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:81:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t mode_t;  /* permissions */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:82:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t nlink_t; /* link count */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:83:9: error: unknown type name 'int32_t'
 typedef int32_t  off_t;  /* file offset */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:84:9: error: unknown type name 'int32_t'
 typedef int32_t  pid_t;  /* process id */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:85:9: error: unknown type name 'int32_t'
 typedef int32_t  rlim_t;  /* resource limit */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:86:9: error: unknown type name 'int32_t'
 typedef int32_t  segsz_t; /* segment size */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:87:9: error: unknown type name 'int32_t'
 typedef int32_t  swblk_t; /* swap offset */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:88:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t uid_t;  /* user id */
         ^~~~~~~~~
In file included from /home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:56:0,
                 from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/machine/types.h:6:2: error: #error "must be included via <sys/types.h>"
 #error "must be included via <sys/types.h>"
  ^~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:70:9: error: unknown type name 'u_int64_t'
 typedef u_int64_t u_quad_t; /* quads */
         ^~~~~~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/unistd.h:4:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:102,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:240:14: error: unknown type name 'useconds_t'
 int  usleep (useconds_t __useconds);
              ^~~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:71:9: error: unknown type name 'int64_t'
 typedef int64_t  quad_t;
         ^~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:1: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
 ^~~~~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:20: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
                    ^~~~~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:43: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
                                           ^~~~~~~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/unistd.h:4:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:102,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:240:14: error: unknown type name 'useconds_t'
 int  usleep (useconds_t __useconds);
              ^~~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:75:9: error: unknown type name 'int32_t'
 typedef int32_t  daddr_t; /* disk address */
         ^~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:1: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
 ^~~~~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:20: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
                    ^~~~~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:43: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
                                           ^~~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:76:9: error: unknown type name 'int16_t'
 typedef int16_t  dev_t;  /* device number */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:77:9: error: unknown type name 'u_int32_t'
 typedef u_int32_t fixpt_t; /* fixed point number */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:78:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t gid_t;  /* group id */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:79:9: error: unknown type name 'u_int32_t'
 typedef u_int32_t ino_t;  /* inode number */
         ^~~~~~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/sys/timespec.h:38:0,
                 from /opt/amiga/m68k-amigaos/sys-include/time.h:29,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:108,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/sys/_timespec.h:40:18: error: conflicting types for 'time_t'
 typedef _TIME_T_ time_t;
                  ^~~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:133:22: note: previous declaration of 'time_t' was here
 typedef _BSD_TIME_T_ time_t;
                      ^~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:81:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t mode_t;  /* permissions */
         ^~~~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:82:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t nlink_t; /* link count */
         ^~~~~~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/sys/timespec.h:38:0,
                 from /opt/amiga/m68k-amigaos/sys-include/time.h:29,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:108,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/sys/_timespec.h:40:18: error: conflicting types for 'time_t'
 typedef _TIME_T_ time_t;
                  ^~~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:133:22: note: previous declaration of 'time_t' was here
 typedef _BSD_TIME_T_ time_t;
                      ^~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:83:9: error: unknown type name 'int32_t'
 typedef int32_t  off_t;  /* file offset */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:84:9: error: unknown type name 'int32_t'
 typedef int32_t  pid_t;  /* process id */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:85:9: error: unknown type name 'int32_t'
 typedef int32_t  rlim_t;  /* resource limit */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:86:9: error: unknown type name 'int32_t'
 typedef int32_t  segsz_t; /* segment size */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:87:9: error: unknown type name 'int32_t'
 typedef int32_t  swblk_t; /* swap offset */
         ^~~~~~~
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:88:9: error: unknown type name 'u_int16_t'
 typedef u_int16_t uid_t;  /* user id */
         ^~~~~~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/unistd.h:4:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:102,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:240:14: error: unknown type name 'useconds_t'
 int  usleep (useconds_t __useconds);
              ^~~~~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:1: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
 ^~~~~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:20: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
                    ^~~~~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:43: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
                                           ^~~~~~~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/sys/timespec.h:38:0,
                 from /opt/amiga/m68k-amigaos/sys-include/time.h:29,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:108,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/sys/_timespec.h:40:18: error: conflicting types for 'time_t'
 typedef _TIME_T_ time_t;
                  ^~~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:133:22: note: previous declaration of 'time_t' was here
 typedef _BSD_TIME_T_ time_t;
                      ^~~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/unistd.h:4:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:102,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:240:14: error: unknown type name 'useconds_t'
 int  usleep (useconds_t __useconds);
              ^~~~~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:1: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
 ^~~~~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:20: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
                    ^~~~~~~~~~
/opt/amiga/m68k-amigaos/sys-include/sys/unistd.h:294:43: error: unknown type name 'useconds_t'
 useconds_t ualarm (useconds_t __useconds, useconds_t __interval);
                                           ^~~~~~~~~~
make[4]: *** [_lshrdi3.o] Fehler 1
make[4]: *** Warte auf noch nicht beendete Prozesse...
make[4]: *** [_muldi3.o] Fehler 1
In file included from /opt/amiga/m68k-amigaos/sys-include/sys/timespec.h:38:0,
                 from /opt/amiga/m68k-amigaos/sys-include/time.h:29,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:108,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/opt/amiga/m68k-amigaos/sys-include/sys/_timespec.h:40:18: error: conflicting types for 'time_t'
 typedef _TIME_T_ time_t;
                  ^~~~~~
In file included from /opt/amiga/m68k-amigaos/sys-include/stdio.h:61:0,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/../gcc/tsystem.h:87,
                 from /home/andreas/amiga-gcc/projects/gcc/libgcc/libgcc2.c:27:
/home/andreas/amiga-gcc/build/gcc/gcc/include-fixed/sys/types.h:133:22: note: previous declaration of 'time_t' was here
 typedef _BSD_TIME_T_ time_t;
                      ^~~~~~
make[4]: *** [_ashldi3.o] Fehler 1
make[4]: *** [_negdi2.o] Fehler 1
make[4]: Verlasse Verzeichnis '/home/andreas/amiga-gcc/build/gcc/m68k-amigaos/libm020/libgcc'
make[3]: *** [multi-do] Fehler 1
make[3]: Verlasse Verzeichnis '/home/andreas/amiga-gcc/build/gcc/m68k-amigaos/libgcc'
make[2]: *** [all-multi] Fehler 2
make[2]: Verlasse Verzeichnis '/home/andreas/amiga-gcc/build/gcc/m68k-amigaos/libgcc'
make[1]: *** [all-target-libgcc] Fehler 2
make[1]: Verlasse Verzeichnis '/home/andreas/amiga-gcc/build/gcc'
make: *** [build/gcc/_libgcc_done] Fehler 2 
@bebbo
Copy link
Owner

bebbo commented May 13, 2018

there are changes to the include structure, you need to run

make clean-prefix

Don't forget to backup your own headers and libs.
Later you can safely place your headers and libs into $(prefix)/include and $(prefix)lib - these folders are no longer removed using make clean-prefix

@afalkenhahn
Copy link
Author

Thanks, that solved the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants