I’m using Ubuntu 8.04.1 + Ardour 2.3
When I run the make command for the ladspa trigger I get this error message.
carter@ubuntu:~$ cd /usr/lib/ladspa/ladspa-trigger
carter@ubuntu:/usr/lib/ladspa/ladspa-trigger$ make
cc -I. -Iinclude -Wall -Werror -O3 -fPIC -fno-stack-protector -o src/trigger.o -c src/trigger.c
src/trigger.c:5:19: error: stdio.h: No such file or directory
src/trigger.c:6:20: error: stdlib.h: No such file or directory
src/trigger.c:7:20: error: endian.h: No such file or directory
src/trigger.c:8:20: error: string.h: No such file or directory
src/trigger.c:9:23: error: sys/types.h: No such file or directory
src/trigger.c:10:20: error: unistd.h: No such file or directory
src/trigger.c:11:19: error: fcntl.h: No such file or directory
cc1: warnings being treated as errors
src/trigger.c: In function ‘load_wave’:
src/trigger.c:107: warning: implicit declaration of function ‘open’
src/trigger.c:107: error: ‘O_RDONLY’ undeclared (first use in this function)
src/trigger.c:107: error: (Each undeclared identifier is reported only once
src/trigger.c:107: error: for each function it appears in.)
src/trigger.c:108: warning: implicit declaration of function ‘fprintf’
src/trigger.c:108: warning: incompatible implicit declaration of built-in function ‘fprintf’
src/trigger.c:108: error: ‘stderr’ undeclared (first use in this function)
src/trigger.c:112: warning: implicit declaration of function ‘read’
src/trigger.c:113: warning: incompatible implicit declaration of built-in function ‘fprintf’
src/trigger.c:117: warning: implicit declaration of function ‘strncmp’
src/trigger.c:123: warning: implicit declaration of function ‘printf’
src/trigger.c:123: warning: incompatible implicit declaration of built-in function ‘printf’
src/trigger.c:137: warning: implicit declaration of function ‘malloc’
src/trigger.c:137: warning: incompatible implicit declaration of built-in function ‘malloc’
src/trigger.c:138: warning: incompatible implicit declaration of built-in function ‘fprintf’
src/trigger.c:143: warning: incompatible implicit declaration of built-in function ‘fprintf’
src/trigger.c:147: warning: implicit declaration of function ‘close’
src/trigger.c: In function ‘instantiateTrigger’:
src/trigger.c:160: warning: incompatible implicit declaration of built-in function ‘malloc’
src/trigger.c:177: error: ‘NULL’ undeclared (first use in this function)
src/trigger.c: In function ‘cleanupTrigger’:
src/trigger.c:309: warning: implicit declaration of function ‘free’
src/trigger.c: At top level:
src/trigger.c:319: error: ‘NULL’ undeclared here (not in a function)
src/trigger.c: In function ‘_init’:
src/trigger.c:333: warning: incompatible implicit declaration of built-in function ‘malloc’
src/trigger.c:340: warning: implicit declaration of function ‘strdup’
src/trigger.c:340: warning: incompatible implicit declaration of built-in function ‘strdup’
src/trigger.c:352: warning: implicit declaration of function ‘calloc’
src/trigger.c:352: warning: incompatible implicit declaration of built-in function ‘calloc’
make: *** [plugins/trigger.so] Error 1
carter@ubuntu:/usr/lib/ladspa/ladspa-trigger$
I’ve got to get this up and going. Any ideas on how to get it running?