View Issue Details

IDProjectCategoryView StatusLast Update
0004765Multi Theft Auto : San AndreasClientpublic2009-08-15 02:58
Reporterx86Assigned Toccw 
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.0Fixed in Version1.0 
Summary0004765: GCC hash_fun include compilation error on Linux
Description

./MTAPlatform.h:66:23: error: hash_fun.h: No such file or directory
In file included from ./../core/StdInc.h:17,
from MTAPlatform.cpp:12:
./../core/../version.h:6:37: warning: no newline at end of file
./MTAPlatform.h:102: error: 'hash' is not a template
./MTAPlatform.h:103: error: explicit specialization of non-template 'gnu_cxx::hash'
./MTAPlatform.h: In member function 'size_t
gnu_cxx::hash::operator()(const std::string&) const':
./MTAPlatform.h:106: error: '__gnu_cxx::hash' is not a template
make[3]: [MTAPlatform.o] Error 1
make[3]: Leaving directory `/home/sebas/mtasvn/trunk/MTA10_Server/sdk'
make[2]:
[all-recursive] Error 1
make[2]: Leaving directory /home/sebas/mtasvn/trunk/MTA10_Server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/sebas/mtasvn/trunk'
make: *** [all] Error 2
-(00:37:16)-(sebas@greenhood.nl)-

This hapend when "make"ing MTA

TagsNo tags attached.

Activities

1337MaVe

2009-08-06 21:45

viewer   ~~0010145

Only happens on debian etch for me

rjcnz333

2009-08-07 00:25

viewer   ~~0010147

Last edited: 2009-08-07 00:26

In ubuntu I moved hash_fun.h from /usr/include/c++/<g++ version>/ext/ to /usr/include/c++/<g++ version>/ to resolve this problem. Must be similar problem in debian.

x86

2009-08-07 12:58

administrator   ~~0010149

OS: Debian etch, same as 1337mave

x86

2009-08-12 19:48

administrator   ~~0010188

What you said rjcnz333 is working on Debian etch, Thankyou.

I did:
sudo cp /usr/include/c++/4.1.2/ext/hash_fun.h /usr/include/c++/4.1.2/hash_fun.h

ccw

2009-08-13 00:17

administrator   ~~0010189

Fix in the werks. Until then, do a cp like sebassje said. Don't do a move or the world will end.

1337MaVe

2009-08-14 09:06

viewer   ~~0010199

creating a symlink is probably the best and worked for me

ccw

2009-08-15 02:58

administrator   ~~0010207

Fixed in r1493

Issue History

Date Modified Username Field Change