Opened 18 years ago

Last modified 14 years ago

#7759 closed defect

BUG: advi build fails — at Initial Version

Reported by: yves@… Owned by: darwinports-bugs@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: pierre@…
Port:

Description

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

Change History (0)

Note: See TracTickets for help on using tickets.