Aquous
Junior Member
 
Posts: 5
Joined: May 2010
Reputation: 0
|
svn HEAD (rev 1090) does not compile on Linux
... or at least, on my amd64 Gentoo Linux:
Code:
[ 15%] Building CXX object CMakeFiles/fex.dir/fex/fex/Data_Reader.cpp.o
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp: In member function ‘virtual const char* Gzip_File_Reader::read_v(void*, int)’:
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp:735:35: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp:735:35: error: initializing argument 1 of ‘int gzread(gzFile_s*, void*, unsigned int)’
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp:739:35: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp:739:35: error: initializing argument 1 of ‘const char* convert_gz_error(gzFile_s*)’
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp: In member function ‘virtual const char* Gzip_File_Reader::seek_v(int)’:
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp:749:27: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp:749:27: error: initializing argument 1 of ‘off_t gzseek(gzFile_s*, off_t, int)’
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp:750:34: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp:750:34: error: initializing argument 1 of ‘const char* convert_gz_error(gzFile_s*)’
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp: In member function ‘void Gzip_File_Reader::close()’:
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp:759:23: error: invalid conversion from ‘void*’ to ‘gzFile_s*’
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/fex/fex/Data_Reader.cpp:759:23: error: initializing argument 1 of ‘int gzclose(gzFile_s*)’
make[2]: *** [CMakeFiles/fex.dir/fex/fex/Data_Reader.cpp.o] Error 1
I'm not a programmer so I don't even know if it's the code or my system that's broken. So I'm asking you guys.
|
|
| 03-24-2012 08:59 PM |
|
Aquous
Junior Member
 
Posts: 5
Joined: May 2010
Reputation: 0
|
RE: svn HEAD (rev 1090) does not compile on Linux
Yes, this problem is fixed 
However, the build now fails at another stage:
Code:
[ 33%] Building C object CMakeFiles/vbamcore.dir/src/common/memgzio.c.o
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:88:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:89:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:90:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:91:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:92:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:93:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:94:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:374:13: warning: conflicting types for 'check_header'
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:374:13: error: static declaration of 'check_header' follows non-static declaration
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:324:2: note: previous implicit declaration of 'check_header' was here
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:427:12: error: static declaration of 'destroy' follows non-static declaration
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:274:33: note: previous implicit declaration of 'destroy' was here
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:651:14: error: conflicting types for 'getLong'
/var/tmp/portage/games-emulation/vbam-9999/work/vbam/src/common/memgzio.c:526:10: note: previous implicit declaration of 'getLong' was here
make[2]: *** [CMakeFiles/vbamcore.dir/src/common/memgzio.c.o] Error 1
(adding "-k" to MAKEOPTS doesn't show any more failures, so this might very well be the last one)
|
|
| 03-26-2012 01:35 AM |
|
Aquous
Junior Member
 
Posts: 5
Joined: May 2010
Reputation: 0
|
RE: svn HEAD (rev 1090) does not compile on Linux
|
|
| 03-29-2012 12:26 AM |
|