id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,port 7759,BUG: advi build fails,yves@…,pmq@…,"First I got : {{{ ocamlc -warn-error A -g -I /opt/local/lib/ocaml/camlimages -c misc.ml File ""misc.ml"", line 117, characters 5-6: Warning Y: unused variable l. File ""misc.ml"", line 183, characters 6-9: Warning Y: unused variable len. File ""misc.ml"", line 195, characters 6-41: Warning X: this statement never returns. Error: error-enabled warnings (3 occurrences) make: *** [misc.cmo] Error 2 }}} So I removed the -warn-error flag, then I got : {{{ ocamlc -g -custom -I /opt/local/lib/ocaml/camlimages events.o grwm.o grY11.o graphics.cma unix.cma str.cma ci_core.cma graphics.cma ci_graphics.cma ci_freetype.cma ci_gif.cma ci_jpeg.cma ci_tiff.cma ci_bmp.cma ci_ppm.cma ci_png.cma ci_xvthumb.cma ci_xpm.cma ci_ps.cma config.cmo misc.cmo timeout.cmo ageometry.cmo options.cmo rc.cmo userfile.cmo graphicsY11.cmo global_options.cmo busy.cmo gradient.cmo gterm.cmo launch.cmo dvicolor.cmo shot.cmo laser_pointer.cmo symbol.cmo input.cmo table.cmo pkfont.cmo ttfont.cmo jfm.cmo search.cmo font.cmo glyph.cmo devfont.cmo units.cmo dimension.cmo dvi.cmo drawimage.cmo gs.cmo transimpl.cmo embed.cmo grdev.cmo addons.cmo scratch.cmo cdvi.cmo driver.cmo thumbnails.cmo dviview.cmo main.cmo -cclib -lgraphics -cclib -lunix -cclib -lstr -cclib -L/usr/X11R6/lib -cclib -lSM -cclib -lICE -cclib -lXinerama -cclib -lXext -cclib -lX11 -o advi.byt /usr/bin/ld: warning prebinding disabled because dependent library: /opt/local/lib/libungif.4.dylib is not prebound /usr/bin/ld: multiple definitions of symbol _caml_gr_resize_window grY11.o definition of _caml_gr_resize_window in section (__TEXT,__text) /opt/local/lib/ocaml/libgraphics.a(open.o) definition of _caml_gr_resize_window in section (__TEXT,__text) collect2: ld returned 1 exit status Error while building custom runtime system make: *** [advi.byt] Error 2 }}}",defect,closed,Normal,,ports,1.2,fixed,,,