ELLCC build error on OS X

Home Forums Forum ELLCC build error on OS X

This topic contains 1 reply, has 2 voices, and was last updated by  rich 8 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25256

    Emmanuel Blot

    Hi,

    I’m trying to build ELLCC from the SVN sources, and I get the following error:

    $ svn info .
    Path: .
    Working Copy Root Path: /Users/eblot/Sources/Svn/ellcc.org/ellcc-0.1.15
    URL: http://ellcc.org/svn/ellcc/tags/ellcc-0.1.15
    Relative URL: ^/ellcc/tags/ellcc-0.1.15
    Repository Root: http://ellcc.org/svn
    Repository UUID: 82857169-6e38-49d7-aaa8-07fb558f12fc
    Revision: 5388
    Node Kind: directory
    Schedule: normal
    Last Changed Author: rich
    Last Changed Rev: 5346
    Last Changed Date: 2015-09-21 01:55:20 +0200 (Mon, 21 Sep 2015)

    $ make
    ….
    Installing C++ headers
    cp -pr src/c++/libunwind/include/unwind.h include/
    cp -pr src/c++/libunwind/include/__libunwind_config.h include/
    mv include/c++/__cxxabi_config.h include/
    Installing clang headers
    cp: ../llvm/tools/clang/lib/Headers/cuda is a directory (not copied).
    Making libecc for aarch64-linux-eng in musl-build/aarch64-linux-eng
    Configuring musl for aready done
    make[2]: Nothing to be done for `all’.
    make[2]: Nothing to be done for `install’.
    Installing libecc for aarch64-linux-eng
    Making libcompiler-rt for aarch64-linux-eng in compiler-rt-build
    Installing the compiler-rt library for aarch64-linux-eng
    Configuring ncurses for aarch64-linux-eng aready done
    cd man && make DESTDIR=”” all
    make[4]: Nothing to be done for `all’.
    cd include && make DESTDIR=”” all
    make[4]: Nothing to be done for `all’.
    cd ncurses && make DESTDIR=”” all
    /Users/eblot/Sources/Svn/ellcc.org/ellcc-0.1.15/libecc/../bin/ecc -o make_hash -DHAVE_CONFIG_H -I../ncurses -I../../../src/ncurses/ncurses -I../../../src/ncurses/ncurses/../include -I../include -DUSE_BUILD_CC ../../../src/ncurses/ncurses/tinfo/make_hash.c
    In file included from ../../../src/ncurses/ncurses/tinfo/make_hash.c:40:
    In file included from ../../../src/ncurses/ncurses/build.priv.h:61:
    /Users/eblot/Sources/Svn/ellcc.org/ellcc-0.1.15/bin/../libecc/include/stdlib.h:24:10: fatal error: ‘bits/alltypes.h’ file not found
    #include <bits/alltypes.h>
    ^
    1 error generated.
    make[4]: *** [make_hash] Error 1
    make[3]: *** [all] Error 2
    make[2]: *** [aarch64-linux-eng.ncurses.build] Error 2
    make[1]: *** [aarch64-linux-eng] Error 2
    Make failed for libecc
    Error: leaving module
    make: *** [me] Error 1
    eblot@glencoe:~/Sources/Svn/ellcc.org/ellcc-0.1.15
    $ echo $PATH
    /usr/local/py27/bin:/usr/local/opt/cmake33/bin:/usr/local/Cellar/gettext/0.19.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
    eblot@glencoe:~/Sources/Svn/ellcc.org/ellcc-0.1.15
    $ find . -name “alltypes.h”
    ./libecc/include/aarch64/bits/alltypes.h
    ./libecc/musl-build/aarch64-linux-eng/install/include/bits/alltypes.h
    ./libecc/musl-build/aarch64-linux-eng/musl/arch/aarch64/bits/alltypes.h

    Any known issues with OS X (10.11)?

    BTW, it seems that http://ellcc.org/svn/ellcc/tags/current contains all ELLCC releases, is it on purpose?

    Thanks,
    Manu

    #25376

    rich
    Keymaster

    Hi Manu,

    I tweaked the build rules and compiled everything on OS X (10.11.1). It should work for you now using ELLCC 0.1.16, if not I’ll take another look.

    You’re right about current, I must have broken the tag at some point. It’s fixed now.

    -Rich

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.