You are not logged in.
I can't compile a simple haskell program that uses GLUT. See output below. Googling suggests that it wasn't compiled correctly.
cat main.hs
import qualified Graphics.Rendering.OpenGL as GL
import qualified Graphics.UI.GLUT as GLUT
main = do
(progname, _) <- GLUT.getArgsAndInitialize
GLUT.createWindow "Hello World"
GLUT.mainLoop
$ ghc main.hs
Linking main ...
/usr/lib/ghc-7.0.2/site-local/GLUT-2.1.2.1/libHSGLUT-2.1.2.1.a(Begin__8.o): In function `sv8I_info':
(.text+0x84): undefined reference to `glutMainLoop'
/usr/lib/ghc-7.0.2/site-local/GLUT-2.1.2.1/libHSGLUT-2.1.2.1.a(Initialization__17.o): In function `swEN_info':
(.text+0x161): undefined reference to `glutInit'
/usr/lib/ghc-7.0.2/site-local/GLUT-2.1.2.1/libHSGLUT-2.1.2.1.a(Window__47.o): In function `scgo_info':
(.text+0x2a): undefined reference to `glutCreateWindow'
collect2: ld returned 1 exit status
Last edited by kjslag (2011-06-17 06:57:00)
Offline
rebuilding the package myself (no PKGBUILD changes necessary) fixed the problem
Offline
Did you rebuild haskell-glut or ghc ?
either way, please create a bug report at flyspray
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Confirming that rebuilding haskell-glut from PKGBUILD solves the problem.
Offline
Post a bug report on it. Most devs/TU's doesn't read every random thread on the bbs.
Last edited by Mr.Elendig (2011-08-20 02:37:04)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Offline