Menu

Fails to build on Ubuntu 15.10

Help
Anonymous
2016-01-26
2016-04-11
  • Anonymous

    Anonymous - 2016-01-26

    Hello, I just tried to build waffles on Ubuntu 15.10 with 'sudo make install'. I cloned the latest sources from git://git.code.sf.net/p/waffles/code.

    I get the following error, I tried cleaning with make clean and doing it again, but aside this I need some help. I coded in the past, but am not too familiar with building libraries.

    Thanks a lot!


    GSelfOrganizingMap.cpp:1101:10: error: ‘void GClasses::{anonymous}::originalTest()’ defined but not used [-Werror=unused-function]
    void originalTest()
    ^
    cc1plus: all warnings being treated as errors
    ../../obj/GClasses/dbg/GSelfOrganizingMap.d:5: recipe for target '../../obj/GClasses/dbg/GSelfOrganizingMap.o' failed
    make: [../../obj/GClasses/dbg/GSelfOrganizingMap.o] Error 1
    make: Leaving directory '/home/draugr/waffles/waffles/src/GClasses'
    Makefile:247: recipe for target 'install' failed
    make[1]: [install] Error 2
    make[1]: Leaving directory '/home/draugr/waffles/waffles/src/GClasses'
    Makefile:44: recipe for target 'INSTALLGClasses' failed
    make: [INSTALLGClasses] Error 2

     
  • Mike Gashler

    Mike Gashler - 2016-01-27

    Thanks for letting me know. I suspect that this can be fixed by removing the "-pedantic" or "-Werror" flags from src/GClasses/Makefile. However, I won't know for sure until I install Ubuntu 15.10 and try it.

     
  • Anonymous

    Anonymous - 2016-01-27

    Thanks, I had to replace it with in all the makefiles before it built. I'll try if it works now.

    But, shouldn't the code compile without warnings? ;) However, I never wrote an entire library and published it, so I'm not the right one to say if this is possible at all. :)

     
  • Mike Gashler

    Mike Gashler - 2016-01-27

    Yes, it definitely should compile without warnings. It compiles without warnings on 14.04, but I haven't yet tried it on 15.10. Apparently, the compiler is getting more picky (which is a good thing). I will need to fix these issues sooner or later, so I appreciate your pointing them out. I wonder how many people have just given up and moved on.

     
  • Anonymous

    Anonymous - 2016-04-11

    Hello,
    I just want to let you know, that there is the same compilation problem on debian jessie, unfortunately removal of the "-pedantic" or "-Werror" flags did not help.

    Description: Debian GNU/Linux 8.4 (jessie)
    Release: 8.4
    Codename: jessie

     
  • Mike Gashler

    Mike Gashler - 2016-04-11

    Thanks for reporting. This issue has been fixed in the GitHub repository (https://github.com/mikegashler/waffles). The SourceForge one has now been deprecated.

     

Anonymous
Anonymous

Add attachments
Cancel