error compiling

Help
Cornel P
2007-03-04
2013-06-05
  • Cornel P

    Cornel P - 2007-03-04

    Hello, I've been trying to compile znc on fedora core6 and ubuntu server 6.10
    both give me the same error:
    g++ -D_GNU_SOURCE -Wall -s -O2 -fomit-frame-pointer -DHAVE_LIBSSL -D_MODULES -rdynamic -D_MODDIR_=\"/usr/local/share/znc\"  -c -o znc.o znc.cpp
    IRCSock.h:51: error: extra qualification âCIRCSock::â on member âParseISupportâ
    make: *** [znc.o] Error 1
    and on ubuntu:
    ynamic -D_MODDIR_=\"/usr/local/share/znc\"  -c -o znc.o znc.cpp
    IRCSock.h:44: error: extra qualification âCIRCSock::â on member âParseISupportâ
    make: *** [znc.o] Error 1

    Any ideea on how to solve this?

     
    • Psychon

      Psychon - 2007-03-04

      You could just remove the CIRCSock:: from that line (line 44 in IRCSock.h).
      ZNC 0.045 (which you are using) is now one year old and back then the most recent gcc didnt complain about that.

      If you want to try a more recent version you can get a current cvs snapshot here:
      http://znc.in/nightly/znc-cvs-latest.tar.gz

      psychon

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks