
Applying ./patches/100-compile_fix.patch using plaintext: 
File sysincludes.h is read-only; trying to patch anyway
patching file sysincludes.h
checking for x86_64-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /home/bastian/ledebot/source/staging_dir/host/bin/grep
checking for egrep... /home/bastian/ledebot/source/staging_dir/host/bin/grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for install-info... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for getpwnam in -lsun... no
checking for cam_open_device in -lcam... no
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking linux/unistd.h usability... yes
checking linux/unistd.h presence... yes
checking for linux/unistd.h... yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for memory.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking sys/floppy.h usability... no
checking sys/floppy.h presence... no
checking for sys/floppy.h... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for iconv.h... (cached) no
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for caddr_t... yes
checking size of size_t... 8
checking whether llseek declared in unistd.h... no
checking whether lseek64 declared in unistd.h... yes
checking for htons... yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for strerror... yes
checking for random... yes
checking for srandom... yes
checking for strchr... yes
checking for strrchr... yes
checking for lockf... yes
checking for flock... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strnlen... yes
checking for atexit... yes
checking for on_exit... yes
checking for getpass... yes
checking for memmove... yes
checking for strdup... yes
checking for strcspn... yes
checking for strspn... yes
checking for strtoul... yes
checking for strtol... yes
checking for memcpy... yes
checking for strpbrk... yes
checking for memset... yes
checking for setenv... yes
checking for seteuid... yes
checking for setresuid... yes
checking for setpgrp... yes
checking for tcsetattr... yes
checking for tcflush... yes
checking for basename... yes
checking for fchdir... yes
checking for media_oldaliases... no
checking for llseek... yes
checking for lseek64... yes
checking for snprintf... yes
checking for stat64... yes
checking for setlocale... yes
checking for wcsdup... yes
checking for wcscasecmp... yes
checking for wcsnlen... yes
checking for putwc... yes
checking for getuserid... no
checking for getgroupid... no
checking for sigaction... yes
checking for 64-bit off_t... yes
checking whether gcc supports loff_t type... yes
checking whether gcc supports offset_t type... no
checking whether gcc supports long long type... yes
checking for utimes... yes
checking for tzset... yes
checking for gettimeofday... yes
checking declaration of sys_errlist... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lsocket... no
checking for main in -lbsd... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking whether setpgrp takes no argument... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
make[4]: Entering directory '/home/bastian/ledebot/source/build_dir/host/mtools-4.0.18'
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c buffer.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c charsetConv.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c codepages.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c config.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c copyfile.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c devices.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c dirCache.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c directory.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c direntry.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c expand.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c fat.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c fat_free.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c file.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c file_name.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c filter.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c floppyd_io.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c force_io.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c hash.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c init.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c llong.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c match.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mainloop.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mattrib.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mbadblocks.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mcat.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mcd.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mclasserase.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mcopy.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mdel.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mdir.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mdoctorfat.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mdu.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mformat.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c minfo.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c misc.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c missFuncs.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mk_direntry.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mlabel.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mmd.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mmount.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mmove.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mpartition.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mshortname.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mshowfat.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mzip.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c mtools.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c patchlevel.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c plain_io.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c precmd.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c privileges.c
privileges.c: In function 'reclaim_privs':
privileges.c:115:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
  setgid(egid);
  ^
privileges.c: In function 'Setuid':
privileges.c:99:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
   seteuid(uid);
   ^
privileges.c:105:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
   setuid(uid);
   ^
privileges.c: In function 'drop_privs':
privileges.c:123:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
  setgid(rgid);
  ^
privileges.c: In function 'destroy_privs':
privileges.c:133:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
   setuid(0); /* get the necessary privs to drop real root id */
   ^
privileges.c:134:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
   setuid(ruid); /* this should be enough to get rid of the three
   ^
privileges.c:136:3: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
   seteuid(ruid); /* for good measure... just in case we came
   ^
privileges.c: In function 'init_privs':
privileges.c:179:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
   setuid(0); /* set real uid to 0 */
   ^
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c scsi.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c signal.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c stream.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c streamcache.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c subdir.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c unixdir.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c tty.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c vfat.c
gcc -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/home/bastian/ledebot/source/staging_dir/host/etc\" -DCPU_x86_64 -DVENDOR_pc -DOS_linux_gnu -O2 -I/home/bastian/ledebot/source/staging_dir/host/include -I/home/bastian/ledebot/source/staging_dir/host/usr/include  -Wall -fno-strict-aliasing -I.  -I.  -c xdf_io.c
gcc -L/home/bastian/ledebot/source/staging_dir/host/lib -L/home/bastian/ledebot/source/staging_dir/host/usr/lib    buffer.o charsetConv.o codepages.o config.o copyfile.o devices.o dirCache.o directory.o direntry.o expand.o fat.o fat_free.o file.o file_name.o filter.o floppyd_io.o force_io.o hash.o init.o llong.o match.o mainloop.o mattrib.o mbadblocks.o mcat.o mcd.o mclasserase.o mcopy.o mdel.o mdir.o mdoctorfat.o mdu.o mformat.o minfo.o misc.o missFuncs.o mk_direntry.o mlabel.o mmd.o mmount.o mmove.o mpartition.o mshortname.o mshowfat.o mzip.o mtools.o patchlevel.o plain_io.o precmd.o privileges.o scsi.o signal.o stream.o streamcache.o subdir.o unixdir.o tty.o vfat.o xdf_io.o -o mtools    -lbsd 
rm -f mcopy && ln -s mtools mcopy
rm -f mmd && ln -s mtools mmd
make[4]: Leaving directory '/home/bastian/ledebot/source/build_dir/host/mtools-4.0.18'
