Menu

par2cmdline on Fedora-4 not compiling

2006-03-12
2013-05-23
  • Nobody/Anonymous

    Hello,

    Recently I switched from Fedora 3 to 4 and now my par-toolset doesn't
    work anymore. I applied the patch that Paul Rupe suggests on sourceforge:
    2005-08-11 18:32   All you have to do is add 'template <>' before each
    of the functions it is complaining about. Here is a patch:
    Index: reedsolomon.cpp

    However, I still get many, many warnings and at the end an error.
    Please see the attached compiler output.

    Can you please advise me on how to solve this, I'm pulling hair for the
    whole day now....

    Here the warnings and at the end the error.

    Thanks in advance for your attention.
    Ivo Naninck
    inaninck@xs4all.nl

    par2fileformat.h:101: warning: ignoring packed attribute on unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::fileid'
    par2fileformat.h:102: warning: ignoring packed attribute on unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hashfull'
    par2fileformat.h:103: warning: ignoring packed attribute on unpacked non-POD field 'MD5Hash FILEDESCRIPTIONPACKET::hash16k'
    par2fileformat.h:131: warning: ignoring packed attribute on unpacked non-POD field 'MD5Hash MAINPACKET::fileid [0u]'
    par1fileformat.h:41: warning: ignoring packed attribute on unpacked non-POD field 'MD5Hash PAR1FILEHEADER::controlhash'
    par1fileformat.h:42: warning: ignoring packed attribute on unpacked non-POD field 'MD5Hash PAR1FILEHEADER::sethash'
    par1fileformat.h:56: warning: ignoring packed attribute on unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hashfull'
    par1fileformat.h:57: warning: ignoring packed attribute on unpacked non-POD field 'MD5Hash PAR1FILEENTRY::hash16k'
    reedsolomon.cpp:54: error: expected unqualified-id before '+' token
    reedsolomon.cpp:84: error: expected unqualified-id before '+' token
    reedsolomon.cpp:106: error: expected unqualified-id before '+' token
    reedsolomon.cpp:195: error: expected unqualified-id before '+' token
    reedsolomon.cpp:240: error: expected unqualified-id before '+' token
    reedsolomon.cpp:275: error: expected unqualified-id before '+' token
    make[1]: *** [reedsolomon.o] Error 1
    make[1]: Leaving directory `/home/inaninck/Download/par2cmdline-0.4'
    make: *** [all] Error 2
    [renault par2cmdline-0.4]

     
    • Nobody/Anonymous

      Hello,
      i have the same Erros with Suse 10. Where is the mistake?

      Can anyone help?

       

Log in to post a comment.