Compiling errors

Questions, problems and discussion about compiling FreeOrion.

Moderators: Oberlus, Oberlus

Post Reply
Message
Author
Rumor
Space Krill
Posts: 3
Joined: Fri Jul 06, 2007 2:02 am

Compiling errors

#1 Post by Rumor » Fri Jul 06, 2007 2:13 pm

Greetings:
I am sorry that this post is going to be awfully long. I am not sure what is or is not important in the terminal output. I've had to edit out part of it as it exceeds the character allowance. I've kept as many of the error messages as possible.

I am running Arch Linux and it is current. I think I have all the dependencies, but I may be mistaken on that point.

Any suggestions, help or pointers would be appreciated.

I grabbed the source code via svn this morning. When I go to /freeorion/FreeOrion/GG and run scons, I get the following output:

Code: Select all

[matthew@braymiller GG]$ scons
scons: Reading SConscript files ...
Configuring for POSIX system...
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking Boost version >= 1.34... (cached) yes
Looking for boost lib boost_signals... 
Checking for boost::signals::connection() in C++ library boost_signals... yes
Looking for boost lib boost_filesystem... 
Checking for boost::filesystem::initial_path() in C++ library boost_filesystem... yes
Boost configuration... (cached) ok
Checking for C header file pthread.h... yes
Checking for pthread_create() in C library pthread... yes
Checking for C header file GL/gl.h... yes
Checking for C header file GL/glu.h... yes
Checking for glBegin() in C library GL... yes
Checking for gluLookAt() in C library GLU... yes
Checking for sdl-config... (cached) yes
Checking SDL version >= 1.2.7... (cached) yes
Linking SDL/OpenGL test app... yes
SDL configuration... (cached) yes
Checking for pkg-config... yes
Checking for freetype2 >= 9.0.0... yes
Checking for C header file ft2build.h... yes
Checking for FT_Init_FreeType() in C library freetype... yes
Checking DevIL version >= 1.6.1... (cached) yes
Checking for C header file IL/il.h... yes
Checking for C header file IL/ilu.h... yes
Checking for C header file IL/ilut.h... yes
Checking for ilInit() in C library IL... yes
Checking for iluInit() in C library ILU... yes
Checking for ilutInit() in C library ILUT... yes
Checking for DevIL OpenGL support... yes
Checking for DevIL Allegro support... yes
Your DevIL-library is linked with Allegro, and this would require placing an "END_OF_MAIN"-macro after the program's main routine. GG contains a hack to remove this requirement, but it's a dirty hack and might not work. Note that your Allegro programs will crash if you use GiGi and forget the "END_OF_MAIN"-macro! If you want to be able to use GiGi in Allegro-programs, run configure with the '--disable-allegro-hack' option.
Generating libltdl/config.h using libltdl/configure... (cached) ok
Creating GG/Config.h from GG/Config.h.in... ok
Configuration successful... (cached) yes
Copy("GG/ltdl.h", "libltdl/ltdl.h")
Copy("GG/ltdl_config.h", "libltdl/config.h")
scons: done reading SConscript files.
scons: Building targets ...
(stuff deleted)
g++ -o src/Texture.os -c -pthread -Wall -O2 -fPIC -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Texture.cpp
In file included from src/Texture.cpp:29:
/usr/include/IL/il.h:497: error: '<anonymous>' has incomplete type
/usr/include/IL/il.h:497: error: invalid use of 'ILvoid'
/usr/include/IL/il.h:498: error: '<anonymous>' has incomplete type
/usr/include/IL/il.h:498: error: invalid use of 'ILvoid'
/usr/include/IL/il.h:505: error: '<anonymous>' has incomplete type

(Stuff Deleted)

/usr/include/IL/ilut.h:106: error: '<anonymous>' has incomplete type
/usr/include/IL/ilut.h:106: error: invalid use of 'ILvoid'
/usr/include/IL/ilut.h:109: error: '<anonymous>' has incomplete type
/usr/include/IL/ilut.h:109: error: invalid use of 'ILvoid'
In file included from src/Texture.cpp:55:

(More Stuff Erased - Call me Richard Nixon)

/usr/include/IL/ilut.h:178: error: invalid use of 'ILvoid'
In file included from /usr/include/allegro.h:71,
                 from /usr/include/IL/ilut.h:188,
                 from src/Texture.cpp:55:
