Skip to content

Instantly share code, notes, and snippets.

@danboid
Created November 16, 2019 15:58
Show Gist options
  • Save danboid/24a36c8d2aae4b87b9ba49239597976c to your computer and use it in GitHub Desktop.
Save danboid/24a36c8d2aae4b87b9ba49239597976c to your computer and use it in GitHub Desktop.
i686-pc-serenity-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -g -O2 -MT nodes.o -MD -MP -MF $depbase.Tpo -c -o nodes.o nodes.c &&\
mv -f $depbase.Tpo $depbase.Po
cc -I. -I.. -include ../config.h -DBSD=1 -DSHELL -DIFS_BROKEN -g -O2 -Wall -o mksignames mksignames.c
In file included from <command-line>:
./../config.h:197:16: error: redefinition of ‘struct stat’
#define stat64 stat
^~~~
In file included from /usr/include/fcntl.h:78,
from mkinit.c:50:
/usr/include/x86_64-linux-gnu/bits/stat.h:46:8: note: originally defined here
struct stat
^~~~
In file included from <command-line>:
./../config.h:191:16: error: redefinition of ‘open’
#define open64 open
^~~~
In file included from /usr/include/fcntl.h:290,
from mkinit.c:50:
/usr/include/x86_64-linux-gnu/bits/fcntl2.h:41:1: note: previous definition of ‘open’ was here
open (const char *__path, int __oflag, ...)
^~~~
Makefile:695: recipe for target 'mkinit' failed
make[3]: *** [mkinit] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/local/ISDADS/sgs548/src/serenity/Ports/dash/dash-0.5.10.2/src'
Makefile:259: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/local/ISDADS/sgs548/src/serenity/Ports/dash/dash-0.5.10.2/src'
Makefile:279: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/local/ISDADS/sgs548/src/serenity/Ports/dash/dash-0.5.10.2'
Makefile:219: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment