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

gEDA-user: Problem building gschem. . . .



Hmmmm . . . . .

I've built gEDA/gaf on a number of machines, so I feel like I know
what I'm doing.  (Maybe that's not true . . . .)  However, I'm having
problems with this one. 

I am building gEDA-20030525 from source on a RH9.0 system.  I am using
the manual method, i.e. following this section of the release notes:

-------------------   Release notes instructions ------------------
   1) Download all the above files and the required libraries.
   2) Build and install the required and optional libraries.
   3) Untar all of the geda tar files in the same directory.
   4) Go into each directory and run:
         ./configure            [ with --prefix=$HOME/geda if you wish]
         make install

      You must build and install the packages in the following order:

         1. libgeda
         2. symbols
         3. gschem
         4. gnetlist
         5. gsymcheck
         6. geda
         7. utils
         8. docs
         9. examples
------------------   End release notes instructions -----------------

I have previously built & installed guile-1.4.1, and glib and gtk+ are
both 1.2.10 versions.  In each directory I do "./configure
--prefix=/usr/local/geda" followed by "make".

Things work fine for libgeda and symbols.  However, when I try to
build gschem I get the following error:

--------------------------  Error spew  ------------------------
make[3]: Entering directory
`/usr/local/src/geda-20030525/geda-gschem-20030525/src'
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
g_register.o(.text+0x11): In function `g_register_funcs':
../noweb/g_register.nw:74: undefined reference to
`gh_new_procedure1_0'
g_register.o(.text+0x2b):../noweb/g_register.nw:76: undefined
reference to `gh_new_procedure'
g_register.o(.text+0x43):../noweb/g_register.nw:77: undefined
reference to `gh_new_procedure'

[ . . . .  lots of spew deleted . . . . ]

x_menus.o(.text+0x44f):../noweb/x_menus.nw:207: undefined reference to
`gh_scm2newstr'
x_stroke.o(.text+0x154): In function `x_stroke_search_execute':
../noweb/x_stroke.nw:196: undefined reference to `gh_eval_str'
x_stroke.o(.text+0x15c):../noweb/x_stroke.nw:198: undefined reference
to `gh_scm2bool'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_gc_for_newcell'
/usr/local/geda/lib/libgeda.so: undefined reference to `gh_str02scm'
/usr/local/geda/lib/libgeda.so: undefined reference to `scm_puts'
/usr/local/geda/lib/libgeda.so: undefined reference to `scm_open_file'
/usr/local/geda/lib/libgeda.so: undefined reference to `scm_display'
/usr/local/geda/lib/libgeda.so: undefined reference to `scm_newline'
/usr/local/geda/lib/libgeda.so: undefined reference to `scm_freelist'
/usr/local/geda/lib/libgeda.so: undefined reference to `scm_read'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_make_smob_type'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_set_smob_mark'
/usr/local/geda/lib/libgeda.so: undefined reference to `scm_eval_x'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_makfrom0str'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_must_malloc'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_master_freelist'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_port_filename'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_port_column'
/usr/local/geda/lib/libgeda.so: undefined reference to `gh_display'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_makfromstr'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_set_smob_print'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_set_smob_free'
/usr/local/geda/lib/libgeda.so: undefined reference to `gh_eq_p'
/usr/local/geda/lib/libgeda.so: undefined reference to
`scm_current_output_port'
/usr/local/geda/lib/libgeda.so: undefined reference to `gh_catch'
/usr/local/geda/lib/libgeda.so: undefined reference to
`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'
collect2: ld returned 1 exit status
make[3]: *** [gschem] Error 1
make[3]: Leaving directory
`/usr/local/src/geda-20030525/geda-gschem-20030525/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/usr/local/src/geda-20030525/geda-gschem-20030525/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/src/geda-20030525/geda-gschem-20030525'
make: *** [all] Error 2
------------------------  End of error spew ---------------------

Does anybody have any ideas about what's wrong?

Stuart