logo       

Package Main: msg#00012

lang.haskell.glasgow.bugs

Subject: Package Main

I'm running into a strange problem when I build the X11 library using current
ghc (built from repository yesterday using gcc 3.2). The error message I get
is:

ghc-6.1: unknown package name: Main

The puzzling bit here is that I am compiling a part of a library using -c, I
don't mention a package called Main and package.conf doesn't mention the word
Main. So why does the error message mention Main?

Any thoughts?

--
Alastair Reid

ps The command is

/usr/local/bin/ghc -H16m -O -Wall -cpp -fglasgow-exts -fffi -Iinclude -package
haskell98 -package HSgreencard -package-name HSX11 -O -Rghc-timing -package
haskell98 -package HSgreencard -split-objs -c Graphics/X11/Types.hs -o
Graphics/X11/Types.o -ohi Graphics/X11/Types.hi -v 2> /tmp/log2 1> /tmp/log1

and I'm including Types.hs, stdout and stderr as attachments

Attachment: log1
Description: Text document

Attachment: log2
Description: Text document

Attachment: Types.hs
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise