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

Compiling Problem

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



Joined: 07 Aug 2010
Posts: 1

PostPosted: Sat Aug 07, 2010 10:35 am    Post subject: Compiling Problem Reply with quote

Howdy! Just moved to a new shell server, and sadly, I cannot get my tintin to compile. And unfortunately, I know zip all about coding.

Perhaps there's someone who could help?

The OS is FreeBSD

The first time around, I was getting:

----------------------------------
c:/homex/j0ram/tt/src>make
gcc -Wall -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -DHAVE_CONFIG_H -c action.c
In file included from action.c:28:
----------------------------------

So I located pcre.h in the /usr/local/include folder, and changed the tinexp.c and tintin.h files to:
#include </usr/local/include/pcre.h>

Then I attempted to make once again, and got further. There were a few errocs akin to:

----------------------------------
system.c: In function `do_run':
system.c:63: warning: implicit declaration of function `forkpty'
----------------------------------

and

----------------------------------
list.c: In function `array_find':
list.c:197: warning: 'index' might be used uninitialized in this function
----------------------------------

But it proceeded to the Linking stage, at which time it bombed, with the following error:

----------------------------------
---- Linking...
gcc -Wall -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -DHAVE_CONFIG_H -o tt++ action.o alias.o files.o help.o highlight.o strhash.o input.o log.o main.o misc.o net.o parse.o path.o update.o history.o tab.o vt102.o terminal.o session.o function.o text.o substitute.o tick.o telopt.o math.o split.o debug.o tinexp.o mapper.o tables.o buffer.o prompt.o class.o event.o utils.o chat.o macro.o config.o gag.o variable.o list.o forkpty.o cursor.o memory.o system.o line.o tokenize.o data.o nest.o advertise.o -lutil -lpthread -lz
tinexp.o(.text+0x5d): In function `regexp_compare':
: undefined reference to `pcre_exec'
tinexp.o(.text+0x1af): In function `regexp_compare':
: undefined reference to `pcre_compile'
tinexp.o(.text+0x2cb): In function `regexp_compile':
: undefined reference to `pcre_compile'
*** Error code 1
----------------------------------

Any help would be greatly appreciated. I've been using tintin since '93, and I can't live without it!

Thanks so much,
j0ram
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3274

PostPosted: Sat Aug 07, 2010 2:21 pm    Post subject: Reply with quote

Rather than modifying the sourcecode I think you need to point ./configure in the right direction regarding where pcre is located.

Try:

./configure --includedir=usr/local/include

The warning in list.c is nothing to be worried about, and the warning in system.c may not be a problem as long as you don't use the #run command. I'll look into that when I have time.
Back to top
View user's profile Send private message Send e-mail
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