/usr/include/allegro/fix.h:92: error: declaration of C function 'fix operator+(fix, int)' conflicts with
/usr/include/allegro/fix.h:91: error: previous declaration 'fix operator+(fix, fix)' here
/usr/include/allegro/fix.h:93: error: declaration of C function 'fix operator+(int, fix)' conflicts with
/usr/include/allegro/fix.h:92: error: previous declaration 'fix operator+(fix, int)' here
/usr/include/allegro/fix.h:94: error: declaration of C function 'fix operator+(fix, long int)' conflicts with
/usr/include/allegro/fix.h:93: error: previous declaration 'fix operator+(int, fix)' here
/usr/include/allegro/fix.h:95: error: declaration of C function 'fix operator+(long int, fix)' conflicts with
/usr/include/allegro/fix.h:94: error: previous declaration 'fix operator+(fix, long int)' here
/usr/include/allegro/fix.h:96: error: declaration of C function 'fix operator+(fix, float)' conflicts with
/usr/include/allegro/fix.h:95: error: previous declaration 'fix operator+(long int, fix)' here
/usr/include/allegro/fix.h:97: error: declaration of C function 'fix operator+(float, fix)' conflicts with
/usr/include/allegro/fix.h:96: error: previous declaration 'fix operator+(fix, float)' here
/usr/include/allegro/fix.h:98: error: declaration of C function 'fix operator+(fix, double)' conflicts with
/usr/include/allegro/fix.h:97: error: previous declaration 'fix operator+(float, fix)' here
/usr/include/allegro/fix.h:99: error: declaration of C function 'fix operator+(double, fix)' conflicts with
/usr/include/allegro/fix.h:98: error: previous declaration 'fix operator+(fix, double)' here
/usr/include/allegro/fix.h:102: error: declaration of C function 'fix operator-(fix, int)' conflicts with
/usr/include/allegro/fix.h:101: error: previous declaration 'fix operator-(fix, fix)' here
/usr/include/allegro/fix.h:103: error: declaration of C function 'fix operator-(int, fix)' conflicts with
/usr/include/allegro/fix.h:102: error: previous declaration 'fix operator-(fix, int)' here
/usr/include/allegro/fix.h:104: error: declaration of C function 'fix operator-(fix, long int)' conflicts with
/usr/include/allegro/fix.h:103: error: previous declaration 'fix operator-(int, fix)' here
/usr/include/allegro/fix.h:105: error: declaration of C function 'fix operator-(long int, fix)' conflicts with
/usr/include/allegro/fix.h:104: error: previous declaration 'fix operator-(fix, long int)' here
/usr/include/allegro/fix.h:106: error: declaration of C function 'fix operator-(fix, float)' conflicts with
/usr/include/allegro/fix.h:105: error: previous declaration 'fix operator-(long int, fix)' here
/usr/include/allegro/fix.h:107: error: declaration of C function 'fix operator-(float, fix)' conflicts with
/usr/include/allegro/fix.h:106: error: previous declaration 'fix operator-(fix, float)' here
/usr/include/allegro/fix.h:108: error: declaration of C function 'fix operator-(fix, double)' conflicts with
/usr/include/allegro/fix.h:107: error: previous declaration 'fix operator-(float, fix)' here
/usr/include/allegro/fix.h:109: error: declaration of C function 'fix operator-(double, fix)' conflicts with
/usr/include/allegro/fix.h:108: error: previous declaration 'fix operator-(fix, double)' here
/usr/include/allegro/fix.h:112: error: declaration of C function 'fix operator*(fix, int)' conflicts with
/usr/include/allegro/fix.h:111: error: previous declaration 'fix operator*(fix, fix)' here
/usr/include/allegro/fix.h:113: error: declaration of C function 'fix operator*(int, fix)' conflicts with
/usr/include/allegro/fix.h:112: error: previous declaration 'fix operator*(fix, int)' here
/usr/include/allegro/fix.h:114: error: declaration of C function 'fix operator*(fix, long int)' conflicts with
/usr/include/allegro/fix.h:113: error: previous declaration 'fix operator*(int, fix)' here
/usr/include/allegro/fix.h:115: error: declaration of C function 'fix operator*(long int, fix)' conflicts with
/usr/include/allegro/fix.h:114: error: previous declaration 'fix operator*(fix, long int)' here
/usr/include/allegro/fix.h:116: error: declaration of C function 'fix operator*(fix, float)' conflicts with
/usr/include/allegro/fix.h:115: error: previous declaration 'fix operator*(long int, fix)' here
/usr/include/allegro/fix.h:117: error: declaration of C function 'fix operator*(float, fix)' conflicts with
/usr/include/allegro/fix.h:116: error: previous declaration 'fix operator*(fix, float)' here
/usr/include/allegro/fix.h:118: error: declaration of C function 'fix operator*(fix, double)' conflicts with
/usr/include/allegro/fix.h:117: error: previous declaration 'fix operator*(float, fix)' here
/usr/include/allegro/fix.h:119: error: declaration of C function 'fix operator*(double, fix)' conflicts with
/usr/include/allegro/fix.h:118: error: previous declaration 'fix operator*(fix, double)' here
/usr/include/allegro/fix.h:122: error: declaration of C function 'fix operator/(fix, int)' conflicts with
/usr/include/allegro/fix.h:121: error: previous declaration 'fix operator/(fix, fix)' here
/usr/include/allegro/fix.h:123: error: declaration of C function 'fix operator/(int, fix)' conflicts with
/usr/include/allegro/fix.h:122: error: previous declaration 'fix operator/(fix, int)' here
/usr/include/allegro/fix.h:124: error: declaration of C function 'fix operator/(fix, long int)' conflicts with
/usr/include/allegro/fix.h:123: error: previous declaration 'fix operator/(int, fix)' here
/usr/include/allegro/fix.h:125: error: declaration of C function 'fix operator/(long int, fix)' conflicts with
/usr/include/allegro/fix.h:124: error: previous declaration 'fix operator/(fix, long int)' here
/usr/include/allegro/fix.h:126: error: declaration of C function 'fix operator/(fix, float)' conflicts with
/usr/include/allegro/fix.h:125: error: previous declaration 'fix operator/(long int, fix)' here
/usr/include/allegro/fix.h:127: error: declaration of C function 'fix operator/(float, fix)' conflicts with
/usr/include/allegro/fix.h:126: error: previous declaration 'fix operator/(fix, float)' here
/usr/include/allegro/fix.h:128: error: declaration of C function 'fix operator/(fix, double)' conflicts with
/usr/include/allegro/fix.h:127: error: previous declaration 'fix operator/(float, fix)' here
/usr/include/allegro/fix.h:129: error: declaration of C function 'fix operator/(double, fix)' conflicts with
/usr/include/allegro/fix.h:128: error: previous declaration 'fix operator/(fix, double)' here
/usr/include/allegro/fix.h:135: error: declaration of C function 'int operator==(fix, int)' conflicts with
/usr/include/allegro/fix.h:134: error: previous declaration 'int operator==(fix, fix)' here
/usr/include/allegro/fix.h:136: error: declaration of C function 'int operator==(int, fix)' conflicts with
/usr/include/allegro/fix.h:135: error: previous declaration 'int operator==(fix, int)' here
/usr/include/allegro/fix.h:137: error: declaration of C function 'int operator==(fix, long int)' conflicts with
/usr/include/allegro/fix.h:136: error: previous declaration 'int operator==(int, fix)' here
/usr/include/allegro/fix.h:138: error: declaration of C function 'int operator==(long int, fix)' conflicts with
/usr/include/allegro/fix.h:137: error: previous declaration 'int operator==(fix, long int)' here
/usr/include/allegro/fix.h:139: error: declaration of C function 'int operator==(fix, float)' conflicts with
/usr/include/allegro/fix.h:138: error: previous declaration 'int operator==(long int, fix)' here
/usr/include/allegro/fix.h:140: error: declaration of C function 'int operator==(float, fix)' conflicts with
/usr/include/allegro/fix.h:139: error: previous declaration 'int operator==(fix, float)' here
/usr/include/allegro/fix.h:141: error: declaration of C function 'int operator==(fix, double)' conflicts with
/usr/include/allegro/fix.h:140: error: previous declaration 'int operator==(float, fix)' here
/usr/include/allegro/fix.h:142: error: declaration of C function 'int operator==(double, fix)' conflicts with
/usr/include/allegro/fix.h:141: error: previous declaration 'int operator==(fix, double)' here
/usr/include/allegro/fix.h:145: error: declaration of C function 'int operator!=(fix, int)' conflicts with
/usr/include/allegro/fix.h:144: error: previous declaration 'int operator!=(fix, fix)' here
/usr/include/allegro/fix.h:146: error: declaration of C function 'int operator!=(int, fix)' conflicts with
/usr/include/allegro/fix.h:145: error: previous declaration 'int operator!=(fix, int)' here
/usr/include/allegro/fix.h:147: error: declaration of C function 'int operator!=(fix, long int)' conflicts with
/usr/include/allegro/fix.h:146: error: previous declaration 'int operator!=(int, fix)' here
/usr/include/allegro/fix.h:148: error: declaration of C function 'int operator!=(long int, fix)' conflicts with
/usr/include/allegro/fix.h:147: error: previous declaration 'int operator!=(fix, long int)' here
/usr/include/allegro/fix.h:149: error: declaration of C function 'int operator!=(fix, float)' conflicts with
/usr/include/allegro/fix.h:148: error: previous declaration 'int operator!=(long int, fix)' here
/usr/include/allegro/fix.h:150: error: declaration of C function 'int operator!=(float, fix)' conflicts with
/usr/include/allegro/fix.h:149: error: previous declaration 'int operator!=(fix, float)' here
/usr/include/allegro/fix.h:151: error: declaration of C function 'int operator!=(fix, double)' conflicts with
/usr/include/allegro/fix.h:150: error: previous declaration 'int operator!=(float, fix)' here
/usr/include/allegro/fix.h:152: error: declaration of C function 'int operator!=(double, fix)' conflicts with
/usr/include/allegro/fix.h:151: error: previous declaration 'int operator!=(fix, double)' here
/usr/include/allegro/fix.h:155: error: declaration of C function 'int operator<(fix, int)' conflicts with
/usr/include/allegro/fix.h:154: error: previous declaration 'int operator<(fix, fix)' here
/usr/include/allegro/fix.h:156: error: declaration of C function 'int operator<(int, fix)' conflicts with
/usr/include/allegro/fix.h:155: error: previous declaration 'int operator<(fix, int)' here
/usr/include/allegro/fix.h:157: error: declaration of C function 'int operator<(fix, long int)' conflicts with
/usr/include/allegro/fix.h:156: error: previous declaration 'int operator<(int, fix)' here

