* guile-gtk-0.19 build error
@ 2001-04-20 14:56 Rick Taube
2001-04-20 18:01 ` Marius Vollmer
0 siblings, 1 reply; 2+ messages in thread
From: Rick Taube @ 2001-04-20 14:56 UTC (permalink / raw)
To: guile-gtk
Hello, I want to evaluate guile-gtk-0.19 as a possible vehicle for porting a music composition system COmmon Music to Linux/Guile. I would like to use guile-gtk to implement the GUI that I have develped for my system in Common Lisp on the Mac. (If you want to see the interface there are some example gifs at http://www-camil.music.uiuc.edu/software/cm/installed/cm-2.1/doc/plotter.html
)
When I try to build guile-gtk-0.19 (Red Hat 7, Guile 1.4) I get an error in the build that I havent been able to figure out. Its dying on an unresolved symbol 'scm_master_freelist':
[hkt@camil23 guile-gtk-0.19]$ make
/bin/sh ./libtool --mode=link gcc -g -O2 -o guile-gtk-1.2 -export-dynamic main.o libguilegtk-1.2.la -L/usr/local/lib -lguile -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lm
gcc -g -O2 -o .libs/guile-gtk-1.2 main.o .libs/libguilegtk-1.2.so -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lm -L/usr/local/lib -lguile -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lm -Wl,--export-dynamic -Wl,--rpath -Wl,/usr/local/lib
.libs/libguilegtk-1.2.so: undefined reference to `scm_master_freelist'
collect2: ld returned 1 exit status
make: *** [guile-gtk-1.2] Error 1
[hkt@camil23 guile-gtk-0.19]$
----
Thanks for any suggestions on how to resolve this problem
Rick Taube
Asst. Prof. Composition/Theory
University of Illinois
Urbana IL USA
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: guile-gtk-0.19 build error
2001-04-20 14:56 guile-gtk-0.19 build error Rick Taube
@ 2001-04-20 18:01 ` Marius Vollmer
0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2001-04-20 18:01 UTC (permalink / raw)
To: Rick Taube; +Cc: guile-gtk
Rick Taube <taube@uiuc.edu> writes:
> When I try to build guile-gtk-0.19 (Red Hat 7, Guile 1.4) I get an
> error in the build that I havent been able to figure out. Its dying
> on an unresolved symbol 'scm_master_freelist':
The problem is probably with the link command that libtool produces:
> gcc -g -O2 -o .libs/guile-gtk-1.2 main.o .libs/libguilegtk-1.2.so
> -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXi
^^^^^^^^
> -lXext -lX11 -lm -lm -L/usr/local/lib -lguile -lm -L/usr/lib
^^^^^^^^^^^^^^ ^^^^^^^
> -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi
> -lXext -lX11 -lm -lm -Wl,--export-dynamic -Wl,--rpath
> -Wl,/usr/local/lib
Note the subseq "-L/usr/lib -L/usr/local/lib -lguile". This makes the
linker find an old -lguile in /usr/lib, probably, while your real
-lguile is in /usr/local/lib. Right?
A fix would be to run "make LDFLAGS=-L/usr/local/lib". This should
prepend -L/usr/local/lib to the front of linker command, and -lguile
will be found in /usr/local/lib.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-04-20 18:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-20 14:56 guile-gtk-0.19 build error Rick Taube
2001-04-20 18:01 ` Marius Vollmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).