Re: Help compiling Dia on FC4



On 1/25/06, Rasmus Kjeldsen <rasmus kjeldsen gmail com> wrote:
 gcc -I/usr/include/libxml2 -I/usr/include/freetype2 -g -O2 -Wall -Wunused
--std=c89 -Wdeclaration-after-statement -Wmissing-prototypes
-Wmissing-declarations -finline-functions -fstrict-aliasing -o .libs/dia
diagram.o preferences.o load_save.o properties.o defaults.o render_eps.o
render_libart.o undo.o object_ops.o layer_dialog.o export_png.o commands.o
app_procs.o connectionpoint_ops.o disp_callbacks.o display.o select.o
color_area.o linewidth_area.o grid.o handle_ops.o interface.o modify_tool.o
scroll_tool.o create_object.o magnify.o menus.o cut_n_paste.o render_gdk.o
tool.o diapagelayout.o pagesetup.o filedlg.o plugin-manager.o dia-props.o
gtkwrapbox.o gtkhwrapbox.o gtkvwrapbox.o cursor.o splash.o recent_files.o
diagram_tree.o diagram_tree_window.o diagram_tree_menu.o
diagram_tree_menu_callbacks.o sheets.o sheets_dialog.o
sheets_dialog_callbacks.o dialogs.o autosave.o dynamic_refresh.o
diapsrenderer.o diapsft2renderer.o navigation.o diacanvas.o highlight.o
textedit.o paginate_psprint.o main.o -Wl,--export-dynamic
../lib/.libs/libdia.so /usr/lib/libpopt.so /usr/lib/libfreetype.so
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0
-lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lz
-Wl,--rpath -Wl,/usr/local/lib/dia
 load_save.o(.text+0x9b): In function `read_objects':
 /home/rasmus/dia-cvs-snapshot/app/load_save.c:134:
undefined reference to `xmlIsBlankNode'
load_save.o(.text+0xcd):/home/rasmus/dia-cvs-snapshot/app/load_save.c:142:
undefined reference to `xmlGetProp'
load_save.o(.text+0xdf):/home/rasmus/dia-cvs-snapshot/app/load_save.c:143:
undefined reference to `xmlGetProp'
load_save.o(.text+0xf0):/home/rasmus/dia-cvs-snapshot/app/load_save.c:144:
undefined reference to `xmlGetProp'
 [lots of error lines cut out]
Perhaps LDFLAGS=`xml2-config --libs` may help (or just LD_FLAGS=-lxml2)

--
Bi Cá Lao


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]