[Fluxus] Compiling Fluxus in Ubuntu 8.10

Chris Targett xin at xlevus.net
Sun Nov 23 03:00:01 PST 2008


I've been having some issues with compiling fluxus in Ubuntu 8.10.

Firstly, Scons wouldn't detect scheme.h and sometimes jpeglib.h so I
commented these out and it compiles fine.

Secondly when it gets to the linking stage I get a bunch of "undefined
refrence to..."

g++ -o fluxus -rdynamic src/GLEditor.o src/GLFileDialog.o
src/Interpreter.o src/Repl.o src/Recorder.o src/FluxusMain.o
src/PolyGlyph.o src/main.o -L/usr/lib -L/usr/local/lib/plt
-L/home/xin/fluxus/plt/lib -L/home/xin/libfluxus -L/usr/X11R6/lib -lm
-lpthread -ldl -ltiff -lfreetype -lz -lpng -lode -ljack -lsndfile
-lfftw3 -llo -lX11 -lGL -lGLU -lglut -lGLEW
src/Interpreter.o: In function `fill_from_port(Scheme_Object*, char*, long)':
/home/xin/fluxus/fluxus/src/Interpreter.cpp:101: undefined reference
to `GC_variable_stack'
/home/xin/fluxus/fluxus/src/Interpreter.cpp:104: undefined reference
to `scheme_char_ready'
/home/xin/fluxus/fluxus/src/Interpreter.cpp:106: undefined reference
to `scheme_getc'
<snip>
src/main.o: In function `main':
/home/xin/fluxus/fluxus/src/main.cpp:176: undefined reference to
`GC_variable_stack'
/home/xin/fluxus/fluxus/src/main.cpp:181: undefined reference to
`scheme_set_stack_base'
collect2: ld returned 1 exit status
scons: *** [fluxus] Error 1

I've tried compiling it against the mzscheme package in Ubuntu and the
binary on plt-scheme.org but I end up with the same result.

What I have managed to do is compile and link Fluxus in OSX. But when
I run it I just get a "Bus Error" message and then it quits. I ran the
binary through gdb and determined the error was to do with Freetype2.
An error very similar to
http://lists.cairographics.org/archives/cairo/2006-December/008913.html

Does anybody have any hits as to what might fix one of these two issues?

Thanks
Chris Targett



More information about the Fluxus mailing list