axiom-developer
[Top][All Lists]
Advanced

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

[Axiom-developer] Axiom on Mac OS X


From: Sarvagnan
Subject: [Axiom-developer] Axiom on Mac OS X
Date: Mon, 23 Jun 2014 19:14:09 +0530

I have cloned the axiom source from github and am attempting to install it on a OS X 10.9.2.
I followed the instructions on the axiom developer site, running

cd axiom
export AXIOM=`pwd`/mnt/macosxppc
export PATH=/sw/bin:$AXIOM/bin:$PATH
make
in terminal.

When I run make, i receive the following output,
13 making noweb
patching file modules.c
patching file Makefile
In file included from notangle.nw:28:
./getline.h:4:7: error: conflicting types for 'getline'
char *getline (FILE *fp);
      ^
/usr/include/stdio.h:440:9: note: previous declaration is here
ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restri...
        ^
notangle.nw:63:30: error: too few arguments to function call, expected 3, have 1
    while ((line = getline(in)) != NULL) {
                   ~~~~~~~   ^
/usr/include/stdio.h:440:1: note: 'getline' declared here
ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restri...
^
notangle.nw:97:23: error: too few arguments to function call, expected 3, have 1
do { line = getline(in);
            ~~~~~~~   ^
/usr/include/stdio.h:440:1: note: 'getline' declared here
ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restri...
^
notangle.nw:72:26: error: too few arguments to function call, expected 3, have 1
        line = getline(in);
               ~~~~~~~   ^
/usr/include/stdio.h:440:1: note: 'getline' declared here
ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restri...
^
notangle.nw:75:26: error: too few arguments to function call, expected 3, have 1
        line = getline(in);
               ~~~~~~~   ^
/usr/include/stdio.h:440:1: note: 'getline' declared here
ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restri...
^
notangle.nw:90:30: error: too few arguments to function call, expected 3, have 1
            line = getline(in);
                   ~~~~~~~   ^
/usr/include/stdio.h:440:1: note: 'getline' declared here
ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restri...
^
6 errors generated.
make[2]: *** [notangle.o] Error 1
make[1]: *** [all] Error 2
make: *** [noweb] Error 2
Is there anything I can do to fix this?
Thanks in advance!!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]