
hi. since my webhoster doesnt have haskell installed i have decided to use compiled cgi programs instead. since there doesnt seem to be a cgi library for ghc i was hoping to port the library i found at http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne/haskell_libs/CGI... the library (CGI.lhs) seems to compile fine. but when i go to compile the programs i get the following [04:13pm 0.13 0.15 0.16 ~/CGI]$ mv Counter.cgi Counter.lhs Counter.cgi -> Counter.lhs [04:14pm 0.11 0.15 0.16 ~/CGI]$ ghc Counter.lhs compilation IS NOT required Counter.o: In function `__stginit_Main': Counter.o(.text+0x16): undefined reference to `__stginit_CGI' Counter.o: In function `Main_main_srt': Counter.o(.text+0x288): undefined reference to `CGI_h1_closure' Counter.o(.text+0x2a8): undefined reference to `CGI_submit_closure' Counter.o(.text+0x2ac): undefined reference to `CGI_gui_closure' Counter.o(.text+0x2b8): undefined reference to `CGI_page_closure' Counter.o(.text+0x2c0): undefined reference to `CGI_zdfShowCgiOut_closure' Counter.o(.text+0x2c4): undefined reference to `CGI_zdfMimeHTML_closure' Counter.o(.text+0x2c8): undefined reference to `CGI_wrapper_closure' Counter.o: In function `s13m_entry': Counter.o(.text+0x35e): undefined reference to `CGI_h1_closure' Counter.o: In function `s13Z_entry': Counter.o(.text+0x689): undefined reference to `CGI_submit_closure' Counter.o: In function `s144_entry': Counter.o(.text+0x6fe): undefined reference to `CGI_gui_closure' Counter.o: In function `s14f_entry': Counter.o(.text+0x7e2): undefined reference to `CGI_page_closure' Counter.o: In function `s14v_ret': Counter.o(.text+0x81a): undefined reference to `CGI_Content_con_info' Counter.o: In function `s13d_entry': Counter.o(.text+0x898): undefined reference to `CGI_zdfMimeHTML_closure' Counter.o(.text+0x89d): undefined reference to `CGI_zdfShowCgiOut_closure' Counter.o: In function `Main_main_entry': Counter.o(.text+0x91e): undefined reference to `CGI_wrapper_closure' [04:14pm 0.15 0.15 0.16 ~/CGI]$ i do not know what is happening here. any hints on how to proceed? sincerly, chris moline