LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-27-2008, 01:29 AM   #1
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 37
btanks and utf8 compile problem


Hi
I got all of the dependencies installed.

When I try to compile btanks with scons, I get the following error.
Quote:
scons: *** [build/release/mrt/utf8_utils.os] Error 1
scons: building terminated because of errors.
Ive googled quite a bit and do not seem to find a solution other then on fedora Russian forum. Though translated with google, I still do not seem to find a solution.

Some help would be great!

Thanks
 
Old 12-27-2008, 01:09 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,575

Rep: Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207Reputation: 1207
The thing causing the error is usually some lines above the
error statement. Would that be
Quote:
In file included from mrt/utf8_utils.cpp:21:
mrt/tclUniData.c:883: error: conflicting declaration '__CURRENCY_SYMBOL'
/usr/include/langinfo.h:360: error: '__CURRENCY_SYMBOL' has a previous declaration as '<anonymous enum> __CURRENCY_SYMBOL'
A workaround : delete line 883 in btanks-0.8.7686/mrt/tclUniData.c

Good luck !
 
Old 12-27-2008, 07:29 PM   #3
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 37
Thumbs up

Here is the error in full
Quote:
In file included from mrt/utf8_utils.cpp:21:
mrt/tclUniData.c:883: error: conflicting declaration '__CURRENCY_SYMBOL'
/usr/include/langinfo.h:360: error: '__CURRENCY_SYMBOL' has a previous declaration as '<anonymous enum> __CURRENCY_SYMBOL'
scons: *** [build/release/mrt/utf8_utils.os] Error 1
scons: building terminated because of errors.
I first commented out line 883 in btanks but still got the error

I then deleted line 883.

Recompiled using SCons.

And.........

It worked!

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to build btanks? (fedora 9) Bob_fedora Linux - Software 1 08-24-2008 12:26 PM
kmail utf8 password problem ppr:kut Slackware 3 10-21-2007 05:06 PM
National Language Support = utf8 and vfat problem (possible kernel bug) Not now, John! Linux - General 1 08-31-2007 10:52 PM
utf8 on putty,proftpd,samba3 problem.. singying304 Linux - Software 1 07-20-2006 06:36 PM
Shared Folders problem in VmWare. UTF8? r_vilaboa Linux - Software 1 10-06-2005 06:26 PM


All times are GMT -5. The time now is 01:44 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration