FreeBSD + Graphics

Korwnios korwnios2002@yahoo.com
Mon, 22 Oct 2001 08:24:23 -0700 (PDT)


Hi everyone,
during the weekend I tried unsuccesfully to install
the graphics library:
(My system: FreeBSD, gmake-3.79.1, hugsFeb2000)

# gmake -C graphics-2.0.3/lib/x11
gmake: Entering directory
`/root/graphics-2.0.3/lib/x11'
cc  -I /usr/X11R6/include StdDIS.c -c
cc -shared -nostdlib -L /usr/X11R6/lib -lX11  -o
StdDIS.so StdDIS.o
cc  -I /usr/X11R6/include X.c -c
cc -shared -nostdlib -L /usr/X11R6/lib -lX11  -o X.so
X.o
cc  -I /usr/X11R6/include Xlib.c -c
cc -shared -nostdlib -L /usr/X11R6/lib -lX11  -o
Xlib.so Xlib.o
rm X.o StdDIS.o Xlib.o
gmake: Leaving directory
`/root/graphics-2.0.3/lib/x11'


--------

# runhugs -Pgraphics-2.0.3/lib/x11:
graphics-2.0.3/demos/HelloWorld.hs
runhugs: Error occurred
Reading file "graphics-2.0.3/demos/HelloWorld.hs":
Reading file
"graphics-2.0.3/lib/x11/GraphicsUtils.hs":
Reading file "graphics-2.0.3/lib/x11/GraphicsCore.hs":
Reading file
"graphics-2.0.3/lib/x11/GraphicsEvent.hs":
Reading file
"graphics-2.0.3/lib/x11/GraphicsWindow.hs":
Reading file "graphics-2.0.3/lib/x11/Xlib.hs":
Reading file "graphics-2.0.3/lib/x11/StdDIS.hs":
Reading file "/usr/local/share/hugs/lib/exts/Int.hs":
Reading file "/usr/local/share/hugs/lib/exts/Bits.hs":
Reading file "/usr/local/share/hugs/lib/exts/Int.hs":
Reading file "/usr/local/share/hugs/lib/exts/Word.hs":
Reading file "/usr/local/share/hugs/lib/exts/Addr.hs":
Reading file "/usr/local/share/hugs/lib/Monad.hs":
Reading file
"/usr/local/share/hugs/lib/exts/Foreign.hs":
Reading file "graphics-2.0.3/lib/x11/StdDIS.hs":
Parsing
ERROR "graphics-2.0.3/lib/x11/StdDIS.hs": Error
loading sym:
Undefined symbol "_initModule"

#


Any Ideas???

TIA.

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com