Skip to content

Instantly share code, notes, and snippets.

@danboid
Created November 17, 2019 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danboid/68831b2771928a6ac1cbde0cd8b7bb76 to your computer and use it in GitHub Desktop.
Save danboid/68831b2771928a6ac1cbde0cd8b7bb76 to your computer and use it in GitHub Desktop.
i686-pc-serenity-gcc -DHAVE_CONFIG_H -I. -I.. -DBSD=1 -DSHELL -DIFS_BROKEN -Wall -g -O2 -MT expand.o -MD -MP -MF $depbase.Tpo -c -o expand.o expand.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from arith_yylex.c:44:
system.h:65:22: error: static declaration of 'strtod' follows non-static declaration
static inline double strtod(const char *nptr, char **endptr)
^~~~~~
In file included from arith_yylex.c:36:
/home/local/ISDADS/sgs548/src/serenity/Root/usr/include/stdlib.h:25:8: note: previous declaration of 'strtod' was here
double strtod(const char*, char** endptr);
^~~~~~
In file included from arith_yylex.c:44:
system.h:86:19: error: static declaration of 'killpg' follows non-static declaration
static inline int killpg(pid_t pid, int signal)
^~~~~~
In file included from /home/local/ISDADS/sgs548/src/serenity/Root/usr/include/setjmp.h:3,
from error.h:37,
from arith_yylex.c:40:
/home/local/ISDADS/sgs548/src/serenity/Root/usr/include/signal.h:25:5: note: previous declaration of 'killpg' was here
int killpg(int pgrp, int sig);
^~~~~~
In file included from eval.c:64:
myhistedit.h:34:10: fatal error: histedit.h: No such file or directory
#include <histedit.h>
^~~~~~~~~~~~
compilation terminated.
Makefile:386: recipe for target 'arith_yylex.o' failed
make[3]: *** [arith_yylex.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Makefile:386: recipe for target 'eval.o' failed
make[3]: *** [eval.o] Error 1
In file included from exec.c:72:
system.h:65:22: error: static declaration of 'strtod' follows non-static declaration
static inline double strtod(const char *nptr, char **endptr)
^~~~~~
In file included from exec.c:39:
/home/local/ISDADS/sgs548/src/serenity/Root/usr/include/stdlib.h:25:8: note: previous declaration of 'strtod' was here
double strtod(const char*, char** endptr);
^~~~~~
In file included from exec.c:72:
system.h:86:19: error: static declaration of 'killpg' follows non-static declaration
static inline int killpg(pid_t pid, int signal)
^~~~~~
In file included from /home/local/ISDADS/sgs548/src/serenity/Root/usr/include/setjmp.h:3,
from error.h:37,
from exec.c:66:
/home/local/ISDADS/sgs548/src/serenity/Root/usr/include/signal.h:25:5: note: previous declaration of 'killpg' was here
int killpg(int pgrp, int sig);
^~~~~~
In file included from error.c:54:
system.h:65:22: error: static declaration of 'strtod' follows non-static declaration
static inline double strtod(const char *nptr, char **endptr)
^~~~~~
In file included from error.c:40:
/home/local/ISDADS/sgs548/src/serenity/Root/usr/include/stdlib.h:25:8: note: previous declaration of 'strtod' was here
double strtod(const char*, char** endptr);
^~~~~~
In file included from error.c:54:
system.h:86:19: error: static declaration of 'killpg' follows non-static declaration
static inline int killpg(pid_t pid, int signal)
^~~~~~
In file included from error.c:39:
/home/local/ISDADS/sgs548/src/serenity/Root/usr/include/signal.h:25:5: note: previous declaration of 'killpg' was here
int killpg(int pgrp, int sig);
^~~~~~
exec.c: In function 'tryexec':
exec.c:154:28: error: '_PATH_BSHELL' undeclared (first use in this function); did you mean 'NSUBSHELL'?
char *const path_bshell = _PATH_BSHELL;
^~~~~~~~~~~~
NSUBSHELL
exec.c:154:28: note: each undeclared identifier is reported only once for each function it appears in
error.c: In function 'exraise':
error.c:88:1: warning: 'noreturn' function does return
}
^
exec.c: In function 'find_command':
exec.c:292:16: error: storage size of 'statb' isn't known
struct stat64 statb;
^~~~~
exec.c:301:11: warning: implicit declaration of function 'stat64'; did you mean 'stat'? [-Wimplicit-function-declaration]
while (stat64(name, &statb) < 0) {
^~~~~~
stat
Makefile:386: recipe for target 'error.o' failed
make[3]: *** [error.o] Error 1
exec.c:292:16: warning: unused variable 'statb' [-Wunused-variable]
struct stat64 statb;
^~~~~
In file included from expand.c:77:
system.h:65:22: error: static declaration of 'strtod' follows non-static declaration
static inline double strtod(const char *nptr, char **endptr)
^~~~~~
In file included from expand.c:43:
/home/local/ISDADS/sgs548/src/serenity/Root/usr/include/stdlib.h:25:8: note: previous declaration of 'strtod' was here
double strtod(const char*, char** endptr);
^~~~~~
In file included from expand.c:77:
system.h:86:19: error: static declaration of 'killpg' follows non-static declaration
static inline int killpg(pid_t pid, int signal)
^~~~~~
In file included from /home/local/ISDADS/sgs548/src/serenity/Root/usr/include/setjmp.h:3,
from error.h:37,
from expand.c:74:
/home/local/ISDADS/sgs548/src/serenity/Root/usr/include/signal.h:25:5: note: previous declaration of 'killpg' was here
int killpg(int pgrp, int sig);
^~~~~~
Makefile:386: recipe for target 'exec.o' failed
make[3]: *** [exec.o] Error 1
expand.c: In function 'expmeta':
expand.c:1316:16: error: storage size of 'statb' isn't known
struct stat64 statb;
^~~~~
expand.c:1361:7: warning: implicit declaration of function 'lstat64'; did you mean 'lstat'? [-Wimplicit-function-declaration]
if (lstat64(expdir, &statb) >= 0)
^~~~~~~
lstat
expand.c:1316:16: warning: unused variable 'statb' [-Wunused-variable]
struct stat64 statb;
^~~~~
expand.c: In function 'cvtnum':
expand.c:1756:32: error: expected ')' before 'PRIdMAX'
len = fmtstr(expdest, len, "%" PRIdMAX, num);
^~~~~~~~
)
expand.c:1756:30: warning: spurious trailing '%' in format [-Wformat=]
len = fmtstr(expdest, len, "%" PRIdMAX, num);
^
Makefile:386: recipe for target 'expand.o' failed
make[3]: *** [expand.o] Error 1
make[3]: Leaving directory '/home/local/ISDADS/sgs548/src/serenity/Ports/dash/dash-0.5.10.2/src'
Makefile:258: 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