LibTerm icon indicating copy to clipboard operation
LibTerm copied to clipboard

when I run ./setup.sh got this.

Open v1xingyue opened this issue 6 years ago • 2 comments

./ios_error.h:67:24: error: unknown type name 'pid_t' extern int ios_killpid(pid_t pid, int sig); // kill the current running command ^ ./ios_error.h:74:8: warning: 'const' type qualifier on return type has no effect [-Wignored-qualifiers] extern const pthread_t ios_getLastThreadId(void); ^~~~~~ 1 warning and 1 error generated. make: *** [src/bc/lex.o] Error 1

v1xingyue avatar May 23 '19 09:05 v1xingyue

OK . I got it .

Add this include head line to bc/ios_errors.h

#include <sys/types.h>

v1xingyue avatar May 24 '19 02:05 v1xingyue

Ok. I will search for another solution without modifying this code because it comes from another project. I think changing C dialect could work.

ColdGrub1384 avatar May 24 '19 18:05 ColdGrub1384