error while creating dll

Janna Khegai janna at cs.chalmers.se
Mon Jan 22 11:41:25 EST 2001


Hi,

I tried to make an exmple dll from the chapter 10.4 of User's Guide. 

After printing 
ghc --mk-dll -static -o adder.dll adder.o adder_stub.o dllMain.o

I got:

dllwrap -mno-cygwin --target=i386-mingw32 --output-lib libadder_imp.a --export-a
ll --output-def adder.def -o adder.dll adder.o -LC:/ghc/ghc-4.08.1/lib  -lHSstd_
imp -lHSstd_cbits_imp -lHSrts_imp -lwinmm -lwsock32 -lgmp
dllwrap: no export definition file provided
dllwrap: creating one, but that may not be what you want
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/ld: cann
ot find -lHSstd_imp
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1

How could I fix it?

Regards, Janna Khegai


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20010122/b2b96a63/attachment.htm


More information about the Glasgow-haskell-bugs mailing list