[Prev][Next][Index][Thread]

# Re: Compiling w/Linux & gcc

- Date: Fri, 15 Sep 1995 12:25:53 PDT
- From:
- Content-Type: text/plain; charset="us-ascii"

    >I'm trying to compile LambdaMOO 1.7.8p4 under Linux 1.3.15
    >and with gcc 2.6.3 and I get:
    >
    >numbers.o: In function 'bf_sqrt':
    >/usr/local/bin/MOO-1.7.8p4/numbers.c:186: undefined reference to 'sqrt'
    >make: *** [moo] Error 1
    >rm parser.c
    >
    >Anybody know how I can get around this?
    >
    >
    >
    >
    Anybody think that this should be in a FAQ or the sh configure command by now?
    Anyway, I had the same problem.. the solution was to edit   'Makefile'
    And add the -lm and -static to the libaries line at the top of the file.

    Enjoy,
    -Chris.

- Prev: Compiling w/Linux & gcc
- Next: Compiling with FreeBSD?
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index