error compiling plugins

Issue #23 resolved
Former user created an issue

hi!

I'm trying to update the debian packages of tempo2 for the kern suite:

http://kernsuite.info/

currently when I build tempo2-2016.11.3 with make all plugins it fails:

plk_plug.C: In function 'void recordHeaderInfo(FILE*, int, char**)':
plk_plug.C:4731:6: error: redefinition of 'void recordHeaderInfo(FILE*, int, char**)'
 void recordHeaderInfo(FILE *recordFile,int argc,char *argv[])
      ^
plk_plug.C:4545:6: note: 'void recordHeaderInfo(FILE*, int, char**)' previously defined here
 void recordHeaderInfo(FILE *recordFile,int argc,char *argv[])
      ^
plk_plug.C: In function 'void checkReadRecordHead(FILE*, int, char**)':
plk_plug.C:4753:6: error: redefinition of 'void checkReadRecordHead(FILE*, int, char**)'
 void checkReadRecordHead(FILE *recordFile,int argc,char *argv[])
      ^
plk_plug.C:4567:6: note: 'void checkReadRecordHead(FILE*, int, char**)' previously defined here
 void checkReadRecordHead(FILE *recordFile,int argc,char *argv[])
      ^
plk_plug.C: In function 'void recordStrokesFunc(FILE*, char*, char*)':
plk_plug.C:4759:6: error: redefinition of 'void recordStrokesFunc(FILE*, char*, char*)'
 void recordStrokesFunc(FILE *recordFile,char *cmd,char *param)
      ^
plk_plug.C:4573:6: note: 'void recordStrokesFunc(FILE*, char*, char*)' previously defined here
 void recordStrokesFunc(FILE *recordFile,char *cmd,char *param)
      ^
plk_plug.C: In function 'void replayLine(FILE*, int, char**, pulsar*, int, int*, int*, int*, int*, float, float, longdouble, longdouble, longdouble, int, int, char*, char*, int*, int*, int*)':
plk_plug.C:4773:6: error: redefinition of 'void replayLine(FILE*, int, char**, pulsar*, int, int*, int*, int*, int*, float, float, longdouble, longdouble, longdouble, int, int, char*, char*, int*, int*, int*)'

Comments (5)

  1. Michael Keith
    • changed status to open

    I will look into this in more detail. Seems some strange issue with George's new 'record' function.

  2. Michael Keith

    A very strange report. Line 4731 is the last line of the file in current versions, but the definition of these functions is in the expected place. Please check that you have a clean checkout of this file (do git checkout plk_plug.C) and try again. If there are still issues, please send a copy of the file you have.

  3. Former user Account Deleted reporter

    you are right, somehow something went wrong with the autoupdate from an old package and an older version of plk_plug.C ended up in the tree.2017.2.1 compiles successfully, we are uploading it now to the repository..

  4. Log in to comment