pedgarcia / cpcsdk

Automatically exported from code.google.com/p/cpcsdk
0 stars 0 forks source link

LibStSound cannot be built under Archlinux. #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using archlinux, and I wanted to build caprice-svn using both 
libstsound-svn - https://aur.archlinux.org/packages.php?ID=38857 - and 
caprice-svn - https://aur.archlinux.org/packages.php?ID=38856 - PKGBUILDs.

But the problem is that libstsound cannot be built using gcc 4.5.2 and libtool 
2.4, both on my 64 bits linux.

Here is the log I get :

libtool: compile: g++ -DHAVE_CONFIG_H -I. -O2 -s -march=x86-64 -mtune=generic 
-O2 -pipe -MT libstsound_la-Ym2149Ex.lo -MD -MP -MF 
.deps/libstsound_la-Ym2149Ex.Tpo -c ./Ym2149Ex.cpp -fPIC -DPIC -o 
.libs/libstsound_la-Ym2149Ex.o
./YmMusic.cpp:82:6: error: prototype for 'void CYmMusic::setPlayerRate(ymint)' 
does not match any in class 'CYmMusic'
./YmMusic.h:160:7: error: candidate is: void CYmMusic::setPlayerRate(int)
./YmMusic.cpp:155:6: error: prototype for 'void CYmMusic::setAttrib(ymint)' 
does not match any in class 'CYmMusic'
./YmMusic.h:161:7: error: candidate is: void CYmMusic::setAttrib(int)
./YmMusic.cpp:160:7: error: prototype for 'ymint CYmMusic::getAttrib()' does 
not match any in class 'CYmMusic'
./YmMusic.h:143:6: error: candidate is: int CYmMusic::getAttrib()
./YmMusic.cpp:243:6: error: prototype for 'void 
CYmMusic::readYm6Effect(unsigned char*, ymint, ymint, ymint)' does not match 
any in class 'CYmMusic'
./YmMusic.h:165:7: error: candidate is: void CYmMusic::readYm6Effect(ymu8*, 
int, int, int)
./YmMusic.cpp:503:6: error: prototype for 'void CYmMusic::stDigitMix(ymsample*, 
ymint)' does not match any in class 'CYmMusic'
./YmMusic.h:202:7: error: candidate is: void CYmMusic::stDigitMix(short int*, 
int)
./YmMusic.cpp:574:6: error: prototype for 'void CYmMusic::ymTrackerInit(ymint)' 
does not match any in class 'CYmMusic'
./YmMusic.h:216:7: error: candidate is: void CYmMusic::ymTrackerInit(int)
./YmMusic.cpp:669:6: error: prototype for 'void 
CYmMusic::ymTrackerVoiceAdd(ymTrackerVoice_t*, ymsample*, ymint)' does not 
match any in class 'CYmMusic'
./YmMusic.h:220:7: error: candidate is: void 
CYmMusic::ymTrackerVoiceAdd(ymTrackerVoice_t*, short int*, int)
./YmMusic.cpp:723:6: error: prototype for 'void 
CYmMusic::ymTrackerUpdate(ymsample*, ymint)' does not match any in class 
'CYmMusic'
./YmMusic.h:217:7: error: candidate is: void CYmMusic::ymTrackerUpdate(short 
int*, int)
make[1]: *** [libstsound_la-YmMusic.lo] Erreur 1
make[1]: *** Attente des tâches non terminées....
libtool: compile: g++ -DHAVE_CONFIG_H -I. -O2 -s -march=x86-64 -mtune=generic 
-O2 -pipe -MT libstsound_la-YmUserInterface.lo -MD -MP -MF 
.deps/libstsound_la-YmUserInterface.Tpo -c ./YmUserInterface.cpp -o 
libstsound_la-YmUserInterface.o >/dev/null 2>&1
mv -f .deps/libstsound_la-YmUserInterface.Tpo 
.deps/libstsound_la-YmUserInterface.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -O2 -s -march=x86-64 -mtune=generic 
-O2 -pipe -MT libstsound_la-Ym2149Ex.lo -MD -MP -MF 
.deps/libstsound_la-Ym2149Ex.Tpo -c ./Ym2149Ex.cpp -o libstsound_la-Ym2149Ex.o 
>/dev/null 2>&1
./Ymload.cpp: In member function 'unsigned char* CYmMusic::depackFile()':
./Ymload.cpp:165:43: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:174:34: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:198:40: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp: In member function 'ymbool CYmMusic::deInterleave()':
./Ymload.cpp:236:52: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp: In member function 'ymbool CYmMusic::ymDecode()':
./Ymload.cpp:288:34: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:289:36: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:290:51: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:291:31: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:292:44: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:305:34: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:306:36: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:307:30: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:308:31: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:309:44: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:323:34: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:324:36: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:325:30: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:326:39: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:327:44: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:331:58: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:339:44: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:386:32: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:390:32: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:395:44: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:402:44: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:434:31: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:435:45: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:459:44: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:508:33: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:512:33: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:522:46: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:526:38: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp: In member function 'ymbool CYmMusic::checkCompilerTypes()':
./Ymload.cpp:542:67: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:561:17: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp: In member function 'ymbool CYmMusic::load(const char*)':
./Ymload.cpp:580:33: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:591:31: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp:602:37: warning: deprecated conversion from string constant to 
'char*'
./Ymload.cpp: In member function 'ymbool CYmMusic::loadMemory(void*, ymu32)':
./Ymload.cpp:650:31: warning: deprecated conversion from string constant to 
'char*'
libtool: compile: g++ -DHAVE_CONFIG_H -I. -O2 -s -march=x86-64 -mtune=generic 
-O2 -pipe -MT libstsound_la-Ymload.lo -MD -MP -MF 
.deps/libstsound_la-Ymload.Tpo -c ./Ymload.cpp -o libstsound_la-Ymload.o 
>/dev/null 2>&1
mv -f .deps/libstsound_la-Ym2149Ex.Tpo .deps/libstsound_la-Ym2149Ex.Plo
mv -f .deps/libstsound_la-Ymload.Tpo .deps/libstsound_la-Ymload.Plo
make[1] : on quitte le répertoire « /home/fred/libstsound2-svn/src/libstsound 
»
make: *** [all] Erreur 2

Original issue reported on code.google.com by fredbez...@gmail.com on 22 Feb 2011 at 7:18

GoogleCodeExporter commented 9 years ago
We're still running on gcc4.4 here.
I'll have a look...

Original comment by pulkoma...@gmail.com on 22 Feb 2011 at 4:47

GoogleCodeExporter commented 9 years ago
This is now fixed. Thanks for reporting and sorry for the delay !

Original comment by pulkoma...@gmail.com on 3 Jul 2011 at 5:20