[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] Compile error on FreeBSD
From: |
Shivakumar G |
Subject: |
[Gnash-dev] Compile error on FreeBSD |
Date: |
Mon, 24 Apr 2006 12:03:11 +0530 |
User-agent: |
Mozilla Thunderbird 1.0.6 (X11/20050808) |
Hi,
I am trying to compile gnash from sources from CVS..It busts with this
error:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server
-I/usr/include -I/usr/X11R6/include -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include -I/usr/local/include/SDL11
-I/usr/local/include/SDL -I/usr/local/include -D_THREAD_SAFE -pthread
-DQT_THREAD_SUPPORT -D_THREAD_SAFE -I.. -I. -I.. -I../server
-I/usr/include -I/usr/X11R6/include -I/usr/local/include/libxml2
-I/usr/local/include -I/usr/local/include -I/usr/local/include/SDL11
-I/usr/local/include/SDL -I/usr/local/include -g -O2 -Wall -c
container.cpp -Wp,-MD,.deps/container.TPlo -fPIC -DPIC -o .libs/container.o
In file included from container.cpp:12:
/home/y/include/g++/stl_hash_fun.h:38: previous declaration `template
<class _Key> hash<_Key>'
container.h:118: used 1 template parameter instead of 3
container.h:118: `stdext' is not a class or namespace
container.h:119: redefinition of `struct hash<_Key>'
/home/y/include/g++/stl_hash_fun.h:38: previous definition here
container.h:121: `stdext' is not a class or namespace
container.h:121: invalid member template declaration
`hash<_Key>::const_iterator'
container.h:122: `stdext' is not a class or namespace
container.h:122: invalid member template declaration `hash<_Key>::iterator'
container.h:126: default argument for template parameter in function
template `hash<_Key>::add(const T &, const U &)'
container.h:551: wrong number of template arguments (3, should be 1)
/home/y/include/g++/stl_hash_fun.h:38: provided for `template <class
_Key> hash<_Key>'
container.h:573: wrong number of template arguments (3, should be 1)
/home/y/include/g++/stl_hash_fun.h:38: provided for `template <class
_Key> hash<_Key>'
gmake[2]: *** [container.lo] Error 1
gmake[2]: Leaving directory `/home/shivku/cvs/gnash/libbase'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/shivku/cvs/gnash'
gmake: *** [all] Error 2
Any Idea?
Shivku
- [Gnash-dev] Compile error on FreeBSD,
Shivakumar G <=