Re: compilation of a snapshot version



Hello Adrien,

On Thu, 11 Apr 2002 23:59:42 -0700
Adrien Beau <adrienbeau yahoo com> wrote:

On Thursday 11 April 2002 23:41, Didier Bretin wrote:

Yes the modification of the 'configure' script given by
Adrien allow me to pass through the configuration phase.

The file unicode.h is in which devel package ?!?!

On Slackware, the file is included in the libunicode
package. I have libunicode 0.4 installed, and the unicode.h
file is in /opt/gnome/include (might well be /usr/include
in other distros, or in the next Slackware version).

I hope this well help you locate which package of your
distribution contains it. This is a small package, 520 KB
uncompressed.
Yes, you are right. I have installed the -devel package (I'm under RH7.1),
and then the compilation begins .... until an error on the linkage ;o):

gcc -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations -finline-functions -fstrict-aliasing 
-o dia diagram.o preferences.o load_save.o group.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 lineprops_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 diaunitspinner.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 paginate_psprint.o main.o -rdynamic -rdynamic -rdynamic 
-Wl,--export-dynamic  ../lib/libdia.a /usr/lib/libpopt.so -L/mnt/commun/local/libxml2-2.3.9/lib 
/mnt/commun/local/libxml2-2.3.9/lib/libxml2.so -L/usr/lib -L/usr/X11R6/lib !
-lgnomeui -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport /usr/lib/libesd.so -laudiofile -ldb1 -lart_lgpl -lpng 
/usr/lib/libgdk_pixbuf.so /usr/lib/libgtk.so /usr/lib/libgdk.so /usr/lib/libgmodule.so /usr/lib/libglib.so 
-ldl -lXi -lXext -lX11 -lm -lz -Wl,--rpath -Wl,/mnt/commun/local/libxml2-2.3.9/lib -Wl,--rpath 
-Wl,/mnt/commun/local/libxml2-2.3.9/lib
render_libart.o: In function `get_text_width':
render_libart.o(.text+0x309b): undefined reference to `unicode_next_utf8'
disp_callbacks.o: In function `ddisplay_canvas_events':
disp_callbacks.o(.text+0x1518): undefined reference to `unicode_strlen'
render_gdk.o: In function `get_text_width':
render_gdk.o(.text+0x1fef): undefined reference to `unicode_next_utf8'
../lib/libdia.a(dia_xml.o): In function `xmlDiaSaveFile':
dia_xml.o(.text+0x1b09): undefined reference to `xmlSaveFormatFileEnc'
../lib/libdia.a(text.o): In function `set_string':
text.o(.text+0x1d9): undefined reference to `unicode_strchr'
text.o(.text+0x2e5): undefined reference to `unicode_strchr'
text.o(.text+0x312): undefined reference to `unicode_strlen'
text.o(.text+0x351): undefined reference to `unicode_strlen'
../lib/libdia.a(text.o): In function `text_delete_forward':
text.o(.text+0x1643): undefined reference to `unicode_next_utf8'
text.o(.text+0x165b): undefined reference to `unicode_next_utf8'
../lib/libdia.a(text.o): In function `text_delete_backward':
text.o(.text+0x180b): undefined reference to `unicode_next_utf8'
text.o(.text+0x1823): undefined reference to `unicode_next_utf8'
../lib/libdia.a(text.o): In function `text_split_line':
text.o(.text+0x1b3b): undefined reference to `unicode_next_utf8'
../lib/libdia.a(text.o)(.text+0x1e2f): more undefined references to `unicode_next_utf8' follow
../lib/libdia.a(text.o): In function `text_insert_char':
text.o(.text+0x1ed3): undefined reference to `unicode_strlen'
../lib/libdia.a(text.o): In function `text_key_event':
text.o(.text+0x2213): undefined reference to `unicode_next_utf8'
text.o(.text+0x2303): undefined reference to `unicode_next_utf8'
text.o(.text+0x23ea): undefined reference to `unicode_next_utf8'
../lib/libdia.a(prop_inttypes.o): In function `charprop_set_from_widget':
prop_inttypes.o(.text+0x1c1): undefined reference to `unicode_get_utf8'
../lib/libdia.a(prop_inttypes.o): In function `charprop_load':
prop_inttypes.o(.text+0x216): undefined reference to `unicode_get_utf8'
collect2: ld returned 1 exit status
make[2]: *** [dia] Erreur 1
make[2]: Quitte le répertoire `/project/src/dia-cvs-snapshot/app'
make[1]: *** [all-recursive] Erreur 1
make[1]: Quitte le répertoire `/project/src/dia-cvs-snapshot'
make: *** [all-recursive-am] Erreur 2

Any idea ?!?!?! :o)))
-- 
            .------------------------------------------------.
    .^.     | Didier Bretin, France | dbr informactis com    |
    /V\     |-----------------------| www.informactis.com    |
   // \\    |                       `------------------------|
  /(   )\   | Visit: http://www.vim.org/                     |
   ^^-^^    `------------------------------------------------'



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