Jack wrote:
Hello list, hello Yves,
I am trying to compile the external 'playlist' from 'unauthorized' and get some troubles after a 'make' :
./tk2c.bash < playlist.tk > playlist.tk2c gcc -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer -Wall -W -Wno-shadow -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -Werror -g "-I/home/jack/pd-0.42-5/src" -o playlist.o -c playlist.c In file included from playlist.c:42: /home/jack/pd-0.42-5/src/g_canvas.h:51: error: redefinition of ‘struct _updateheader’ /home/jack/pd-0.42-5/src/g_canvas.h:55: error: conflicting types for ‘t_updateheader’ /home/jack/pd-0.42-5/src/m_imp.h:55: note: previous declaration of ‘t_updateheader’ was here /home/jack/pd-0.42-5/src/g_canvas.h:58: error: redefinition of typedef ‘t_glistmotionfn’ /home/jack/pd-0.42-5/src/m_imp.h:58: note: previous declaration of ‘t_glistmotionfn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:59: error: redefinition of typedef ‘t_glistkeyfn’ /home/jack/pd-0.42-5/src/m_imp.h:59: note: previous declaration of ‘t_glistkeyfn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:80: error: redefinition of ‘struct _selection’ /home/jack/pd-0.42-5/src/g_canvas.h:83: error: conflicting types for ‘t_selection’ /home/jack/pd-0.42-5/src/m_imp.h:83: note: previous declaration of ‘t_selection’ was here /home/jack/pd-0.42-5/src/g_canvas.h:87: error: redefinition of ‘struct _editor’ /home/jack/pd-0.42-5/src/g_canvas.h:111: error: conflicting types for ‘t_editor’ /home/jack/pd-0.42-5/src/m_imp.h:111: note: previous declaration of ‘t_editor’ was here /home/jack/pd-0.42-5/src/g_canvas.h:125: error: redefinition of ‘struct _arrayvis’ /home/jack/pd-0.42-5/src/g_canvas.h:128: error: conflicting types for ‘t_arrayvis’ /home/jack/pd-0.42-5/src/m_imp.h:128: note: previous declaration of ‘t_arrayvis’ was here /home/jack/pd-0.42-5/src/g_canvas.h:133: error: redefinition of ‘struct _tick’ /home/jack/pd-0.42-5/src/g_canvas.h:137: error: conflicting types for ‘t_tick’ /home/jack/pd-0.42-5/src/m_imp.h:137: note: previous declaration of ‘t_tick’ was here /home/jack/pd-0.42-5/src/g_canvas.h:145: error: redefinition of ‘struct _glist’ /home/jack/pd-0.42-5/src/g_canvas.h:199: error: redefinition of ‘struct _dataslot’ /home/jack/pd-0.42-5/src/g_canvas.h:203: error: conflicting types for ‘t_dataslot’ /home/jack/pd-0.42-5/src/m_imp.h:203: note: previous declaration of ‘t_dataslot’ was here /home/jack/pd-0.42-5/src/g_canvas.h:206: error: redefinition of ‘struct _template’ /home/jack/pd-0.42-5/src/g_canvas.h:212: error: conflicting types for ‘t_template’ /home/jack/pd-0.42-5/src/m_imp.h:212: note: previous declaration of ‘t_template’ was here /home/jack/pd-0.42-5/src/g_canvas.h:215: error: redefinition of ‘struct _array’ /home/jack/pd-0.42-5/src/g_canvas.h:227: error: redefinition of ‘struct _linetraverser’ /home/jack/pd-0.42-5/src/g_canvas.h:242: error: conflicting types for ‘t_linetraverser’ /home/jack/pd-0.42-5/src/m_imp.h:242: note: previous declaration of ‘t_linetraverser’ was here /home/jack/pd-0.42-5/src/g_canvas.h:250: error: conflicting types for ‘t_getrectfn’ /home/jack/pd-0.42-5/src/m_imp.h:250: note: previous declaration of ‘t_getrectfn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:253: error: conflicting types for ‘t_displacefn’ /home/jack/pd-0.42-5/src/m_imp.h:253: note: previous declaration of ‘t_displacefn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:255: error: conflicting types for ‘t_selectfn’ /home/jack/pd-0.42-5/src/m_imp.h:255: note: previous declaration of ‘t_selectfn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:257: error: conflicting types for ‘t_activatefn’ /home/jack/pd-0.42-5/src/m_imp.h:257: note: previous declaration of ‘t_activatefn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:259: error: conflicting types for ‘t_deletefn’ /home/jack/pd-0.42-5/src/m_imp.h:259: note: previous declaration of ‘t_deletefn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:261: error: conflicting types for ‘t_visfn’ /home/jack/pd-0.42-5/src/m_imp.h:261: note: previous declaration of ‘t_visfn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:263: error: conflicting types for ‘t_clickfn’ /home/jack/pd-0.42-5/src/m_imp.h:263: note: previous declaration of ‘t_clickfn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:268: error: redefinition of ‘struct _widgetbehavior’ /home/jack/pd-0.42-5/src/g_canvas.h:288: error: conflicting types for ‘t_parentgetrectfn’ /home/jack/pd-0.42-5/src/m_imp.h:288: note: previous declaration of ‘t_parentgetrectfn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:292: error: conflicting types for ‘t_parentdisplacefn’ /home/jack/pd-0.42-5/src/m_imp.h:292: note: previous declaration of ‘t_parentdisplacefn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:296: error: conflicting types for ‘t_parentselectfn’ /home/jack/pd-0.42-5/src/m_imp.h:296: note: previous declaration of ‘t_parentselectfn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:300: error: conflicting types for ‘t_parentactivatefn’ /home/jack/pd-0.42-5/src/m_imp.h:300: note: previous declaration of ‘t_parentactivatefn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:304: error: conflicting types for ‘t_parentvisfn’ /home/jack/pd-0.42-5/src/m_imp.h:304: note: previous declaration of ‘t_parentvisfn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:308: error: conflicting types for ‘t_parentclickfn’ /home/jack/pd-0.42-5/src/m_imp.h:308: note: previous declaration of ‘t_parentclickfn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:314: error: redefinition of ‘struct _parentwidgetbehavior’ /home/jack/pd-0.42-5/src/g_canvas.h:331: error: conflicting types for ‘canvas_setcursor’ /home/jack/pd-0.42-5/src/m_imp.h:331: note: previous declaration of ‘canvas_setcursor’ was here /home/jack/pd-0.42-5/src/g_canvas.h:333: error: conflicting types for ‘canvas_editing’ /home/jack/pd-0.42-5/src/m_imp.h:333: note: previous declaration of ‘canvas_editing’ was here /home/jack/pd-0.42-5/src/g_canvas.h:334: error: conflicting types for ‘canvas_whichfind’ /home/jack/pd-0.42-5/src/m_imp.h:334: note: previous declaration of ‘canvas_whichfind’ was here /home/jack/pd-0.42-5/src/g_canvas.h:335: error: conflicting types for ‘canvas_list’ /home/jack/pd-0.42-5/src/m_imp.h:335: note: previous declaration of ‘canvas_list’ was here /home/jack/pd-0.42-5/src/g_canvas.h:344: error: conflicting types for ‘gobj_getrect’ /home/jack/pd-0.42-5/src/m_imp.h:344: note: previous declaration of ‘gobj_getrect’ was here /home/jack/pd-0.42-5/src/g_canvas.h:346: error: conflicting types for ‘gobj_displace’ /home/jack/pd-0.42-5/src/m_imp.h:346: note: previous declaration of ‘gobj_displace’ was here /home/jack/pd-0.42-5/src/g_canvas.h:347: error: conflicting types for ‘gobj_select’ /home/jack/pd-0.42-5/src/m_imp.h:347: note: previous declaration of ‘gobj_select’ was here /home/jack/pd-0.42-5/src/g_canvas.h:348: error: conflicting types for ‘gobj_activate’ /home/jack/pd-0.42-5/src/m_imp.h:348: note: previous declaration of ‘gobj_activate’ was here /home/jack/pd-0.42-5/src/g_canvas.h:349: error: conflicting types for ‘gobj_delete’ /home/jack/pd-0.42-5/src/m_imp.h:349: note: previous declaration of ‘gobj_delete’ was here /home/jack/pd-0.42-5/src/g_canvas.h:350: error: conflicting types for ‘gobj_vis’ /home/jack/pd-0.42-5/src/m_imp.h:350: note: previous declaration of ‘gobj_vis’ was here /home/jack/pd-0.42-5/src/g_canvas.h:351: error: conflicting types for ‘gobj_click’ /home/jack/pd-0.42-5/src/m_imp.h:351: note: previous declaration of ‘gobj_click’ was here /home/jack/pd-0.42-5/src/g_canvas.h:354: error: conflicting types for ‘gobj_properties’ /home/jack/pd-0.42-5/src/m_imp.h:354: note: previous declaration of ‘gobj_properties’ was here /home/jack/pd-0.42-5/src/g_canvas.h:356: error: conflicting types for ‘gobj_shouldvis’ /home/jack/pd-0.42-5/src/m_imp.h:356: note: previous declaration of ‘gobj_shouldvis’ was here /home/jack/pd-0.42-5/src/g_canvas.h:359: error: conflicting types for ‘glist_new’ /home/jack/pd-0.42-5/src/m_imp.h:359: note: previous declaration of ‘glist_new’ was here /home/jack/pd-0.42-5/src/g_canvas.h:360: error: conflicting types for ‘glist_init’ /home/jack/pd-0.42-5/src/m_imp.h:360: note: previous declaration of ‘glist_init’ was here /home/jack/pd-0.42-5/src/g_canvas.h:361: error: conflicting types for ‘glist_add’ /home/jack/pd-0.42-5/src/m_imp.h:361: note: previous declaration of ‘glist_add’ was here /home/jack/pd-0.42-5/src/g_canvas.h:362: error: conflicting types for ‘glist_cleanup’ /home/jack/pd-0.42-5/src/m_imp.h:362: note: previous declaration of ‘glist_cleanup’ was here /home/jack/pd-0.42-5/src/g_canvas.h:363: error: conflicting types for ‘glist_free’ /home/jack/pd-0.42-5/src/m_imp.h:363: note: previous declaration of ‘glist_free’ was here /home/jack/pd-0.42-5/src/g_canvas.h:365: error: conflicting types for ‘glist_clear’ /home/jack/pd-0.42-5/src/m_imp.h:365: note: previous declaration of ‘glist_clear’ was here /home/jack/pd-0.42-5/src/g_canvas.h:366: error: conflicting types for ‘glist_getcanvas’ /home/jack/pd-0.42-5/src/m_imp.h:366: note: previous declaration of ‘glist_getcanvas’ was here /home/jack/pd-0.42-5/src/g_canvas.h:367: error: conflicting types for ‘glist_isselected’ /home/jack/pd-0.42-5/src/m_imp.h:367: note: previous declaration of ‘glist_isselected’ was here /home/jack/pd-0.42-5/src/g_canvas.h:368: error: conflicting types for ‘glist_select’ /home/jack/pd-0.42-5/src/m_imp.h:368: note: previous declaration of ‘glist_select’ was here /home/jack/pd-0.42-5/src/g_canvas.h:369: error: conflicting types for ‘glist_deselect’ /home/jack/pd-0.42-5/src/m_imp.h:369: note: previous declaration of ‘glist_deselect’ was here /home/jack/pd-0.42-5/src/g_canvas.h:370: error: conflicting types for ‘glist_noselect’ /home/jack/pd-0.42-5/src/m_imp.h:370: note: previous declaration of ‘glist_noselect’ was here /home/jack/pd-0.42-5/src/g_canvas.h:371: error: conflicting types for ‘glist_selectall’ /home/jack/pd-0.42-5/src/m_imp.h:371: note: previous declaration of ‘glist_selectall’ was here /home/jack/pd-0.42-5/src/g_canvas.h:372: error: conflicting types for ‘glist_delete’ /home/jack/pd-0.42-5/src/m_imp.h:372: note: previous declaration of ‘glist_delete’ was here /home/jack/pd-0.42-5/src/g_canvas.h:373: error: conflicting types for ‘glist_retext’ /home/jack/pd-0.42-5/src/m_imp.h:373: note: previous declaration of ‘glist_retext’ was here /home/jack/pd-0.42-5/src/g_canvas.h:374: error: conflicting types for ‘glist_grab’ /home/jack/pd-0.42-5/src/m_imp.h:374: note: previous declaration of ‘glist_grab’ was here /home/jack/pd-0.42-5/src/g_canvas.h:376: error: conflicting types for ‘glist_isvisible’ /home/jack/pd-0.42-5/src/m_imp.h:376: note: previous declaration of ‘glist_isvisible’ was here /home/jack/pd-0.42-5/src/g_canvas.h:377: error: conflicting types for ‘glist_istoplevel’ /home/jack/pd-0.42-5/src/m_imp.h:377: note: previous declaration of ‘glist_istoplevel’ was here /home/jack/pd-0.42-5/src/g_canvas.h:378: error: conflicting types for ‘glist_findgraph’ /home/jack/pd-0.42-5/src/m_imp.h:378: note: previous declaration of ‘glist_findgraph’ was here /home/jack/pd-0.42-5/src/g_canvas.h:379: error: conflicting types for ‘glist_getfont’ /home/jack/pd-0.42-5/src/m_imp.h:379: note: previous declaration of ‘glist_getfont’ was here /home/jack/pd-0.42-5/src/g_canvas.h:380: error: conflicting types for ‘glist_sort’ /home/jack/pd-0.42-5/src/m_imp.h:380: note: previous declaration of ‘glist_sort’ was here /home/jack/pd-0.42-5/src/g_canvas.h:381: error: conflicting types for ‘glist_read’ /home/jack/pd-0.42-5/src/m_imp.h:381: note: previous declaration of ‘glist_read’ was here /home/jack/pd-0.42-5/src/g_canvas.h:382: error: conflicting types for ‘glist_mergefile’ /home/jack/pd-0.42-5/src/m_imp.h:382: note: previous declaration of ‘glist_mergefile’ was here /home/jack/pd-0.42-5/src/g_canvas.h:384: error: conflicting types for ‘glist_pixelstox’ /home/jack/pd-0.42-5/src/m_imp.h:384: note: previous declaration of ‘glist_pixelstox’ was here /home/jack/pd-0.42-5/src/g_canvas.h:385: error: conflicting types for ‘glist_pixelstoy’ /home/jack/pd-0.42-5/src/m_imp.h:385: note: previous declaration of ‘glist_pixelstoy’ was here /home/jack/pd-0.42-5/src/g_canvas.h:386: error: conflicting types for ‘glist_xtopixels’ /home/jack/pd-0.42-5/src/m_imp.h:386: note: previous declaration of ‘glist_xtopixels’ was here /home/jack/pd-0.42-5/src/g_canvas.h:387: error: conflicting types for ‘glist_ytopixels’ /home/jack/pd-0.42-5/src/m_imp.h:387: note: previous declaration of ‘glist_ytopixels’ was here /home/jack/pd-0.42-5/src/g_canvas.h:388: error: conflicting types for ‘glist_dpixtodx’ /home/jack/pd-0.42-5/src/m_imp.h:388: note: previous declaration of ‘glist_dpixtodx’ was here /home/jack/pd-0.42-5/src/g_canvas.h:389: error: conflicting types for ‘glist_dpixtody’ /home/jack/pd-0.42-5/src/m_imp.h:389: note: previous declaration of ‘glist_dpixtody’ was here /home/jack/pd-0.42-5/src/g_canvas.h:391: error: conflicting types for ‘glist_getnextxy’ /home/jack/pd-0.42-5/src/m_imp.h:391: note: previous declaration of ‘glist_getnextxy’ was here /home/jack/pd-0.42-5/src/g_canvas.h:392: error: conflicting types for ‘glist_glist’ /home/jack/pd-0.42-5/src/m_imp.h:392: note: previous declaration of ‘glist_glist’ was here /home/jack/pd-0.42-5/src/g_canvas.h:393: error: conflicting types for ‘glist_addglist’ /home/jack/pd-0.42-5/src/m_imp.h:393: note: previous declaration of ‘glist_addglist’ was here /home/jack/pd-0.42-5/src/g_canvas.h:396: error: conflicting types for ‘glist_arraydialog’ /home/jack/pd-0.42-5/src/m_imp.h:396: note: previous declaration of ‘glist_arraydialog’ was here /home/jack/pd-0.42-5/src/g_canvas.h:398: error: conflicting types for ‘glist_writetobinbuf’ /home/jack/pd-0.42-5/src/m_imp.h:398: note: previous declaration of ‘glist_writetobinbuf’ was here /home/jack/pd-0.42-5/src/g_canvas.h:399: error: conflicting types for ‘glist_isgraph’ /home/jack/pd-0.42-5/src/m_imp.h:399: note: previous declaration of ‘glist_isgraph’ was here /home/jack/pd-0.42-5/src/g_canvas.h:400: error: conflicting types for ‘glist_redraw’ /home/jack/pd-0.42-5/src/m_imp.h:400: note: previous declaration of ‘glist_redraw’ was here /home/jack/pd-0.42-5/src/g_canvas.h:401: error: conflicting types for ‘glist_drawiofor’ /home/jack/pd-0.42-5/src/m_imp.h:401: note: previous declaration of ‘glist_drawiofor’ was here /home/jack/pd-0.42-5/src/g_canvas.h:403: error: conflicting types for ‘glist_eraseiofor’ /home/jack/pd-0.42-5/src/m_imp.h:403: note: previous declaration of ‘glist_eraseiofor’ was here /home/jack/pd-0.42-5/src/g_canvas.h:404: error: conflicting types for ‘canvas_create_editor’ /home/jack/pd-0.42-5/src/m_imp.h:404: note: previous declaration of ‘canvas_create_editor’ was here /home/jack/pd-0.42-5/src/g_canvas.h:405: error: conflicting types for ‘canvas_destroy_editor’ /home/jack/pd-0.42-5/src/m_imp.h:405: note: previous declaration of ‘canvas_destroy_editor’ was here /home/jack/pd-0.42-5/src/g_canvas.h:406: error: conflicting types for ‘canvas_deletelinesforio’ /home/jack/pd-0.42-5/src/m_imp.h:406: note: previous declaration of ‘canvas_deletelinesforio’ was here /home/jack/pd-0.42-5/src/g_canvas.h:411: error: conflicting types for ‘text_setto’ /home/jack/pd-0.42-5/src/m_imp.h:411: note: previous declaration of ‘text_setto’ was here /home/jack/pd-0.42-5/src/g_canvas.h:412: error: conflicting types for ‘text_drawborder’ /home/jack/pd-0.42-5/src/m_imp.h:412: note: previous declaration of ‘text_drawborder’ was here /home/jack/pd-0.42-5/src/g_canvas.h:414: error: conflicting types for ‘text_eraseborder’ /home/jack/pd-0.42-5/src/m_imp.h:414: note: previous declaration of ‘text_eraseborder’ was here /home/jack/pd-0.42-5/src/g_canvas.h:415: error: conflicting types for ‘text_xcoord’ /home/jack/pd-0.42-5/src/m_imp.h:415: note: previous declaration of ‘text_xcoord’ was here /home/jack/pd-0.42-5/src/g_canvas.h:416: error: conflicting types for ‘text_ycoord’ /home/jack/pd-0.42-5/src/m_imp.h:416: note: previous declaration of ‘text_ycoord’ was here /home/jack/pd-0.42-5/src/g_canvas.h:417: error: conflicting types for ‘text_xpix’ /home/jack/pd-0.42-5/src/m_imp.h:417: note: previous declaration of ‘text_xpix’ was here /home/jack/pd-0.42-5/src/g_canvas.h:418: error: conflicting types for ‘text_ypix’ /home/jack/pd-0.42-5/src/m_imp.h:418: note: previous declaration of ‘text_ypix’ was here /home/jack/pd-0.42-5/src/g_canvas.h:426: error: conflicting types for ‘rtext_new’ /home/jack/pd-0.42-5/src/m_imp.h:426: note: previous declaration of ‘rtext_new’ was here /home/jack/pd-0.42-5/src/g_canvas.h:427: error: conflicting types for ‘glist_findrtext’ /home/jack/pd-0.42-5/src/m_imp.h:427: note: previous declaration of ‘glist_findrtext’ was here /home/jack/pd-0.42-5/src/g_canvas.h:448: error: conflicting types for ‘canvas_new’ /home/jack/pd-0.42-5/src/m_imp.h:448: note: previous declaration of ‘canvas_new’ was here /home/jack/pd-0.42-5/src/g_canvas.h:450: error: conflicting types for ‘canvas_vistext’ /home/jack/pd-0.42-5/src/m_imp.h:450: note: previous declaration of ‘canvas_vistext’ was here /home/jack/pd-0.42-5/src/g_canvas.h:451: error: conflicting types for ‘canvas_fixlinesfor’ /home/jack/pd-0.42-5/src/m_imp.h:451: note: previous declaration of ‘canvas_fixlinesfor’ was here /home/jack/pd-0.42-5/src/g_canvas.h:452: error: conflicting types for ‘canvas_deletelinesfor’ /home/jack/pd-0.42-5/src/m_imp.h:452: note: previous declaration of ‘canvas_deletelinesfor’ was here /home/jack/pd-0.42-5/src/g_canvas.h:453: error: conflicting types for ‘canvas_stowconnections’ /home/jack/pd-0.42-5/src/m_imp.h:453: note: previous declaration of ‘canvas_stowconnections’ was here /home/jack/pd-0.42-5/src/g_canvas.h:454: error: conflicting types for ‘canvas_restoreconnections’ /home/jack/pd-0.42-5/src/m_imp.h:454: note: previous declaration of ‘canvas_restoreconnections’ was here /home/jack/pd-0.42-5/src/g_canvas.h:455: error: conflicting types for ‘canvas_redraw’ /home/jack/pd-0.42-5/src/m_imp.h:455: note: previous declaration of ‘canvas_redraw’ was here /home/jack/pd-0.42-5/src/g_canvas.h:457: error: conflicting types for ‘canvas_addinlet’ /home/jack/pd-0.42-5/src/m_imp.h:457: note: previous declaration of ‘canvas_addinlet’ was here /home/jack/pd-0.42-5/src/g_canvas.h:458: error: conflicting types for ‘canvas_rminlet’ /home/jack/pd-0.42-5/src/m_imp.h:458: note: previous declaration of ‘canvas_rminlet’ was here /home/jack/pd-0.42-5/src/g_canvas.h:459: error: conflicting types for ‘canvas_addoutlet’ /home/jack/pd-0.42-5/src/m_imp.h:459: note: previous declaration of ‘canvas_addoutlet’ was here /home/jack/pd-0.42-5/src/g_canvas.h:460: error: conflicting types for ‘canvas_rmoutlet’ /home/jack/pd-0.42-5/src/m_imp.h:460: note: previous declaration of ‘canvas_rmoutlet’ was here /home/jack/pd-0.42-5/src/g_canvas.h:461: error: conflicting types for ‘canvas_redrawallfortemplate’ /home/jack/pd-0.42-5/src/m_imp.h:461: note: previous declaration of ‘canvas_redrawallfortemplate’ was here /home/jack/pd-0.42-5/src/g_canvas.h:462: error: conflicting types for ‘canvas_redrawallfortemplatecanvas’ /home/jack/pd-0.42-5/src/m_imp.h:462: note: previous declaration of ‘canvas_redrawallfortemplatecanvas’ was here /home/jack/pd-0.42-5/src/g_canvas.h:463: error: conflicting types for ‘canvas_zapallfortemplate’ /home/jack/pd-0.42-5/src/m_imp.h:463: note: previous declaration of ‘canvas_zapallfortemplate’ was here /home/jack/pd-0.42-5/src/g_canvas.h:464: error: conflicting types for ‘canvas_setusedastemplate’ /home/jack/pd-0.42-5/src/m_imp.h:464: note: previous declaration of ‘canvas_setusedastemplate’ was here /home/jack/pd-0.42-5/src/g_canvas.h:465: error: conflicting types for ‘canvas_getcurrent’ /home/jack/pd-0.42-5/src/m_imp.h:465: note: previous declaration of ‘canvas_getcurrent’ was here /home/jack/pd-0.42-5/src/g_canvas.h:466: error: conflicting types for ‘canvas_setcurrent’ /home/jack/pd-0.42-5/src/m_imp.h:466: note: previous declaration of ‘canvas_setcurrent’ was here /home/jack/pd-0.42-5/src/g_canvas.h:467: error: conflicting types for ‘canvas_unsetcurrent’ /home/jack/pd-0.42-5/src/m_imp.h:467: note: previous declaration of ‘canvas_unsetcurrent’ was here /home/jack/pd-0.42-5/src/g_canvas.h:468: error: conflicting types for ‘canvas_realizedollar’ /home/jack/pd-0.42-5/src/m_imp.h:468: note: previous declaration of ‘canvas_realizedollar’ was here /home/jack/pd-0.42-5/src/g_canvas.h:469: error: conflicting types for ‘canvas_getrootfor’ /home/jack/pd-0.42-5/src/m_imp.h:469: note: previous declaration of ‘canvas_getrootfor’ was here /home/jack/pd-0.42-5/src/g_canvas.h:470: error: conflicting types for ‘canvas_dirty’ /home/jack/pd-0.42-5/src/m_imp.h:470: note: previous declaration of ‘canvas_dirty’ was here /home/jack/pd-0.42-5/src/g_canvas.h:471: error: conflicting types for ‘canvas_getfont’ /home/jack/pd-0.42-5/src/m_imp.h:471: note: previous declaration of ‘canvas_getfont’ was here /home/jack/pd-0.42-5/src/g_canvas.h:472: error: conflicting types for ‘t_canvasapply’ /home/jack/pd-0.42-5/src/m_imp.h:472: note: previous declaration of ‘t_canvasapply’ was here /home/jack/pd-0.42-5/src/g_canvas.h:474: error: conflicting types for ‘canvas_recurapply’ /home/jack/pd-0.42-5/src/m_imp.h:474: note: previous declaration of ‘canvas_recurapply’ was here /home/jack/pd-0.42-5/src/g_canvas.h:477: error: conflicting types for ‘canvas_resortinlets’ /home/jack/pd-0.42-5/src/m_imp.h:477: note: previous declaration of ‘canvas_resortinlets’ was here /home/jack/pd-0.42-5/src/g_canvas.h:478: error: conflicting types for ‘canvas_resortoutlets’ /home/jack/pd-0.42-5/src/m_imp.h:478: note: previous declaration of ‘canvas_resortoutlets’ was here /home/jack/pd-0.42-5/src/g_canvas.h:479: error: conflicting types for ‘canvas_free’ /home/jack/pd-0.42-5/src/m_imp.h:479: note: previous declaration of ‘canvas_free’ was here /home/jack/pd-0.42-5/src/g_canvas.h:481: error: conflicting types for ‘canvas_editmode’ /home/jack/pd-0.42-5/src/m_imp.h:481: note: previous declaration of ‘canvas_editmode’ was here /home/jack/pd-0.42-5/src/g_canvas.h:482: error: conflicting types for ‘canvas_isabstraction’ /home/jack/pd-0.42-5/src/m_imp.h:482: note: previous declaration of ‘canvas_isabstraction’ was here /home/jack/pd-0.42-5/src/g_canvas.h:483: error: conflicting types for ‘canvas_istable’ /home/jack/pd-0.42-5/src/m_imp.h:483: note: previous declaration of ‘canvas_istable’ was here /home/jack/pd-0.42-5/src/g_canvas.h:484: error: conflicting types for ‘canvas_showtext’ /home/jack/pd-0.42-5/src/m_imp.h:484: note: previous declaration of ‘canvas_showtext’ was here /home/jack/pd-0.42-5/src/g_canvas.h:485: error: conflicting types for ‘canvas_vis’ /home/jack/pd-0.42-5/src/m_imp.h:485: note: previous declaration of ‘canvas_vis’ was here /home/jack/pd-0.42-5/src/g_canvas.h:486: error: conflicting types for ‘canvas_getenv’ /home/jack/pd-0.42-5/src/m_imp.h:486: note: previous declaration of ‘canvas_getenv’ was here /home/jack/pd-0.42-5/src/g_canvas.h:487: error: conflicting types for ‘canvas_rename’ /home/jack/pd-0.42-5/src/m_imp.h:487: note: previous declaration of ‘canvas_rename’ was here /home/jack/pd-0.42-5/src/g_canvas.h:488: error: conflicting types for ‘canvas_loadbang’ /home/jack/pd-0.42-5/src/m_imp.h:488: note: previous declaration of ‘canvas_loadbang’ was here /home/jack/pd-0.42-5/src/g_canvas.h:489: error: conflicting types for ‘canvas_hitbox’ /home/jack/pd-0.42-5/src/m_imp.h:489: note: previous declaration of ‘canvas_hitbox’ was here /home/jack/pd-0.42-5/src/g_canvas.h:491: error: conflicting types for ‘canvas_setdeleting’ /home/jack/pd-0.42-5/src/m_imp.h:491: note: previous declaration of ‘canvas_setdeleting’ was here /home/jack/pd-0.42-5/src/g_canvas.h:493: error: conflicting types for ‘t_undofn’ /home/jack/pd-0.42-5/src/m_imp.h:493: note: previous declaration of ‘t_undofn’ was here /home/jack/pd-0.42-5/src/g_canvas.h:498: error: conflicting types for ‘canvas_setundo’ /home/jack/pd-0.42-5/src/m_imp.h:498: note: previous declaration of ‘canvas_setundo’ was here /home/jack/pd-0.42-5/src/g_canvas.h:500: error: conflicting types for ‘canvas_noundo’ /home/jack/pd-0.42-5/src/m_imp.h:500: note: previous declaration of ‘canvas_noundo’ was here /home/jack/pd-0.42-5/src/g_canvas.h:501: error: conflicting types for ‘canvas_getindex’ /home/jack/pd-0.42-5/src/m_imp.h:501: note: previous declaration of ‘canvas_getindex’ was here /home/jack/pd-0.42-5/src/g_canvas.h:503: error: conflicting types for ‘canvas_connect’ /home/jack/pd-0.42-5/src/m_imp.h:503: note: previous declaration of ‘canvas_connect’ was here /home/jack/pd-0.42-5/src/g_canvas.h:505: error: conflicting types for ‘canvas_disconnect’ /home/jack/pd-0.42-5/src/m_imp.h:505: note: previous declaration of ‘canvas_disconnect’ was here /home/jack/pd-0.42-5/src/g_canvas.h:507: error: conflicting types for ‘canvas_isconnected’ /home/jack/pd-0.42-5/src/m_imp.h:507: note: previous declaration of ‘canvas_isconnected’ was here /home/jack/pd-0.42-5/src/g_canvas.h:509: error: conflicting types for ‘canvas_selectinrect’ /home/jack/pd-0.42-5/src/m_imp.h:509: note: previous declaration of ‘canvas_selectinrect’ was here /home/jack/pd-0.42-5/src/g_canvas.h:514: error: conflicting types for ‘canvas_fattenforscalars’ /home/jack/pd-0.42-5/src/m_imp.h:514: note: previous declaration of ‘canvas_fattenforscalars’ was here /home/jack/pd-0.42-5/src/g_canvas.h:516: error: conflicting types for ‘canvas_visforscalars’ /home/jack/pd-0.42-5/src/m_imp.h:516: note: previous declaration of ‘canvas_visforscalars’ was here /home/jack/pd-0.42-5/src/g_canvas.h:517: error: conflicting types for ‘canvas_clicksub’ /home/jack/pd-0.42-5/src/m_imp.h:517: note: previous declaration of ‘canvas_clicksub’ was here /home/jack/pd-0.42-5/src/g_canvas.h:519: error: conflicting types for ‘canvas_getglistonsuper’ /home/jack/pd-0.42-5/src/m_imp.h:519: note: previous declaration of ‘canvas_getglistonsuper’ was here /home/jack/pd-0.42-5/src/g_canvas.h:521: error: conflicting types for ‘linetraverser_start’ /home/jack/pd-0.42-5/src/m_imp.h:521: note: previous declaration of ‘linetraverser_start’ was here /home/jack/pd-0.42-5/src/g_canvas.h:522: error: conflicting types for ‘linetraverser_next’ /home/jack/pd-0.42-5/src/m_imp.h:522: note: previous declaration of ‘linetraverser_next’ was here /home/jack/pd-0.42-5/src/g_canvas.h:523: error: conflicting types for ‘linetraverser_skipobject’ /home/jack/pd-0.42-5/src/m_imp.h:523: note: previous declaration of ‘linetraverser_skipobject’ was here /home/jack/pd-0.42-5/src/g_canvas.h:527: error: conflicting types for ‘garray_template’ /home/jack/pd-0.42-5/src/m_imp.h:527: note: previous declaration of ‘garray_template’ was here /home/jack/pd-0.42-5/src/g_canvas.h:530: error: conflicting types for ‘graph_array’ /home/jack/pd-0.42-5/src/m_imp.h:530: note: previous declaration of ‘graph_array’ was here /home/jack/pd-0.42-5/src/g_canvas.h:532: error: conflicting types for ‘array_new’ /home/jack/pd-0.42-5/src/m_imp.h:532: note: previous declaration of ‘array_new’ was here /home/jack/pd-0.42-5/src/g_canvas.h:533: error: conflicting types for ‘array_resize’ /home/jack/pd-0.42-5/src/m_imp.h:533: note: previous declaration of ‘array_resize’ was here /home/jack/pd-0.42-5/src/g_canvas.h:534: error: conflicting types for ‘array_free’ /home/jack/pd-0.42-5/src/m_imp.h:534: note: previous declaration of ‘array_free’ was here /home/jack/pd-0.42-5/src/g_canvas.h:537: error: conflicting types for ‘gstub_new’ /home/jack/pd-0.42-5/src/m_imp.h:537: note: previous declaration of ‘gstub_new’ was here /home/jack/pd-0.42-5/src/g_canvas.h:539: error: conflicting types for ‘gpointer_setglist’ /home/jack/pd-0.42-5/src/m_imp.h:539: note: previous declaration of ‘gpointer_setglist’ was here /home/jack/pd-0.42-5/src/g_canvas.h:540: error: conflicting types for ‘gpointer_setarray’ /home/jack/pd-0.42-5/src/m_imp.h:540: note: previous declaration of ‘gpointer_setarray’ was here /home/jack/pd-0.42-5/src/g_canvas.h:543: error: conflicting types for ‘word_init’ /home/jack/pd-0.42-5/src/m_imp.h:543: note: previous declaration of ‘word_init’ was here /home/jack/pd-0.42-5/src/g_canvas.h:544: error: conflicting types for ‘word_restore’ /home/jack/pd-0.42-5/src/m_imp.h:544: note: previous declaration of ‘word_restore’ was here /home/jack/pd-0.42-5/src/g_canvas.h:546: error: conflicting types for ‘scalar_new’ /home/jack/pd-0.42-5/src/m_imp.h:546: note: previous declaration of ‘scalar_new’ was here /home/jack/pd-0.42-5/src/g_canvas.h:548: error: conflicting types for ‘word_free’ /home/jack/pd-0.42-5/src/m_imp.h:548: note: previous declaration of ‘word_free’ was here /home/jack/pd-0.42-5/src/g_canvas.h:550: error: conflicting types for ‘scalar_redraw’ /home/jack/pd-0.42-5/src/m_imp.h:550: note: previous declaration of ‘scalar_redraw’ was here /home/jack/pd-0.42-5/src/g_canvas.h:553: error: conflicting types for ‘array_doclick’ /home/jack/pd-0.42-5/src/m_imp.h:553: note: previous declaration of ‘array_doclick’ was here /home/jack/pd-0.42-5/src/g_canvas.h:559: error: conflicting types for ‘array_getcoordinate’ /home/jack/pd-0.42-5/src/m_imp.h:559: note: previous declaration of ‘array_getcoordinate’ was here /home/jack/pd-0.42-5/src/g_canvas.h:565: error: conflicting types for ‘array_getfields’ /home/jack/pd-0.42-5/src/m_imp.h:565: note: previous declaration of ‘array_getfields’ was here /home/jack/pd-0.42-5/src/g_canvas.h:572: error: conflicting types for ‘template_new’ /home/jack/pd-0.42-5/src/m_imp.h:572: note: previous declaration of ‘template_new’ was here /home/jack/pd-0.42-5/src/g_canvas.h:573: error: conflicting types for ‘template_free’ /home/jack/pd-0.42-5/src/m_imp.h:573: note: previous declaration of ‘template_free’ was here /home/jack/pd-0.42-5/src/g_canvas.h:574: error: conflicting types for ‘template_match’ /home/jack/pd-0.42-5/src/m_imp.h:574: note: previous declaration of ‘template_match’ was here /home/jack/pd-0.42-5/src/g_canvas.h:575: error: conflicting types for ‘template_find_field’ /home/jack/pd-0.42-5/src/m_imp.h:575: note: previous declaration of ‘template_find_field’ was here /home/jack/pd-0.42-5/src/g_canvas.h:577: error: conflicting types for ‘template_getfloat’ /home/jack/pd-0.42-5/src/m_imp.h:592: note: previous declaration of ‘template_getfloat’ was here /home/jack/pd-0.42-5/src/g_canvas.h:579: error: conflicting types for ‘template_setfloat’ /home/jack/pd-0.42-5/src/m_imp.h:594: note: previous declaration of ‘template_setfloat’ was here /home/jack/pd-0.42-5/src/g_canvas.h:581: error: conflicting types for ‘template_getsymbol’ /home/jack/pd-0.42-5/src/m_imp.h:596: note: previous declaration of ‘template_getsymbol’ was here /home/jack/pd-0.42-5/src/g_canvas.h:583: error: conflicting types for ‘template_setsymbol’ /home/jack/pd-0.42-5/src/m_imp.h:598: note: previous declaration of ‘template_setsymbol’ was here /home/jack/pd-0.42-5/src/g_canvas.h:586: error: conflicting types for ‘gtemplate_get’ /home/jack/pd-0.42-5/src/m_imp.h:586: note: previous declaration of ‘gtemplate_get’ was here /home/jack/pd-0.42-5/src/g_canvas.h:587: error: conflicting types for ‘template_findbyname’ /home/jack/pd-0.42-5/src/m_imp.h:587: note: previous declaration of ‘template_findbyname’ was here /home/jack/pd-0.42-5/src/g_canvas.h:588: error: conflicting types for ‘template_findcanvas’ /home/jack/pd-0.42-5/src/m_imp.h:588: note: previous declaration of ‘template_findcanvas’ was here /home/jack/pd-0.42-5/src/g_canvas.h:589: error: conflicting types for ‘template_notify’ /home/jack/pd-0.42-5/src/m_imp.h:589: note: previous declaration of ‘template_notify’ was here /home/jack/pd-0.42-5/src/g_canvas.h:592: error: conflicting types for ‘template_getfloat’ /home/jack/pd-0.42-5/src/m_imp.h:592: note: previous declaration of ‘template_getfloat’ was here /home/jack/pd-0.42-5/src/g_canvas.h:594: error: conflicting types for ‘template_setfloat’ /home/jack/pd-0.42-5/src/m_imp.h:594: note: previous declaration of ‘template_setfloat’ was here /home/jack/pd-0.42-5/src/g_canvas.h:596: error: conflicting types for ‘template_getsymbol’ /home/jack/pd-0.42-5/src/m_imp.h:596: note: previous declaration of ‘template_getsymbol’ was here /home/jack/pd-0.42-5/src/g_canvas.h:598: error: conflicting types for ‘template_setsymbol’ /home/jack/pd-0.42-5/src/m_imp.h:598: note: previous declaration of ‘template_setsymbol’ was here /home/jack/pd-0.42-5/src/g_canvas.h:600: error: conflicting types for ‘fielddesc_getcoord’ /home/jack/pd-0.42-5/src/m_imp.h:600: note: previous declaration of ‘fielddesc_getcoord’ was here /home/jack/pd-0.42-5/src/g_canvas.h:602: error: conflicting types for ‘fielddesc_setcoord’ /home/jack/pd-0.42-5/src/m_imp.h:602: note: previous declaration of ‘fielddesc_setcoord’ was here cc1: warnings being treated as errors playlist.c: In function ‘playlist_output_current’: playlist.c:254: error: ignoring return value of ‘chdir’, declared with attribute warn_unused_result playlist.c: In function ‘playlist_setup’: playlist.c:1011: error: passing argument 2 of ‘class_setpropertiesfn’ from incompatible pointer type /home/jack/pd-0.42-5/src/m_pd.h:434: note: expected ‘t_propertiesfn’ but argument is of type ‘void (*)(struct t_gobj *, struct _glist *)’ playlist.c:1018: error: passing argument 2 of ‘class_setwidget’ from incompatible pointer type /home/jack/pd-0.42-5/src/m_pd.h:416: note: expected ‘struct _widgetbehavior *’ but argument is of type ‘struct _widgetbehavior *’ make: *** [playlist.pd_linux] Erreur 1
Any ideas to solve the problem ? I use pd-0.42-5. ++
Jack
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
i dunno what you mean by pd-0.42-5, which one?
here i have one with which it compiles fine, it's also included in pd-0.42-5 extended...
so who's changing apis?
ciao, sevy