LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Tags used in this thread
Popular LQ Tags

Reply
 
Thread Tools
Old 12-27-2008, 12:29 AM   #1
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackwars 12.2
Posts: 519
Thanked: 9
btanks and utf8 compile problem


[Log in to get rid of this advertisement]
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
okos is offline     Reply With Quote
Old 12-27-2008, 12:09 PM   #2
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009,slack12.2, Debian Lenny (+17 others, for test only)
Posts: 2,012
Thanked: 113
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 !
knudfl is online now  
Tag This Post
Reply With Quote
The Following User Says Thank You to knudfl For This Useful Post:
Old 12-27-2008, 06:29 PM   #3
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackwars 12.2
Posts: 519
Thanked: 9

Original Poster
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
okos is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


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


All times are GMT -5. The time now is 12:30 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration