Hello, I built and install wxHaskell on RedHat 9 (fully updated through freshrpms.net) without error. However, now when I try to build the HelloWorld application, I get the following errors. Should I be passing a library name to ghc? Please help. Thanks!!
$ ghc -package wx -o helloworld HelloWorld.hs
/usr/local/lib/libwxc-0.6.so: undefined reference to `wxGLCanvas::SwapBuffers()'/usr/local/lib/libwxc-0.6.so: undefined reference to `wxGLCanvas::SetColour(char const*)'
/usr/local/lib/libwxc-0.6.so: undefined reference to `wxGLCanvas::wxGLCanvas[in-charge](wxWindow*, wxGLCanvas const*, int, wxPoint const&, wxSize const&, long,
wxString const&, int*, wxPalette const&)'
/usr/local/lib/libwxc-0.6.so: undefined reference to `wxGLCanvas::SetCurrent()'
/usr/local/lib/libwxc-0.6.so: undefined reference to `wxGLCanvas::wxGLCanvas[in-charge](wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&, int*, wxPalette const&)'
collect2: ld returned 1 exit status
|