Hans-Christoph Steiner wrote:
Which makefile? There are many.
the one in pd/src :-)
An actually copy-n-paste of the compilation transcript is more
helpful.
Which version of Pd are you compiling? 0.39.2? the latest in CVS?
it's the latest in CVS.
and now i get something different:
damian@FREY-LAPTOP ~/pd/pure-data/pd/src
$ make clean
rm -f find ../extra/ -name "*.pd_*"
rm -f tags
rm -f ../obj/* ../bin/pd ../bin/ ../bin/pdsend
../bin/pdreceive ../bin/pd-watchdog m_stamp.c
rm: ../obj/CVS' is a directory rm:
../bin' is a directory
make: [local-clean] Error 1 (ignored)
rm -f find ../portaudio ../portaudio_v18 -name "*.o"
rm -f *~
(cd ../doc/6.externs; rm -f *.pd_linux)
rm -f makefile.dependencies
touch makefile.dependencies
chmod 666 makefile.dependencies
damian@FREY-LAPTOP ~/pd/pure-data/pd/src $ make depend make: Nothing to be done for `depend'.
damian@FREY-LAPTOP ~/pd/pure-data/pd/src $ make gcc -g -O2 -DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno switch -DMSW -DINSTALL_PREFIX="/usr/local" -I. -c -o ../obj/g_canvas.o g_ca vas.c g_canvas.c:57: error: initializer element is not constant g_canvas.c:58: error: initializer element is not constant g_canvas.c:571: warning: 'canvas_makebindsym' defined locally after being refer nced with dllimport linkage g_canvas.c:674: warning: 'canvas_redraw' defined locally after being referenced with dllimport linkage g_canvas.c:746: warning: 'canvas_vis' defined locally after being referenced wi h dllimport linkage g_canvas.c:844: warning: 'glist_isvisible' defined locally after being referenc d with dllimport linkage g_canvas.c:849: warning: 'glist_istoplevel' defined locally after being referen ed with dllimport linkage g_canvas.c:1057: warning: 'canvas_loadbang' defined locally after being referen ed with dllimport linkage g_canvas.c:1202: warning: 'canvas_isabstraction' defined locally after being re erenced with dllimport linkage g_canvas.c:1229: warning: 'canvas_getrootfor' defined locally after being refer nced with dllimport linkage g_canvas.c:1321: warning: 'canvas_suspend_dsp' defined locally after being refe enced with dllimport linkage g_canvas.c:1328: warning: 'canvas_resume_dsp' defined locally after being refer nced with dllimport linkage make: *** [g_canvas.o] Error 1
damian@FREY-LAPTOP ~/pd/pure-data/pd/src $
g_canvas line 57 is: static t_symbol *canvas_newfilename = &s_;
gcc --ver says: Reading specs from d:/mingw/bin/../lib/gcc/mingw32/3.4.4/specs Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.4 (mingw special)
mwah.