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 on ubuntu 10.10

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
karvec



Joined: 16 Jul 2010
Posts: 50

PostPosted: Tue Feb 08, 2011 4:15 pm    Post subject: compiling on ubuntu 10.10 Reply with quote

Alright, already installed zlibg1-dev and pcre3-dev, so there are no errors while compiling-- However, I run into errors after everything is compiled and it's trying to link it. I feel like this is a stupid mistake on my end, but here's the output:

Code:


---- Linking...
gcc -Wall  -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 -lpcre -lutil -lnsl -lpthread 
session.o: In function `dispose_session':
session.c:(.text+0xfc1): undefined reference to `inflateEnd'
telopt.o: In function `translate_telopts':
telopt.c:(.text+0x129): undefined reference to `inflate'
telopt.c:(.text+0x26e): undefined reference to `inflateEnd'
telopt.c:(.text+0x2d8): undefined reference to `inflateEnd'
telopt.o: In function `init_mccp':
telopt.c:(.text+0x3257): undefined reference to `inflateInit_'
collect2: ld returned 1 exit status
make: *** [tt++] Error 1
karvec@icecube:~/Downloads/tt/src$


Any reccommendations/suggestions? Thanks!

Also, the only reason I'm compiling is because tt++ as a precompiled binary doesn't seem to be working so hot-- It just says "bash: ./tt++: cannot execute binary file" and I've already done a chmod +x tt++, tried moving it to usr/bin and all sorts of other crap and now I'm starting to bang my head against the wall. So, yeah, if you can fix either of these two problems I'd be much obliged.[/code]
Back to top
View user's profile Send private message
karvec



Joined: 16 Jul 2010
Posts: 50

PostPosted: Tue Feb 08, 2011 4:22 pm    Post subject: On a side note Reply with quote

2.00.4 works just fine-- until I try to run it with a *.tt file. So just need to get 2.00.5 working and I'll be happy. This is the error for 2.00.4:

Code:
tt++: relocation error: /lib/libnss_mdns4_minimal.so.2: symbol strlen, version GLIBC_2.0 not defined in file libc.so.6 with link time reference


So now I'm stuck between a rock and a very hard place. Sad
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Tue Feb 08, 2011 5:16 pm    Post subject: Reply with quote

Looks like it can't find zlib. Make sure you got zlib installed, and if that's the case you might have to point ./configure at the right location to find the library, for example:

./configure --libdir=/usr/local/lib

Guess you should first try:

sudo apt-get install build-essential
sudo apt-get build-dep tintin++
Back to top
View user's profile Send private message Send e-mail
karvec



Joined: 16 Jul 2010
Posts: 50

PostPosted: Tue Feb 08, 2011 5:39 pm    Post subject: Reply with quote

Sweet, just did a ./configure --libdir=/usr/include/ and it worked.

Thank you very much, working good so far.
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 -> Bug Reports 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