Search found 3 matches

by mhanu
Mon Apr 02, 2018 9:15 am
Forum: Ember Support
Topic: popen_exec.c fails to compile
Replies: 5
Views: 195115

Re: popen_exec.c fails to compile

Hi

I did a quick and maybe dirty patch to make it work. Could you please review the patch?



--- a/popen_exec.c 2017-02-13 01:38:03.000000000 +0100
+++ b/popen_exec.c 2018-04-02 10:53:40.454237203 +0200
@@ -277,7 +277,8 @@
{
register int fdes;
sigset_t omask, nmask;
- union wait pstat ...
by mhanu
Fri Mar 09, 2018 1:32 pm
Forum: Ember Support
Topic: popen_exec.c fails to compile
Replies: 5
Views: 195115

Re: popen_exec.c fails to compile

Hi

I tried to compile it on two different systems.

System 1
- Raspberry Pi Zero W
- No distribution: Linux From Scratch (http://www.linuxfromscratch.org/lfs/view/development/) and PiLFS (http://intestinate.com/pilfs/)
- Linux Kernel 4.9.78
- gcc version 7.2.0

System 2
- Debian 9.3 (64bit)
- Linux ...
by mhanu
Thu Mar 08, 2018 10:50 am
Forum: Ember Support
Topic: popen_exec.c fails to compile
Replies: 5
Views: 195115

popen_exec.c fails to compile

Hi,

I tried to compile ember 2.0 but I get the following error:

popen_exec.c: in function »pclose_exec«:
popen_exec.c:280:13: error: storage size of »pstat« isn’t known
union wait pstat;
^~~~~
make[4]: *** [Makefile.full:187: popen_exec.o] error 1


Marcel