There are some recent commits to pdp in the pure-data SVN, so that's
probably the place to start from.
.hc
On Sep 7, 2010, at 10:51 AM, Pagano, Patrick wrote:
Tom fixed that in 0.12.7 I think
pp
-----Original Message----- From: pd-list-bounces@iem.at [mailto:pd-list-bounces@iem.at] On
Behalf Of Willy WOLFF Sent: Monday, September 06, 2010 8:40 PM To: tom@zwizwa.be; pd-list@iem.at Subject: [PD] problem compiling pdp 0.12.5 unde GNU/Gentoo LinuxHello.
When i compile pdp from http://zwizwa.be/pd/pdp/pdp-0.12.5.tar.gz, i have an error :
i simply do as recommended ./configure make
And i have this : willy@localhost ~/develop/pdp-0.12.5 $ ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking m_pd.h usability... yes checking m_pd.h presence... yes checking for m_pd.h... yes checking for sin in -lm... yes checking linux/videodev.h usability... yes checking linux/videodev.h presence... yes checking for linux/videodev.h... yes checking for main in -lgslcblas... yes checking for main in -lgsl... yes checking for png_read_image in -lpng... yes checking for XOpenDisplay in -lX11... yes checking for XvPutImage in -lXv... yes checking for lqt_decode_video in -lquicktime... yes checking for glXSwapBuffers in -lGL... yes checking for SDL_Init in -lSDL... yes target is linux used configure options: --enable-mmx=no --enable-quicktime=yes --enable-v4l=yes --enable-pwc=auto --enable-sdl=yes --enable-x=yes --enable-xv=yes --enable-glx=yes --enable-gsl=yes --enable-png=yes --enable-debug=no configure: creating ./config.status config.status: creating Makefile.config config.status: creating bin/pdp-config config.status: creating include/pdp_config.h config.status: include/pdp_config.h is unchanged
willy@localhost ~/develop/pdp-0.12.5 $ make make -C system make[1]: Entering directory
/home/willy/develop/pdp-0.12.5/system' make -C net make[2]: Entering directory
/home/willy/develop/pdp-0.12.5/system/ net' 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_net.o -c pdp_net.c make[2]: Leaving directory/home/willy/develop/pdp-0.12.5/system/net' make -C X11 make[2]: Entering directory
/home/willy/develop/pdp-0.12.5/system/ X11' 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_xwindow.o -c pdp_xwindow.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_xvideo.o -c pdp_xvideo.c make[2]: Leaving directory/home/willy/develop/pdp-0.12.5/system/X11' make -C png make[2]: Entering directory
/home/willy/develop/pdp-0.12.5/system/ png' 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_png.o -c pdp_png.c pdp_png.c: In function '_open_read': pdp_png.c:99: warning: ignoring return value of 'fread', declared with attribute warn_unused_result make[2]: Leaving directory/home/willy/develop/pdp-0.12.5/system/png' make -C type make[2]: Entering directory
/home/willy/develop/pdp-0.12.5/system/ type' 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_bitmap.o -c pdp_bitmap.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_image.o -c pdp_image.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_matrix.o -c pdp_matrix.c make[2]: Leaving directory/home/willy/develop/pdp-0.12.5/system/ type' make -C kernel make[2]: Entering directory
/home/willy/develop/pdp-0.12.5/system/ kernel' rm -f pdp.o 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_packet.o -c pdp_packet.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_type.o -c pdp_type.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_dpd_command.o -c pdp_dpd_command.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_list.o -c pdp_list.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_debug.o -c pdp_debug.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_symbol.o -c pdp_symbol.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_mem.o -c pdp_mem.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_post.o -c pdp_post.c make[2]: Leaving directory/home/willy/develop/pdp-0.12.5/system/ kernel' make -C image linux make[2]: Entering directory
/home/willy/develop/pdp-0.12.5/system/ image' 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_imageproc_portable.o -c
pdp_imageproc_portable.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_llconv_portable.o -c pdp_llconv_portable.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_llconv.o -c pdp_llconv.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_resample.o -c pdp_resample.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_imageproc_common.o -c pdp_imageproc_common.c make[2]: Leaving directory/home/willy/develop/pdp-0.12.5/system/ image' 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.o -c pdp.c make[1]: Leaving directory
/home/willy/develop/pdp-0.12.5/system' make -C puredata make[1]: Entering directory/home/willy/develop/pdp-0.12.5/puredata' 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_base.o -c pdp_base.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_imagebase.o -c pdp_imagebase.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_dpd_base.o -c pdp_dpd_base.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_ut.o -c pdp_ut.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_queue.o -c pdp_queue.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_comm.o -c pdp_comm.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_control.o -c pdp_control.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_compat.o -c pdp_compat.c make[1]: Leaving directory
/home/willy/develop/pdp-0.12.5/puredata' 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_del.o -c pdp_del.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_snap.o -c pdp_snap.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_trigger.o -c pdp_trigger.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_route.o -c pdp_route.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_inspect.o -c pdp_inspect.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_loop.o -c pdp_loop.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_description.o -c pdp_description.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_convert.o -c pdp_convert.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_udp_send.o -c pdp_udp_send.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_udp_receive.o -c pdp_udp_receive.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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously. - Benjamin Franklin