**ERROR** Compiling ==> 'buildinfo.c' Linking program ==> 'blender.exe' C:\b\lib\libsrc0.a(buttons_editing.o)(.text+0x5acc):buttons_editing.c: undefined reference to `draw_colorband_buts' collect2: ld returned 1 exit status scons: *** [C:\b\bin\blender.exe] Error 1 scons: building terminated because of errors. C:\bf-blender\blender> **CODE** **Buttons_edit.c*** uiDefButF(block, NUMSLI, B_MODIFIER_RECALC, "Narrow:", lx,(cy-=19),220,19, &wmd->narrow, 0.0, 10.0, 0, 0, "Specify how narrow the wave follows"); cy -= 19; //uiDefButBitS(block, TOG, WAV_VCOL, B_MODIFIER_RECALC, "Vert Col", lx,cy,220,19, &wmd->flag, 0, 0, 0, 0, "Enable cyclic wave effect"); //if(tex->flag & WAV_VCOL) { draw_colorband_buts(block, &wmd->ramp_col, 10, 85, B_MODIFIER_RECALC); //} ***draw_colourband_buts*** /* offset aligns from bottom, standard width 300, height 115 */ static void draw_colorband_buts(uiBlock *block, ColorBand *coba, int xoffs, int yoffs, int redraw) { CBData *cbd; uiBut *bt; if(coba==NULL) return; bt= uiDefBut(block, BUT, redraw, "Add", 80+xoffs,95+yoffs,37,20, 0, 0, 0, 0, 0, "Adds a new colour position to the colorband"); uiButSetFunc(bt, colorband_add_cb, coba, NULL); uiDefButS(block, NUM, redraw, "Cur:", 117+xoffs,95+yoffs,81,20, &coba->cur, 0.0, (float)(coba->tot-1), 0, 0, "Displays the active colour from the colorband"); bt= uiDefBut(block, BUT, redraw, "Del", 199+xoffs,95+yoffs,37,20, 0, 0, 0, 0, 0, "Deletes the active position"); uiButSetFunc(bt, colorband_del_cb, coba, NULL); uiDefButS(block, ROW, redraw, "E", 236+xoffs,95+yoffs,16,20, &coba->ipotype, 5.0, 1.0, 0, 0, "Sets interpolation type 'Ease' (quadratic) "); uiDefButS(block, ROW, redraw, "C", 252+xoffs,95+yoffs,16,20, &coba->ipotype, 5.0, 3.0, 0, 0, "Sets interpolation type Cardinal"); uiDefButS(block, ROW, redraw, "L", 268+xoffs,95+yoffs,16,20, &coba->ipotype, 5.0, 0.0, 0, 0, "Sets interpolation type Linear"); uiDefButS(block, ROW, redraw, "S", 284+xoffs,95+yoffs,16,20, &coba->ipotype, 5.0, 2.0, 0, 0, "Sets interpolation type B-Spline"); uiDefBut(block, BUT_COLORBAND, redraw, "", xoffs,65+yoffs,300,30, coba, 0, 0, 0, 0, ""); cbd= coba->data + coba->cur;