# Failed compiling pigpio

• Hi All,

I try to install the evok from git. I have the problem i'm not able to compile the pigpio. The actual line is:
make: *** No rule to make target 'custom.cext', needed by 'pigpio.o'. Stop.

The file 'custom.cext' does not exist and is needed. I tried to create it mysef (empy file) but then it is missing some references:
pigpio.c:(.text+0x14dac): undefined reference to `gpioCustom2'

Hope someone can help me.
Thanks!

• Hi All,

I try to install the evok from git. I have the problem i'm not able to compile the pigpio. The actual line is:
make: *** No rule to make target 'custom.cext', needed by 'pigpio.o'. Stop.

The file 'custom.cext' does not exist and is needed. I tried to create it mysef (empy file) but then it is missing some references:
pigpio.c:(.text+0x14dac): undefined reference to `gpioCustom2'

Hope someone can help me.
Thanks!

• It's working now, but don't think the way it should.

• From the folder pigpio I edit the Makefile and removed the 'custom.cext' from the bottom.
• I edit the file 'pigpio.c' and at the bottom removed: #include "custom.cext"
• In the file 'pigpio.c' I removed the following code:
``````case PI_CMD_CF1:
res = gpioCustom1(p[1], p[2], buf, p[3]);
break;

case PI_CMD_CF2:
/* a couple of extra precautions for untruested code */
if (p[2] > bufSize) p[2] = bufSize;
res = gpioCustom2(p[1], buf, p[3], buf, p[2]);
if (res > p[2]) res = p[2];
break;
``````

• Hello,

I have made a mistake when committing the last update. The problem was that the custom.cext file was missing…