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

Re: gEDA-user: Problem building gschem. . . .



Hi Stuart,

[snip]
>gcc  -g -O2    -o gschem  a_pan.o a_zoom.o g_register.o g_hook.o
>g_rc.o g_key.o g_funcs.o globals.o gschem.o i_basic.o i_callbacks.o
>i_vars.o o_basic.o o_attrib.o o_move.o o_copy.o o_delete.o o_misc.o
>o_slot.o o_grips.o
>o_arc.o o_box.o o_circle.o o_complex.o o_select.o o_find.o o_line.o
>o_net.o o_text.o o_pin.o o_bus.o o_buffer.o o_undo.o x_basic.o
>x_dialog.o x_event.o x_grid.o x_log.o x_menus.o x_script.o x_pagesel.o
>x_print.o x_window.o x_stroke.o x_image.o x_color.o x_fileselect.o
>x_preview.o x_attribedit.o x_multiattrib.o parsecmd.o o_cue.o
>-L/usr/local/geda/lib -lgeda  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk
>-rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm

What's missing from this list is -lguile and friends  I am assuming that
the ./configure script finished ok otherwise you won't get very this far.
What does:  guile-config --version   return?  Since this is an RH9.x dist,
I'm guess that you are using guile 1.6.x.  Do you have the guile-devel
rpm installed?

Very curious that guile would be missing from that list.  Inside of 
gschem/src/Makefile, what is GUILE_CFLAGS and more importantly 
GUILE_LDFLAGS set to?  What about INCLUDES and gschem_LDADD ?
Any hints in the config.log regarding guile?


[snip]
>`scm_close_port'
>/usr/local/geda/lib/libgeda.so: undefined reference to `scm_port_line'
>/usr/local/geda/lib/libgeda.so: undefined reference to `gh_symbol2scm'

	These are all guile functions. 

>
>Does anybody have any ideas about what's wrong?

	No idea, but I'm sure there is a rational reason behind -lguile
missing from the link line.  Is this a completely clean build?

								-Ales