(More stuff deleted)

/usr/include/allegro/fix.h:191: error: previous declaration 'int operator>=(fix, double)' here
In file included from /usr/include/allegro/fix.h:206,
                 from /usr/include/allegro.h:71,
                 from /usr/include/IL/ilut.h:188,
                 from src/Texture.cpp:55:
/usr/include/allegro/inline/fix.inl: In function 'fix operator+(fix, fix)':
/usr/include/allegro/inline/fix.inl:25: error: declaration of C function 'fix operator+(fix, fix)' conflicts with
/usr/include/allegro/fix.h:99: error: previous declaration 'fix operator+(double, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator+(fix, int)':
/usr/include/allegro/inline/fix.inl:26: error: declaration of C function 'fix operator+(fix, int)' conflicts with
/usr/include/allegro/inline/fix.inl:25: error: previous declaration 'fix operator+(fix, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator+(int, fix)':
/usr/include/allegro/inline/fix.inl:27: error: declaration of C function 'fix operator+(int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:26: error: previous declaration 'fix operator+(fix, int)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator+(fix, long int)':
/usr/include/allegro/inline/fix.inl:28: error: declaration of C function 'fix operator+(fix, long int)' conflicts with
/usr/include/allegro/inline/fix.inl:27: error: previous declaration 'fix operator+(int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator+(long int, fix)':
/usr/include/allegro/inline/fix.inl:29: error: declaration of C function 'fix operator+(long int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:28: error: previous declaration 'fix operator+(fix, long int)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator+(fix, float)':
/usr/include/allegro/inline/fix.inl:30: error: declaration of C function 'fix operator+(fix, float)' conflicts with
/usr/include/allegro/inline/fix.inl:29: error: previous declaration 'fix operator+(long int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator+(float, fix)':
/usr/include/allegro/inline/fix.inl:31: error: declaration of C function 'fix operator+(float, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:30: error: previous declaration 'fix operator+(fix, float)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator+(fix, double)':
/usr/include/allegro/inline/fix.inl:32: error: declaration of C function 'fix operator+(fix, double)' conflicts with
/usr/include/allegro/inline/fix.inl:31: error: previous declaration 'fix operator+(float, fix)' here
/usr/include/allegro/inline/fix.inl:33: error: declaration of C function 'fix operator+(double, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:32: error: previous declaration 'fix operator+(fix, double)' here
/usr/include/allegro/inline/fix.inl:35: error: declaration of C function 'fix operator-(fix, fix)' conflicts with
/usr/include/allegro/fix.h:109: error: previous declaration 'fix operator-(double, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator-(fix, int)':
/usr/include/allegro/inline/fix.inl:36: error: declaration of C function 'fix operator-(fix, int)' conflicts with
/usr/include/allegro/inline/fix.inl:35: error: previous declaration 'fix operator-(fix, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator-(int, fix)':
/usr/include/allegro/inline/fix.inl:37: error: declaration of C function 'fix operator-(int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:36: error: previous declaration 'fix operator-(fix, int)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator-(fix, long int)':
/usr/include/allegro/inline/fix.inl:38: error: declaration of C function 'fix operator-(fix, long int)' conflicts with
/usr/include/allegro/inline/fix.inl:37: error: previous declaration 'fix operator-(int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator-(long int, fix)':
/usr/include/allegro/inline/fix.inl:39: error: declaration of C function 'fix operator-(long int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:38: error: previous declaration 'fix operator-(fix, long int)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator-(fix, float)':
/usr/include/allegro/inline/fix.inl:40: error: declaration of C function 'fix operator-(fix, float)' conflicts with
/usr/include/allegro/inline/fix.inl:39: error: previous declaration 'fix operator-(long int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator-(float, fix)':
/usr/include/allegro/inline/fix.inl:41: error: declaration of C function 'fix operator-(float, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:40: error: previous declaration 'fix operator-(fix, float)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator-(fix, double)':
/usr/include/allegro/inline/fix.inl:42: error: declaration of C function 'fix operator-(fix, double)' conflicts with
/usr/include/allegro/inline/fix.inl:41: error: previous declaration 'fix operator-(float, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator-(double, fix)':
/usr/include/allegro/inline/fix.inl:43: error: declaration of C function 'fix operator-(double, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:42: error: previous declaration 'fix operator-(fix, double)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(fix, fix)':
/usr/include/allegro/inline/fix.inl:45: error: declaration of C function 'fix operator*(fix, fix)' conflicts with
/usr/include/allegro/fix.h:119: error: previous declaration 'fix operator*(double, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(fix, int)':
/usr/include/allegro/inline/fix.inl:46: error: declaration of C function 'fix operator*(fix, int)' conflicts with
/usr/include/allegro/inline/fix.inl:45: error: previous declaration 'fix operator*(fix, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(int, fix)':
/usr/include/allegro/inline/fix.inl:47: error: declaration of C function 'fix operator*(int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:46: error: previous declaration 'fix operator*(fix, int)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(fix, long int)':
/usr/include/allegro/inline/fix.inl:48: error: declaration of C function 'fix operator*(fix, long int)' conflicts with
/usr/include/allegro/inline/fix.inl:47: error: previous declaration 'fix operator*(int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(long int, fix)':
/usr/include/allegro/inline/fix.inl:49: error: declaration of C function 'fix operator*(long int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:48: error: previous declaration 'fix operator*(fix, long int)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(fix, float)':
/usr/include/allegro/inline/fix.inl:50: error: declaration of C function 'fix operator*(fix, float)' conflicts with
/usr/include/allegro/inline/fix.inl:49: error: previous declaration 'fix operator*(long int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(fix, long int)':
/usr/include/allegro/inline/fix.inl:51: error: declaration of C function 'fix operator*(float, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:50: error: previous declaration 'fix operator*(fix, float)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(long int, fix)':
/usr/include/allegro/inline/fix.inl:52: error: declaration of C function 'fix operator*(fix, double)' conflicts with
/usr/include/allegro/inline/fix.inl:51: error: previous declaration 'fix operator*(float, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(fix, float)':
/usr/include/allegro/inline/fix.inl:53: error: declaration of C function 'fix operator*(double, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:52: error: previous declaration 'fix operator*(fix, double)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(fix, long int)':
/usr/include/allegro/inline/fix.inl:55: error: declaration of C function 'fix operator/(fix, fix)' conflicts with
/usr/include/allegro/fix.h:129: error: previous declaration 'fix operator/(double, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(fix, float)':
/usr/include/allegro/inline/fix.inl:56: error: declaration of C function 'fix operator/(fix, int)' conflicts with
/usr/include/allegro/inline/fix.inl:55: error: previous declaration 'fix operator/(fix, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'fix operator*(fix, long int)':
/usr/include/allegro/inline/fix.inl:57: error: declaration of C function 'fix operator/(int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:56: error: previous declaration 'fix operator/(fix, int)' here
/usr/include/allegro/inline/fix.inl:58: error: declaration of C function 'fix operator/(fix, long int)' conflicts with
/usr/include/allegro/inline/fix.inl:57: error: previous declaration 'fix operator/(int, fix)' here
/usr/include/allegro/inline/fix.inl:59: error: declaration of C function 'fix operator/(long int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:58: error: previous declaration 'fix operator/(fix, long int)' here
/usr/include/allegro/inline/fix.inl:60: error: declaration of C function 'fix operator/(fix, float)' conflicts with
/usr/include/allegro/inline/fix.inl:59: error: previous declaration 'fix operator/(long int, fix)' here
/usr/include/allegro/inline/fix.inl:61: error: declaration of C function 'fix operator/(float, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:60: error: previous declaration 'fix operator/(fix, float)' here
/usr/include/allegro/inline/fix.inl:62: error: declaration of C function 'fix operator/(fix, double)' conflicts with
/usr/include/allegro/inline/fix.inl:61: error: previous declaration 'fix operator/(float, fix)' here
/usr/include/allegro/inline/fix.inl:63: error: declaration of C function 'fix operator/(double, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:62: error: previous declaration 'fix operator/(fix, double)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator==(fix, fix)':
/usr/include/allegro/inline/fix.inl:68: error: declaration of C function 'int operator==(fix, fix)' conflicts with
/usr/include/allegro/fix.h:142: error: previous declaration 'int operator==(double, fix)' here
/usr/include/allegro/inline/fix.inl:69: error: declaration of C function 'int operator==(fix, int)' conflicts with
/usr/include/allegro/inline/fix.inl:68: error: previous declaration 'int operator==(fix, fix)' here
/usr/include/allegro/inline/fix.inl:70: error: declaration of C function 'int operator==(int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:69: error: previous declaration 'int operator==(fix, int)' here
/usr/include/allegro/inline/fix.inl:71: error: declaration of C function 'int operator==(fix, long int)' conflicts with
/usr/include/allegro/inline/fix.inl:70: error: previous declaration 'int operator==(int, fix)' here
/usr/include/allegro/inline/fix.inl:72: error: declaration of C function 'int operator==(long int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:71: error: previous declaration 'int operator==(fix, long int)' here
/usr/include/allegro/inline/fix.inl:73: error: declaration of C function 'int operator==(fix, float)' conflicts with
/usr/include/allegro/inline/fix.inl:72: error: previous declaration 'int operator==(long int, fix)' here
/usr/include/allegro/inline/fix.inl:74: error: declaration of C function 'int operator==(float, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:73: error: previous declaration 'int operator==(fix, float)' here
/usr/include/allegro/inline/fix.inl:75: error: declaration of C function 'int operator==(fix, double)' conflicts with
/usr/include/allegro/inline/fix.inl:74: error: previous declaration 'int operator==(float, fix)' here
/usr/include/allegro/inline/fix.inl:76: error: declaration of C function 'int operator==(double, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:75: error: previous declaration 'int operator==(fix, double)' here
/usr/include/allegro/inline/fix.inl:78: error: declaration of C function 'int operator!=(fix, fix)' conflicts with
/usr/include/allegro/fix.h:152: error: previous declaration 'int operator!=(double, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator!=(fix, int)':
/usr/include/allegro/inline/fix.inl:79: error: declaration of C function 'int operator!=(fix, int)' conflicts with
/usr/include/allegro/inline/fix.inl:78: error: previous declaration 'int operator!=(fix, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator!=(int, fix)':
/usr/include/allegro/inline/fix.inl:80: error: declaration of C function 'int operator!=(int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:79: error: previous declaration 'int operator!=(fix, int)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator!=(fix, long int)':
/usr/include/allegro/inline/fix.inl:81: error: declaration of C function 'int operator!=(fix, long int)' conflicts with
/usr/include/allegro/inline/fix.inl:80: error: previous declaration 'int operator!=(int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator!=(long int, fix)':
/usr/include/allegro/inline/fix.inl:82: error: declaration of C function 'int operator!=(long int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:81: error: previous declaration 'int operator!=(fix, long int)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator!=(fix, float)':
/usr/include/allegro/inline/fix.inl:83: error: declaration of C function 'int operator!=(fix, float)' conflicts with
/usr/include/allegro/inline/fix.inl:82: error: previous declaration 'int operator!=(long int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator!=(float, fix)':
/usr/include/allegro/inline/fix.inl:84: error: declaration of C function 'int operator!=(float, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:83: error: previous declaration 'int operator!=(fix, float)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator!=(fix, double)':
/usr/include/allegro/inline/fix.inl:85: error: declaration of C function 'int operator!=(fix, double)' conflicts with
/usr/include/allegro/inline/fix.inl:84: error: previous declaration 'int operator!=(float, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator!=(double, fix)':
/usr/include/allegro/inline/fix.inl:86: error: declaration of C function 'int operator!=(double, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:85: error: previous declaration 'int operator!=(fix, double)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<(fix, fix)':
/usr/include/allegro/inline/fix.inl:88: error: declaration of C function 'int operator<(fix, fix)' conflicts with
/usr/include/allegro/fix.h:162: error: previous declaration 'int operator<(double, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<(fix, int)':
/usr/include/allegro/inline/fix.inl:89: error: declaration of C function 'int operator<(fix, int)' conflicts with
/usr/include/allegro/inline/fix.inl:88: error: previous declaration 'int operator<(fix, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<(int, fix)':
/usr/include/allegro/inline/fix.inl:90: error: declaration of C function 'int operator<(int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:89: error: previous declaration 'int operator<(fix, int)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<(fix, long int)':
/usr/include/allegro/inline/fix.inl:91: error: declaration of C function 'int operator<(fix, long int)' conflicts with
/usr/include/allegro/inline/fix.inl:90: error: previous declaration 'int operator<(int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<(long int, fix)':
/usr/include/allegro/inline/fix.inl:92: error: declaration of C function 'int operator<(long int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:91: error: previous declaration 'int operator<(fix, long int)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<(fix, float)':
/usr/include/allegro/inline/fix.inl:93: error: declaration of C function 'int operator<(fix, float)' conflicts with
/usr/include/allegro/inline/fix.inl:92: error: previous declaration 'int operator<(long int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<(float, fix)':
/usr/include/allegro/inline/fix.inl:94: error: declaration of C function 'int operator<(float, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:93: error: previous declaration 'int operator<(fix, float)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<(fix, double)':
/usr/include/allegro/inline/fix.inl:95: error: declaration of C function 'int operator<(fix, double)' conflicts with
/usr/include/allegro/inline/fix.inl:94: error: previous declaration 'int operator<(float, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<(double, fix)':
/usr/include/allegro/inline/fix.inl:96: error: declaration of C function 'int operator<(double, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:95: error: previous declaration 'int operator<(fix, double)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>(fix, fix)':
/usr/include/allegro/inline/fix.inl:98: error: declaration of C function 'int operator>(fix, fix)' conflicts with
/usr/include/allegro/fix.h:172: error: previous declaration 'int operator>(double, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>(fix, int)':
/usr/include/allegro/inline/fix.inl:99: error: declaration of C function 'int operator>(fix, int)' conflicts with
/usr/include/allegro/inline/fix.inl:98: error: previous declaration 'int operator>(fix, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>(int, fix)':
/usr/include/allegro/inline/fix.inl:100: error: declaration of C function 'int operator>(int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:99: error: previous declaration 'int operator>(fix, int)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>(fix, long int)':
/usr/include/allegro/inline/fix.inl:101: error: declaration of C function 'int operator>(fix, long int)' conflicts with
/usr/include/allegro/inline/fix.inl:100: error: previous declaration 'int operator>(int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>(long int, fix)':
/usr/include/allegro/inline/fix.inl:102: error: declaration of C function 'int operator>(long int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:101: error: previous declaration 'int operator>(fix, long int)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>(fix, float)':
/usr/include/allegro/inline/fix.inl:103: error: declaration of C function 'int operator>(fix, float)' conflicts with
/usr/include/allegro/inline/fix.inl:102: error: previous declaration 'int operator>(long int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>(float, fix)':
/usr/include/allegro/inline/fix.inl:104: error: declaration of C function 'int operator>(float, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:103: error: previous declaration 'int operator>(fix, float)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>(fix, double)':
/usr/include/allegro/inline/fix.inl:105: error: declaration of C function 'int operator>(fix, double)' conflicts with
/usr/include/allegro/inline/fix.inl:104: error: previous declaration 'int operator>(float, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>(double, fix)':
/usr/include/allegro/inline/fix.inl:106: error: declaration of C function 'int operator>(double, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:105: error: previous declaration 'int operator>(fix, double)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<=(fix, fix)':
/usr/include/allegro/inline/fix.inl:108: error: declaration of C function 'int operator<=(fix, fix)' conflicts with
/usr/include/allegro/fix.h:182: error: previous declaration 'int operator<=(double, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<=(fix, int)':
/usr/include/allegro/inline/fix.inl:109: error: declaration of C function 'int operator<=(fix, int)' conflicts with
/usr/include/allegro/inline/fix.inl:108: error: previous declaration 'int operator<=(fix, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<=(int, fix)':
/usr/include/allegro/inline/fix.inl:110: error: declaration of C function 'int operator<=(int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:109: error: previous declaration 'int operator<=(fix, int)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<=(fix, long int)':
/usr/include/allegro/inline/fix.inl:111: error: declaration of C function 'int operator<=(fix, long int)' conflicts with
/usr/include/allegro/inline/fix.inl:110: error: previous declaration 'int operator<=(int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<=(long int, fix)':
/usr/include/allegro/inline/fix.inl:112: error: declaration of C function 'int operator<=(long int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:111: error: previous declaration 'int operator<=(fix, long int)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<=(fix, float)':
/usr/include/allegro/inline/fix.inl:113: error: declaration of C function 'int operator<=(fix, float)' conflicts with
/usr/include/allegro/inline/fix.inl:112: error: previous declaration 'int operator<=(long int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<=(float, fix)':
/usr/include/allegro/inline/fix.inl:114: error: declaration of C function 'int operator<=(float, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:113: error: previous declaration 'int operator<=(fix, float)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<=(fix, double)':
/usr/include/allegro/inline/fix.inl:115: error: declaration of C function 'int operator<=(fix, double)' conflicts with
/usr/include/allegro/inline/fix.inl:114: error: previous declaration 'int operator<=(float, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator<=(double, fix)':
/usr/include/allegro/inline/fix.inl:116: error: declaration of C function 'int operator<=(double, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:115: error: previous declaration 'int operator<=(fix, double)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>=(fix, fix)':
/usr/include/allegro/inline/fix.inl:118: error: declaration of C function 'int operator>=(fix, fix)' conflicts with
/usr/include/allegro/fix.h:192: error: previous declaration 'int operator>=(double, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>=(fix, int)':
/usr/include/allegro/inline/fix.inl:119: error: declaration of C function 'int operator>=(fix, int)' conflicts with
/usr/include/allegro/inline/fix.inl:118: error: previous declaration 'int operator>=(fix, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>=(int, fix)':
/usr/include/allegro/inline/fix.inl:120: error: declaration of C function 'int operator>=(int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:119: error: previous declaration 'int operator>=(fix, int)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>=(fix, long int)':
/usr/include/allegro/inline/fix.inl:121: error: declaration of C function 'int operator>=(fix, long int)' conflicts with
/usr/include/allegro/inline/fix.inl:120: error: previous declaration 'int operator>=(int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>=(long int, fix)':
/usr/include/allegro/inline/fix.inl:122: error: declaration of C function 'int operator>=(long int, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:121: error: previous declaration 'int operator>=(fix, long int)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>=(fix, float)':
/usr/include/allegro/inline/fix.inl:123: error: declaration of C function 'int operator>=(fix, float)' conflicts with
/usr/include/allegro/inline/fix.inl:122: error: previous declaration 'int operator>=(long int, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>=(float, fix)':
/usr/include/allegro/inline/fix.inl:124: error: declaration of C function 'int operator>=(float, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:123: error: previous declaration 'int operator>=(fix, float)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>=(fix, double)':
/usr/include/allegro/inline/fix.inl:125: error: declaration of C function 'int operator>=(fix, double)' conflicts with
/usr/include/allegro/inline/fix.inl:124: error: previous declaration 'int operator>=(float, fix)' here
/usr/include/allegro/inline/fix.inl: In function 'int operator>=(double, fix)':
/usr/include/allegro/inline/fix.inl:126: error: declaration of C function 'int operator>=(double, fix)' conflicts with
/usr/include/allegro/inline/fix.inl:125: error: previous declaration 'int operator>=(fix, double)' here
/usr/include/allegro/inline/fix.inl: In function 'void get_translation_matrix(MATRIX*, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:138: error: declaration of C function 'void get_translation_matrix(MATRIX*, fix, fix, fix)' conflicts with
/usr/include/allegro/matrix.h:47: error: previous declaration 'void get_translation_matrix(MATRIX*, fixed, fixed, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void get_translation_matrix(MATRIX*, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:140: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void get_scaling_matrix(MATRIX*, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:144: error: declaration of C function 'void get_scaling_matrix(MATRIX*, fix, fix, fix)' conflicts with
/usr/include/allegro/matrix.h:50: error: previous declaration 'void get_scaling_matrix(MATRIX*, fixed, fixed, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void get_scaling_matrix(MATRIX*, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:146: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void get_x_rotate_matrix(MATRIX*, fix)':
/usr/include/allegro/inline/fix.inl:150: error: declaration of C function 'void get_x_rotate_matrix(MATRIX*, fix)' conflicts with
/usr/include/allegro/matrix.h:53: error: previous declaration 'void get_x_rotate_matrix(MATRIX*, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void get_x_rotate_matrix(MATRIX*, fix)':
/usr/include/allegro/inline/fix.inl:152: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void get_y_rotate_matrix(MATRIX*, fix)':
/usr/include/allegro/inline/fix.inl:156: error: declaration of C function 'void get_y_rotate_matrix(MATRIX*, fix)' conflicts with
/usr/include/allegro/matrix.h:56: error: previous declaration 'void get_y_rotate_matrix(MATRIX*, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void get_y_rotate_matrix(MATRIX*, fix)':
/usr/include/allegro/inline/fix.inl:158: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void get_z_rotate_matrix(MATRIX*, fix)':
/usr/include/allegro/inline/fix.inl:162: error: declaration of C function 'void get_z_rotate_matrix(MATRIX*, fix)' conflicts with
/usr/include/allegro/matrix.h:59: error: previous declaration 'void get_z_rotate_matrix(MATRIX*, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void get_z_rotate_matrix(MATRIX*, fix)':
/usr/include/allegro/inline/fix.inl:164: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void get_rotation_matrix(MATRIX*, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:168: error: declaration of C function 'void get_rotation_matrix(MATRIX*, fix, fix, fix)' conflicts with
/usr/include/allegro/matrix.h:62: error: previous declaration 'void get_rotation_matrix(MATRIX*, fixed, fixed, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void get_rotation_matrix(MATRIX*, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:170: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void get_align_matrix(MATRIX*, fix, fix, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:174: error: declaration of C function 'void get_align_matrix(MATRIX*, fix, fix, fix, fix, fix, fix)' conflicts with
/usr/include/allegro/matrix.h:65: error: previous declaration 'void get_align_matrix(MATRIX*, fixed, fixed, fixed, fixed, fixed, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void get_align_matrix(MATRIX*, fix, fix, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:176: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void get_vector_rotation_matrix(MATRIX*, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:180: error: declaration of C function 'void get_vector_rotation_matrix(MATRIX*, fix, fix, fix, fix)' conflicts with
/usr/include/allegro/matrix.h:68: error: previous declaration 'void get_vector_rotation_matrix(MATRIX*, fixed, fixed, fixed, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void get_vector_rotation_matrix(MATRIX*, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:182: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void get_transformation_matrix(MATRIX*, fix, fix, fix, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:186: error: declaration of C function 'void get_transformation_matrix(MATRIX*, fix, fix, fix, fix, fix, fix, fix)' conflicts with
/usr/include/allegro/matrix.h:71: error: previous declaration 'void get_transformation_matrix(MATRIX*, fixed, fixed, fixed, fixed, fixed, fixed, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void get_transformation_matrix(MATRIX*, fix, fix, fix, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:188: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void get_camera_matrix(MATRIX*, fix, fix, fix, fix, fix, fix, fix, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:192: error: declaration of C function 'void get_camera_matrix(MATRIX*, fix, fix, fix, fix, fix, fix, fix, fix, fix, fix, fix)' conflicts with
/usr/include/allegro/matrix.h:74: error: previous declaration 'void get_camera_matrix(MATRIX*, fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void get_camera_matrix(MATRIX*, fix, fix, fix, fix, fix, fix, fix, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:194: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void qtranslate_matrix(MATRIX*, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:198: error: declaration of C function 'void qtranslate_matrix(MATRIX*, fix, fix, fix)' conflicts with
/usr/include/allegro/matrix.h:77: error: previous declaration 'void qtranslate_matrix(MATRIX*, fixed, fixed, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void qtranslate_matrix(MATRIX*, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:200: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void qscale_matrix(MATRIX*, fix)':
/usr/include/allegro/inline/fix.inl:204: error: declaration of C function 'void qscale_matrix(MATRIX*, fix)' conflicts with
/usr/include/allegro/matrix.h:80: error: previous declaration 'void qscale_matrix(MATRIX*, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'void qscale_matrix(MATRIX*, fix)':
/usr/include/allegro/inline/fix.inl:206: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'fix vector_length(fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:210: error: declaration of C function 'fix vector_length(fix, fix, fix)' conflicts with
/usr/include/allegro/3dmaths.h:32: error: previous declaration 'fixed vector_length(fixed, fixed, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'fix vector_length(fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:213: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'void normalize_vector(fix*, fix*, fix*)':
/usr/include/allegro/inline/fix.inl:218: error: declaration of C function 'void normalize_vector(fix*, fix*, fix*)' conflicts with
/usr/include/allegro/3dmaths.h:35: error: previous declaration 'void normalize_vector(fixed*, fixed*, fixed*)' here
/usr/include/allegro/inline/fix.inl: In function 'void normalize_vector(fix*, fix*, fix*)':
/usr/include/allegro/inline/fix.inl:220: error: cannot convert 'fixed*' to 'fix*' for argument '1' to 'void normalize_vector(fix*, fix*, fix*)'
/usr/include/allegro/inline/fix.inl: In function 'void cross_product(fix, fix, fix, fix, fix, fix, fix*, fix*, fix*)':
/usr/include/allegro/inline/fix.inl:224: error: declaration of C function 'void cross_product(fix, fix, fix, fix, fix, fix, fix*, fix*, fix*)' conflicts with
/usr/include/allegro/3dmaths.h:38: error: previous declaration 'void cross_product(fixed, fixed, fixed, fixed, fixed, fixed, fixed*, fixed*, fixed*)' here
/usr/include/allegro/inline/fix.inl: In function 'void cross_product(fix, fix, fix, fix, fix, fix, fix*, fix*, fix*)':
/usr/include/allegro/inline/fix.inl:226: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'fix dot_product(fix, fix, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:230: error: declaration of C function 'fix dot_product(fix, fix, fix, fix, fix, fix)' conflicts with
/usr/include/allegro/inline/3dmaths.inl:27: error: previous declaration 'fixed dot_product(fixed, fixed, fixed, fixed, fixed, fixed)' here
/usr/include/allegro/inline/fix.inl: In function 'fix dot_product(fix, fix, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:233: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'fix dot_product(fix, fix, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:238: error: declaration of C function 'void apply_matrix(MATRIX*, fix, fix, fix, fix*, fix*, fix*)' conflicts with
/usr/include/allegro/inline/matrix.inl:32: error: previous declaration 'void apply_matrix(MATRIX*, fixed, fixed, fixed, fixed*, fixed*, fixed*)' here
/usr/include/allegro/inline/fix.inl: In function 'void apply_matrix(MATRIX*, fix, fix, fix, fix*, fix*, fix*)':
/usr/include/allegro/inline/fix.inl:240: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/allegro/inline/fix.inl: In function 'fix dot_product(fix, fix, fix, fix, fix, fix)':
/usr/include/allegro/inline/fix.inl:244: error: declaration of C function 'void persp_project(fix, fix, fix, fix*, fix*)' conflicts with
/usr/include/allegro/inline/3dmaths.inl:39: error: previous declaration 'void persp_project(fixed, fixed, fixed, fixed*, fixed*)' here
/usr/include/allegro/inline/fix.inl: In function 'void persp_project(fix, fix, fix, fix*, fix*)':
/usr/include/allegro/inline/fix.inl:246: error: conversion from 'fixed' to non-scalar type 'fix' requested
/usr/include/IL/il.h: In function 'void<unnamed>::CheckILErrors(const std::string&)':
/usr/include/IL/il.h:518: error: too few arguments to function 'ILenum ilGetError(<type error>)'
src/Texture.cpp:75: error: at this point in file
/usr/include/IL/il.h: In member function 'void GG::Texture::Load(const char*, bool)':
/usr/include/IL/il.h:518: error: too few arguments to function 'ILenum ilGetError(<type error>)'
src/Texture.cpp:247: error: at this point in file
/usr/include/IL/ilut.h:174: error: too few arguments to function 'GLuint ilutGLBindMipmaps(<type error>)'
src/Texture.cpp:251: error: at this point in file
/usr/include/IL/il.h:518: error: too few arguments to function 'ILenum ilGetError(<type error>)'
src/Texture.cpp:257: error: at this point in file
/usr/include/IL/il.h: In static member function 'static void GG::TextureManager::InitDevIL()':
/usr/include/IL/il.h:518: error: too few arguments to function 'ILenum ilGetError(<type error>)'
src/Texture.cpp:590: error: at this point in file
/usr/include/IL/il.h:525: error: too few arguments to function 'ILvoid ilInit(<type error>)'
src/Texture.cpp:591: error: at this point in file
/usr/include/IL/ilu.h:160: error: too few arguments to function 'ILvoid iluInit(<type error>)'
src/Texture.cpp:593: error: at this point in file
/usr/include/IL/ilut.h:106: error: too few arguments to function 'ILvoid ilutInit(<type error>)'
src/Texture.cpp:595: error: at this point in file
scons: *** [src/Texture.os] Error 1
scons: building terminated because of errors.

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: Compiling errors

#2 Post by kroddn » Fri Jul 06, 2007 2:34 pm

Hello there,

i used to have some compilation problems on linux machines to. But all could be fixed, but it was hard work. As geofthemedio mentioned, the last few days are very hard ones for "new" people, because the build-dependencies are changed drastically.

Maybe your version of libdevil is to old. On my System, i have installed:

Code: Select all

libdevil-dev 1.6.7-5
And - make sure you use Python2.5. 2.4 wont work!

Code: Select all

python --version
Which linux are you using?

Maybe it would be easier to help you if you join the IRC.

Rumor
Space Krill
Posts: 3
Joined: Fri Jul 06, 2007 2:02 am

Re: Compiling errors

#3 Post by Rumor » Fri Jul 06, 2007 3:18 pm

kroddn wrote:Hello there,

i used to have some compilation problems on linux machines to. But all could be fixed, but it was hard work. As geofthemedio mentioned, the last few days are very hard ones for "new" people, because the build-dependencies are changed drastically.

Maybe your version of libdevil is to old. On my System, i have installed:

Code: Select all

libdevil-dev 1.6.7-5
That's a possibility, I have 1.6.7-4 installed.
kroddn wrote:And - make sure you use Python2.5. 2.4 wont work!

Code: Select all

python --version
I'm good there, 2.5.1
kroddn wrote:Which linux are you using?

Maybe it would be easier to help you if you join the IRC.
Linux I am using is ArchLinux, kernel is 2.6.21.whatever_is_current.
I'm currently at work, accessing my home pc remotely. I'll join IRC when I am home sitting in front of the keyboard as it will be easier for me to keep up :-)

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 12457
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Compiling errors

#4 Post by Geoff the Medio » Fri Jul 06, 2007 4:56 pm

Your DevIL-library is linked with Allegro, and this would require placing an "END_OF_MAIN"-macro after the program's main routine. GG contains a hack to remove this requirement, but it's a dirty hack and might not work. Note that your Allegro programs will crash if you use GiGi and forget the "END_OF_MAIN"-macro! If you want to be able to use GiGi in Allegro-programs, run configure with the '--disable-allegro-hack' option.
Have you tried this? Most of your build errors appear to be problems with DevIL or Allegro, and GG doesn't use Allegro by default.

Alternatively, buidling DevIL without Allegro support might help.

Rumor
Space Krill
Posts: 3
Joined: Fri Jul 06, 2007 2:02 am

Re: Compiling errors

#5 Post by Rumor » Tue Jul 10, 2007 12:40 am

Geoff the Medio wrote:
Your DevIL-library is linked with Allegro, and this would require placing an "END_OF_MAIN"-macro after the program's main routine. GG contains a hack to remove this requirement, but it's a dirty hack and might not work. Note that your Allegro programs will crash if you use GiGi and forget the "END_OF_MAIN"-macro! If you want to be able to use GiGi in Allegro-programs, run configure with the '--disable-allegro-hack' option.
Have you tried this? Most of your build errors appear to be problems with DevIL or Allegro, and GG doesn't use Allegro by default.

Alternatively, buidling DevIL without Allegro support might help.
Ok, I built DevIL from source and scons ran successfully, however, scons install generates a lot of errors:

Code: Select all

scons: Reading SConscript files ...
Using previous successful configuration; if you want to re-run the configuration step, run "scons configure".
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/Texture.os -c -pthread -Wall -O2 -fPIC -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include/freetype2 -I. -Ilibltdl src/Texture.cpp
In file included from src/Texture.cpp:29:
/usr/local/include/IL/il.h:448: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:448: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:449: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:449: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:456: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:456: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:467: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:467: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:469: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:469: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:472: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:472: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:473: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:473: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:476: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:476: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:492: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:492: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:504: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:504: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:505: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:505: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:506: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:506: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h:521: error: '<anonymous>' has incomplete type
/usr/local/include/IL/il.h:521: error: invalid use of 'ILvoid'
In file included from /usr/local/include/IL/ilut.h:21,
                 from src/Texture.cpp:55:
/usr/local/include/IL/ilu.h:125: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:125: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:128: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:128: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:129: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:129: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:134: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:134: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:135: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:135: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:136: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:136: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:137: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:137: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:140: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:140: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:143: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:143: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:145: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:145: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:151: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:151: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:152: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:152: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:154: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:154: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:155: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:155: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilu.h:169: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilu.h:169: error: invalid use of 'ILvoid'
In file included from src/Texture.cpp:55:
/usr/local/include/IL/ilut.h:201: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilut.h:201: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilut.h:204: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilut.h:204: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilut.h:214: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilut.h:214: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilut.h:215: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilut.h:215: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilut.h:217: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilut.h:217: error: invalid use of 'ILvoid'
/usr/local/include/IL/ilut.h:218: error: '<anonymous>' has incomplete type
/usr/local/include/IL/ilut.h:218: error: invalid use of 'ILvoid'
/usr/local/include/IL/il.h: In function 'void<unnamed>::CheckILErrors(const std::string&)':
/usr/local/include/IL/il.h:469: error: too few arguments to function 'ILenum ilGetError(<type error>)'
src/Texture.cpp:75: error: at this point in file
/usr/local/include/IL/il.h: In member function 'void GG::Texture::Load(const char*, bool)':
/usr/local/include/IL/il.h:469: error: too few arguments to function 'ILenum ilGetError(<type error>)'
src/Texture.cpp:247: error: at this point in file
/usr/local/include/IL/ilut.h:214: error: too few arguments to function 'GLuint ilutGLBindMipmaps(<type error>)'
src/Texture.cpp:251: error: at this point in file
/usr/local/include/IL/il.h:469: error: too few arguments to function 'ILenum ilGetError(<type error>)'
src/Texture.cpp:257: error: at this point in file
/usr/local/include/IL/il.h: In static member function 'static void GG::TextureManager::InitDevIL()':
/usr/local/include/IL/il.h:469: error: too few arguments to function 'ILenum ilGetError(<type error>)'
src/Texture.cpp:590: error: at this point in file
/usr/local/include/IL/il.h:476: error: too few arguments to function 'ILvoid ilInit(<type error>)'
src/Texture.cpp:591: error: at this point in file
/usr/local/include/IL/ilu.h:151: error: too few arguments to function 'ILvoid iluInit(<type error>)'
src/Texture.cpp:593: error: at this point in file
/usr/local/include/IL/ilut.h:201: error: too few arguments to function 'ILvoid ilutInit(<type error>)'
src/Texture.cpp:595: error: at this point in file
scons: *** [src/Texture.os] Error 1
scons: building terminated because of errors.
Sorry for the enormous paste.

User avatar
kroddn
Static Linker
Posts: 347
Joined: Thu Jun 28, 2007 10:28 am

Re: Compiling errors

#6 Post by kroddn » Tue Aug 07, 2007 8:42 am

Which version of libdevil are you using? I had these problems too, but changing to a never version made them go away.

Code: Select all

libdevil-dev        1.6.7-5
Look at this:
http://bugs.archlinux.org/task/7573

Post Reply