cc: pipe failed

Hi

I try to complile c program using makefile and I get an error:

qcc -g -c -o setdo.o setdo.c
cc: pipe failed
make *** [setdo.o] Error 1

Interesting thing is that it doesn’t show up always. Sometimes I can work
quite a while without seeing it, but when I get it the only thing that works
is system reboot.
The makefile looks like this:

PL_LIB=/usr/lib/
DEMOSRC=setdo.c cifio.o
DEMOOBJS=$(DEMOSRC:.c=.o)
CC=qcc
LD=qcc
CFLAGS=-g
CRFLAGS= -s -mf -bm -bt=QNX32
all: setdo
setdo : $(DEMOOBJS)
$(LD) $(CFLAGS) -o $@ $^
tags: $(SOURCES)
etags *.c *.h
clean:
rm -f $(OBJECTS) setdo

Does anyone has any ideas?

Is the program Pipe still running when this is happening?

Nice catch :slight_smile: True, the pipe doesn’t run. When I restart it manually I can again compile without problems.
Any ideas why the compilation kills pipe?