[PD] can't compile pdp-0.12.5

Willy WOLFF willy.wolff.0 at gmail.com
Sat Aug 28 04:38:32 CEST 2010


I want to compile this for make gentoo ebuild.

But i have error.
autoconf
./configure
make

make -C modules
make[1]: Entering directory `/home/willy/develop/pdp-0.12.5/modules'
make -C generic
make[2]: Entering directory `/home/willy/develop/pdp-0.12.5/modules/generic'
gcc -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses 
-Wno-switch -fPIC -O2 -funroll-loops -fomit-frame-pointer -ffast-math 
-DPDP_VERSION=\"0.12.5\" -I. -I/usr/X11R6/include  -I../include 
-I../../include    -o pdp_reg.o -c pdp_reg.c


[...]

gcc -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses 
-Wno-switch -fPIC -O2 -funroll-loops -fomit-frame-pointer -ffast-math 
-DPDP_VERSION=\"0.12.5\" -I. -I/usr/X11R6/include  -I../include 
-I../../include    -o pdp_rawin.o -c pdp_rawin.c
gcc -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses 
-Wno-switch -fPIC -O2 -funroll-loops -fomit-frame-pointer -ffast-math 
-DPDP_VERSION=\"0.12.5\" -I. -I/usr/X11R6/include  -I../include 
-I../../include    -o pdp_rawout.o -c pdp_rawout.c
In file included from /usr/include/fcntl.h:217,
                  from pdp_rawout.c:55:
In function 'open',
     inlined from 'rawout_thread' at pdp_rawout.c:141:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' 
declared with attribute error: open with O_CREAT in second argument 
needs 3 arguments
make[2]: *** [pdp_rawout.o] Error 1
make[2]: Leaving directory `/home/willy/develop/pdp-0.12.5/modules/generic'
make[1]: *** [current] Error 2
make[1]: Leaving directory `/home/willy/develop/pdp-0.12.5/modules'
make: *** [pdp_all] Error 2

Did somebody compile pdp with that error ???



More information about the Pd-list mailing list