 |
The TinTin++ message board
|
 |
View previous topic :: View next topic |
Author |
Message |
vision
Joined: 01 Feb 2014 Posts: 32
|
Posted: Sat Feb 07, 2015 8:18 pm Post subject: Install Issue with 2.01.1 |
|
|
I am able to install 2.01.0 on the same machine with no issues. Configure runs okay, and make blows up. Any thoughts are greatly appreciated. There are several errors ending with make: *** [math.o] Error 1
Additional errors include:
math.c:83:8: error: conflicting types for 'get_number'
double get_number(struct session *ses, char *str)
^
math.c:72:12: note: previous implicit declaration is here
result = get_number(ses, right);
math.c:125:6: error: conflicting types for 'mathexp'
void mathexp(struct session *ses, char *str, char *result, int seed)
^
math.c:88:2: note: previous implicit declaration is here
mathexp(ses, str, result, 0);
math.c:532:6: error: conflicting types for 'mathexp_level'
void mathexp_level(struct session *ses, struct link_data *node)
^
math.c:142:4: note: previous implicit declaration is here
mathexp_level(ses, node);
math.c:584:6: error: conflicting types for 'mathexp_compute'
void mathexp_compute(struct session *ses, struct link_data *node)
^
math.c:555:5: note: previous implicit declaration is here
mathexp_compute(ses, node);
^
math.c:767:8: error: conflicting types for 'tintoi'
double tintoi(char *str)
^
math.c:90:8: note: previous implicit declaration is here
val = tintoi(result);
^
math.c:946:8: error: conflicting types for 'tincmp'
double tincmp(char *left, char *right)
^
math.c:669:14: note: previous implicit declaration is here
value = tincmp(node->prev->str3, node->next->str3) <= 0;
^
math.c:958:8: error: conflicting types for 'tineval'
double tineval(struct session *ses, char *left, char *right)
^
math.c:730:13: note: previous implicit declaration is here
value = (tineval(ses, node->prev->str3, node->next->str3) != 0);
^
math.c:970:8: error: conflicting types for 'tindice'
double tindice(char *left, char *right)
^
math.c:599:13: note: previous implicit declaration is here
value = tindice(node->prev->str3, node->next->str3); |
|
Back to top |
|
 |
vision
Joined: 01 Feb 2014 Posts: 32
|
Posted: Sat Feb 07, 2015 8:20 pm Post subject: Sorry Additional Info |
|
|
Mac OS X 10.10.2
PCRE and GNUTLS installed following linked instructions.
XCODE installed tried command line utils first and then full install |
|
Back to top |
|
 |
Slysven
Joined: 10 Apr 2011 Posts: 375 Location: As "Jomin al'Bara" in WoTMUD or Wiltshire, UK
|
Posted: Mon Feb 16, 2015 4:27 pm Post subject: |
|
|
That looks like a "not finding local header files problem" by default a function that has not been previously seen in the header files or earlier in the C source file being compiled will be implicitly declared and expected to return an (int) value - and all those you list are the ones that don't!
I haven't gazed at the TinTin++ source for a while now, but the "#include"s at the top of the file with '"'...'"' are not being found during compilation (the system ones wrapped in '<'...'>' are usually handled differently). To a certain extent the handling of #include can be slightly different for different C compilers so my best guess is that the MacOs one (XCode isn't it) is not doing something or has different defaults than the GCC that I guess most users will be using...  |
|
Back to top |
|
 |
shmup
Joined: 29 Oct 2013 Posts: 4
|
Posted: Sun Aug 30, 2015 2:02 pm Post subject: |
|
|
vision, you may want to install with Brew.
brew intall tintin and the recipe is updated to 2.0.1 and Good To Go |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
TinTin++ Homepage
Powered by phpBB © 2001, 2002 phpBB Group
|