TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

Install Issue with 2.01.1

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
vision



Joined: 01 Feb 2014
Posts: 32

PostPosted: Sat Feb 07, 2015 8:18 pm    Post subject: Install Issue with 2.01.1 Reply with quote

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
View user's profile Send private message
vision



Joined: 01 Feb 2014
Posts: 32

PostPosted: Sat Feb 07, 2015 8:20 pm    Post subject: Sorry Additional Info Reply with quote

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
View user's profile Send private message
Slysven



Joined: 10 Apr 2011
Posts: 365
Location: As "Jomin al'Bara" in WoTMUD or Wiltshire, UK

PostPosted: Mon Feb 16, 2015 4:27 pm    Post subject: Reply with quote

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... Nope
Back to top
View user's profile Send private message
shmup



Joined: 29 Oct 2013
Posts: 4

PostPosted: Sun Aug 30, 2015 2:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group