Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

errors while compiling

Help
ishiprog
2006-05-25
2012-10-30
  • ishiprog
    ishiprog
    2006-05-25

    When I try to compile then i get these errors

    make -f Makefile.Debug
    make[1]: Entering directory /c/mumble/mumble-0.9.2' g++ -c -Wshadow -Woverloaded-virtual -Wold-style-cast -Wconversion -Wsign-compare -g -g -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"C:/Qt/4.1.2/include/QtCore" -I"C:/Qt/4.1.2/include/QtNetwork" -I"C:/Qt/4.1.2/include/QtSql" -I"C:/Qt/4.1.2/include" -I"C:/Qt/4.1.2/include/ActiveQt" -I"debug" -I"." -I"C:/Qt/4.1.2/mkspecs/win32-g++" -o debug\ACL.o ACL.cpp g++ -c -Wshadow -Woverloaded-virtual -Wold-style-cast -Wconversion -Wsign-compare -g -g -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"C:/Qt/4.1.2/include/QtCore" -I"C:/Qt/4.1.2/include/QtNetwork" -I"C:/Qt/4.1.2/include/QtSql" -I"C:/Qt/4.1.2/include" -I"C:/Qt/4.1.2/include/ActiveQt" -I"debug" -I"." -I"C:/Qt/4.1.2/mkspecs/win32-g++" -o debug\Group.o Group.cpp g++ -c -Wshadow -Woverloaded-virtual -Wold-style-cast -Wconversion -Wsign-compare -g -g -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"C:/Qt/4.1.2/include/QtCore" -I"C:/Qt/4.1.2/include/QtNetwork" -I"C:/Qt/4.1.2/include/QtSql" -I"C:/Qt/4.1.2/include" -I"C:/Qt/4.1.2/include/ActiveQt" -I"debug" -I"." -I"C:/Qt/4.1.2/mkspecs/win32-g++" -o debug\Channel.o Channel.cpp g++ -c -Wshadow -Woverloaded-virtual -Wold-style-cast -Wconversion -Wsign-compare -g -g -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"C:/Qt/4.1.2/include/QtCore" -I"C:/Qt/4.1.2/include/QtNetwork" -I"C:/Qt/4.1.2/include/QtSql" -I"C:/Qt/4.1.2/include" -I"C:/Qt/4.1.2/include/ActiveQt" -I"debug" -I"." -I"C:/Qt/4.1.2/mkspecs/win32-g++" -o debug\murmur.o murmur.cpp g++ -c -Wshadow -Woverloaded-virtual -Wold-style-cast -Wconversion -Wsign-compare -g -g -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"C:/Qt/4.1.2/include/QtCore" -I"C:/Qt/4.1.2/include/QtNetwork" -I"C:/Qt/4.1.2/include/QtSql" -I"C:/Qt/4.1.2/include" -I"C:/Qt/4.1.2/include/ActiveQt" -I"debug" -I"." -I"C:/Qt/4.1.2/mkspecs/win32-g++" -o debug\Message.o Message.cpp g++ -c -Wshadow -Woverloaded-virtual -Wold-style-cast -Wconversion -Wsign-compare -g -g -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"C:/Qt/4.1.2/include/QtCore" -I"C:/Qt/4.1.2/include/QtNetwork" -I"C:/Qt/4.1.2/include/QtSql" -I"C:/Qt/4.1.2/include" -I"C:/Qt/4.1.2/include/ActiveQt" -I"debug" -I"." -I"C:/Qt/4.1.2/mkspecs/win32-g++" -o debug\Connection.o Connection.cpp g++ -c -Wshadow -Woverloaded-virtual -Wold-style-cast -Wconversion -Wsign-compare -g -g -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"C:/Qt/4.1.2/include/QtCore" -I"C:/Qt/4.1.2/include/QtNetwork" -I"C:/Qt/4.1.2/include/QtSql" -I"C:/Qt/4.1.2/include" -I"C:/Qt/4.1.2/include/ActiveQt" -I"debug" -I"." -I"C:/Qt/4.1.2/mkspecs/win32-g++" -o debug\Server.o Server.cpp Server.cpp: In member functionvoid Server::checkCommands()':
    Server.cpp:417: warning: declaration of 'container' shadows a previous local
    Server.cpp:371: warning: shadowed declaration is here
    Server.cpp: In member function virtual void MessageServerAuthenticate::process(Connection*)': Server.cpp:539: warning: declaration of '_container_' shadows a previous local Server.cpp:534: warning: shadowed declaration is here Server.cpp: In member functionvirtual void MessageMultiSpeex::process(Connection)':
    Server.cpp:688: warning: declaration of '
    container' shadows a previous local
    Server.cpp:686: warning: shadowed declaration is here
    Server.cpp: In member function virtual void MessageSpeex::process(Connection*)': Server.cpp:727: warning: declaration of '_container_' shadows a previous local Server.cpp:725: warning: shadowed declaration is here g++ -c -Wshadow -Woverloaded-virtual -Wold-style-cast -Wconversion -Wsign-compare -g -g -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"C:/Qt/4.1.2/include/QtCore" -I"C:/Qt/4.1.2/include/QtNetwork" -I"C:/Qt/4.1.2/include/QtSql" -I"C:/Qt/4.1.2/include" -I"C:/Qt/4.1.2/include/ActiveQt" -I"debug" -I"." -I"C:/Qt/4.1.2/mkspecs/win32-g++" -o debug\Player.o Player.cpp g++ -c -Wshadow -Woverloaded-virtual -Wold-style-cast -Wconversion -Wsign-compare -g -g -Wall -frtti -fexceptions -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"C:/Qt/4.1.2/include/QtCore" -I"C:/Qt/4.1.2/include/QtNetwork" -I"C:/Qt/4.1.2/include/QtSql" -I"C:/Qt/4.1.2/include" -I"C:/Qt/4.1.2/include/ActiveQt" -I"debug" -I"." -I"C:/Qt/4.1.2/mkspecs/win32-g++" -o debug\ServerDB.o ServerDB.cpp ServerDB.cpp: In static member functionstatic void ServerDB::updateChannel(Channel)':
    ServerDB.cpp:341: warning: declaration of 'container' shadows a previous local
    ServerDB.cpp:330: warning: shadowed declaration is here
    ServerDB.cpp:348: warning: declaration of 'container' shadows a previous local
    ServerDB.cpp:330: warning: shadowed declaration is here
    ServerDB.cpp: In static member function static void ServerDB::dumpChannel(Channel*)': ServerDB.cpp:535: warning: declaration of '_container_' shadows a previous local ServerDB.cpp:533: warning: shadowed declaration is here ServerDB.cpp:537: warning: declaration of '_container_' shadows a previous local ServerDB.cpp:533: warning: shadowed declaration is here C:\Qt\4.1.2\bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I"C:/Qt/4.1.2/include/QtCore" -I"C:/Qt/4.1.2/include/QtNetwork" -I"C:/Qt/4.1.2/include/QtSql" -I"C:/Qt/4.1.2/include" -I"C:/Qt/4.1.2/include/ActiveQt" -I"debug" -I"." -I"C:/Qt/4.1.2/mkspecs/win32-g++" -D__GNUC__ -DWIN32 ACL.h -o debug\moc_ACL.cpp /bin/sh.exe: C:Qt4.1.2binmoc.exe: command not found make[1]: *** [debug\moc_ACL.cpp] Error 127 make[1]: Leaving directory/c/mumble/mumble-0.9.2'
    make: *** [debug] Error 2

    would anybody be so kind to give me some hints how to solve this problems

    thanks in advance

    ishiprog

     
    • How exactly are you compiling this? It looks like you're running this through cygwin or something. Mumble and Qt is set up to use just mingw, meaning the win32-make that comes with mingw and just the regular cmd.exe shell (and not /bin/sh).

       
    • ishiprog
      ishiprog
      2006-05-31

      thx for your answer.
      My problem is, that i can't compile it on our linux server, because there is no qt installed. So i thought i compile it on my local winxp machine using cygwin and upload the executable files to our linux machine.
      is this possible, or do i think in a absolute wrong way ?

       
    • This is an absolute wrong way ;)

      Cygwin will still compile Windows binaries, and they won't run on Linux without an emulator.

      This being said, you should be able to compile Qt on your server, which would solve this problem.

       
    • Yes, but you'd either have to compile it as a static executable or also copy all the relevant libraries (including Qt).

       
    • ishiprog
      ishiprog
      2006-06-02

      Argh, i guessed it ;)

      thx for your answer again. Last question:
      installing qt on the server is momentarly not an option we can use.

      Is it possible to compile murmur on a other Linux-machine (same distribution as server) and then upload the executable files ?

      thx for your patience

      ishiprog