Porting to DragonFly BSD

Colin Paul Adams colin at colina.demon.co.uk
Tue Dec 15 05:53:06 EST 2009


>>>>> "Goetz" == Goetz Isenmann <info at goetz-isenmann.de> writes:

    Goetz> My current strategie is, to avoid the problem in a first
    Goetz> step.

    Goetz> With the attached errno_ptr.{h,c} I create a shared
    Goetz> library, that encapsulates the errno access, install the
    Goetz> header file as /usr/pkg/include/errno_ptr.h and the shared
    Goetz> lib as /usr/pkg/lib/liberrno_ptr.so

    Goetz> Building ghc-6.10.4 with the attached patch (only a quick
    Goetz> hack, to check the idea) I get a result, that looks much
    Goetz> better.

    Goetz> @Colin: Maybe you can test and use this hack.

I've finally got round to trying this. I'm having a problem which
maybe has a simple known solution.

What I have done so far:

1) Built and deployed the shared library as detailed above
2) Applied the diff with patch <diff-name
3) cd chc-6.10.4
4) ./configure
5) make

Make immediately fails with:

"./mk/boilerplate.mk", line 41: Need an operator
"./mk/boilerplate.mk", line 44: Need an operator
"./mk/config.mk", line 29: Need an operator
"./mk/config.mk", line 30: Need an operator
"./mk/config.mk", line 31: Need an operator
"./mk/config.mk", line 32: Need an operator
"./mk/config.mk", line 33: Need an operator
"./mk/config.mk", line 169: Need an operator
"./mk/config.mk", line 171: Need an operator
"./mk/config.mk", line 173: Need an operator
"./mk/config.mk", line 196: Need an operator
"./mk/config.mk", line 210: Need an operator
"./mk/config.mk", line 268: Need an operator
"./mk/config.mk", line 270: Need an operator
"./mk/config.mk", line 272: Need an operator
Error expanding embedded variable.

I'm not exactly familiar with makefile syntax, so I could see anything
that rang alarm bells. Line 41 looks like:

ifneq "$(way)" ""


-- 
Colin Adams
Preston Lancashire


More information about the Glasgow-haskell-users mailing list