Re: What is gazonk*.c
Themos Tsikas <[email protected]>
| Newsgroups | gmane.comp.mathematics.axiom.user |
|---|---|
| Organization | NAG Ltd |
| Message-ID | <[email protected]> |
Try a )trace SYSTEM before anything else You could try )set functions compile off which will not use the compiler for functions. It seems some misconfiguration is present with your C compiler. Mine says cc1: error: unrecognized command line option "-fwritable-strings" and I have gcc version 4.1.0 (SUSE Linux) installed Themos Tsikas On Monday 23 October 2006 15:23, ming lu wrote: > Hi group, > I just started to learn axiom and is running it under linux. I got > following error when I tried to build a Fibonacci number. Anyone could > show me what I did wrong? > Thanks, > Ming > (1) -> p(0)==1 > Type: > Void (2) -> p(1)==1 > Type: > Void (3) -> p(n)==p(n-1)+p(n-2) > Type: > Void (4) -> p(3) > Loading /home/mlu/axiom/mnt/linux/algebra/INT.o for domain Integer > Loading /home/mlu/axiom/mnt/linux/algebra/PI.o for domain > PositiveInteger > Loading /home/mlu/axiom/mnt/linux/algebra/NNI.o for domain > NonNegativeInteger > Compiling function p with type Integer -> PositiveInteger > Loading /home/mlu/axiom/mnt/linux/algebra/BOOLEAN.o for domain > Boolean > Compiling function p as a recurrence relation. > /tmp/gazonk2.c:414: redeclaration of C++ built-in type `bool' > /tmp/gazonk2.c:2834: syntax error before `new' > In file included from /tmp/gazonk2.c:3185: > /tmp/gazonk2.c:1976: previous declaration of `void* malloc(unsigned int)' > with C++ linkage > /usr/include/stdlib.h:584: conflicts with new declaration with C linkage > /usr/include/stdlib.h:584: declaration of `void* malloc(unsigned int) throw > ()' throws different exceptions > /tmp/gazonk2.c:1976: than previous declaration `void* malloc(unsigned int)' > /tmp/gazonk2.c:1977: previous declaration of `void* realloc(void*, unsigned > int)' with C++ linkage > /usr/include/stdlib.h:595: conflicts with new declaration with C linkage > /usr/include/stdlib.h:595: declaration of `void* realloc(void*, unsigned > int) throw ()' throws different exceptions > /tmp/gazonk2.c:1977: than previous declaration `void* realloc(void*, > unsigned int)' > /tmp/gazonk2.c:3389: syntax error before `new' > /tmp/gazonk2.c:3835: syntax error before `new' > /tmp/gazonk2.c:3836: syntax error before `new' > /tmp/gazonk2.c:3837: syntax error before `new' > /tmp/gazonk2.c:3954: syntax error before `export' > /tmp/gazonk2.c: In function `void L1()': > /tmp/gazonk2.c:2450: too many arguments to function `lispunion* elt()' > /tmp/gazonk2.c:5159: at this point in file > /tmp/gazonk2.c:2450: too many arguments to function `lispunion* elt()' > /tmp/gazonk2.c:5160: at this point in file > /tmp/gazonk2.c:2450: too many arguments to function `lispunion* elt()' > /tmp/gazonk2.c:5161: at this point in file > /tmp/gazonk2.c:5180: too many arguments to function > (4) -> > > > _______________________________________________ > Axiom-mail mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/axiom-mail > > ________________________________________________________________________ > This e-mail has been scanned for all viruses by Star. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ________________________________________________________________________