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

SVN 636 Wont Compile

Help
Nullack
2009-05-17
2013-04-25
  • Nullack
    Nullack
    2009-05-17

    Wont compile, as per:

    libtool: compile:  g++ -DHAVE_CONFIG_H -I. -DOLD_DB -I/usr/include/uuid -I/usr/include/libxml2 -DFUPPES_DATADIR=\"/usr/share/fuppes\" -DFUPPES_PLUGINDIR=\"/usr/lib/fuppes\" -g -O2 -MT inotify-cxx.lo -MD -MP -MF .deps/inotify-cxx.Tpo -c lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp  -fPIC -DPIC -o .libs/inotify-cxx.o
    lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp: In static member function ‘static uint32_t Inotify::GetCapability(InotifyCapability_t)’:
    lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp:581: error: ‘fopen’ was not declared in this scope
    lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp:586: error: ‘fscanf’ was not declared in this scope
    lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp:587: error: ‘fclose’ was not declared in this scope
    lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp:591: error: ‘fclose’ was not declared in this scope
    lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp: In static member function ‘static void Inotify::SetCapability(InotifyCapability_t, uint32_t)’:
    lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp:598: error: ‘fopen’ was not declared in this scope
    lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp:602: error: ‘fprintf’ was not declared in this scope
    lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp:603: error: ‘fclose’ was not declared in this scope
    lib/ContentDirectory/inotify-cxx-0.7.2/inotify-cxx.cpp:607: error: ‘fclose’ was not declared in this scope
    make[2]: *** [inotify-cxx.lo] Error 1
    make[2]: Leaving directory `/home/nullack/src/fuppes/src'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/nullack/src/fuppes/src'
    make: *** [all-recursive] Error 1
    nullack@PPP:~/src/fuppes$

     
    • Mike
      Mike
      2009-05-17

      for me it doesn`t compile too, but with a different error. i just run dpkg-buildpackage -rfakeroot -us -uc
      after i had linked some files to /usr/include/ffmpeg it stops with

      libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I/usr/include/ffmpeg -DOLD_INCLUDES_PATH -DFFMPEG_VERSION=52 -D__STDC_CONSTANT_MACROS -g -O2 -MT libtranscoder_ffmpeg_la-transcoder_ffmpeg.lo -MD -MP -MF .deps/libtranscoder_ffmpeg_la-transcoder_ffmpeg.Tpo -c transcoder_ffmpeg.cpp  -fPIC -DPIC -o .libs/libtranscoder_ffmpeg_la-transcoder_ffmpeg.o
      In file included from ffmpeg/ffmpeg.h:58,
                       from transcoder_ffmpeg.cpp:27:
      /usr/include/opt.h:246: error: declaration of C function ‘int OptRegister(char*, char*, char*)’ conflicts with
      /usr/include/opt.h:245: error: previous declaration ‘int OptRegister(char*, char, char*, char*)’ here
      /usr/include/opt.h:247: error: declaration of C function ‘int OptRegister(char*, opt_TYPE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:246: error: previous declaration ‘int OptRegister(char*, char*, char*)’ here
      /usr/include/opt.h:248: error: declaration of C function ‘int OptRegister(char*, opt_TYPE, char*, char*)’ conflicts with
      /usr/include/opt.h:247: error: previous declaration ‘int OptRegister(char*, opt_TYPE, char, char*, char*)’ here
      /usr/include/opt.h:249: error: declaration of C function ‘int OptRegister(char*, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:248: error: previous declaration ‘int OptRegister(char*, opt_TYPE, char*, char*)’ here
      /usr/include/opt.h:250: error: declaration of C function ‘int OptRegister(char*, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:249: error: previous declaration ‘int OptRegister(char*, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:251: error: declaration of C function ‘int OptRegister(char*, opt_TYPE, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:250: error: previous declaration ‘int OptRegister(char*, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:252: error: declaration of C function ‘int OptRegister(char*, opt_TYPE, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:251: error: previous declaration ‘int OptRegister(char*, opt_TYPE, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:253: error: declaration of C function ‘int OptRegister(short int*, char, char*, char*)’ conflicts with
      /usr/include/opt.h:252: error: previous declaration ‘int OptRegister(char*, opt_TYPE, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:254: error: declaration of C function ‘int OptRegister(short int*, char*, char*)’ conflicts with
      /usr/include/opt.h:253: error: previous declaration ‘int OptRegister(short int*, char, char*, char*)’ here
      /usr/include/opt.h:255: error: declaration of C function ‘int OptRegister(short int*, opt_TYPE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:254: error: previous declaration ‘int OptRegister(short int*, char*, char*)’ here
      /usr/include/opt.h:256: error: declaration of C function ‘int OptRegister(short int*, opt_TYPE, char*, char*)’ conflicts with
      /usr/include/opt.h:255: error: previous declaration ‘int OptRegister(short int*, opt_TYPE, char, char*, char*)’ here
      /usr/include/opt.h:257: error: declaration of C function ‘int OptRegister(short int*, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:256: error: previous declaration ‘int OptRegister(short int*, opt_TYPE, char*, char*)’ here
      /usr/include/opt.h:258: error: declaration of C function ‘int OptRegister(short int*, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:257: error: previous declaration ‘int OptRegister(short int*, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:259: error: declaration of C function ‘int OptRegister(short int*, opt_TYPE, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:258: error: previous declaration ‘int OptRegister(short int*, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:260: error: declaration of C function ‘int OptRegister(short int*, opt_TYPE, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:259: error: previous declaration ‘int OptRegister(short int*, opt_TYPE, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:261: error: declaration of C function ‘int OptRegister(short unsigned int*, char, char*, char*)’ conflicts with
      /usr/include/opt.h:260: error: previous declaration ‘int OptRegister(short int*, opt_TYPE, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:262: error: declaration of C function ‘int OptRegister(short unsigned int*, char*, char*)’ conflicts with
      /usr/include/opt.h:261: error: previous declaration ‘int OptRegister(short unsigned int*, char, char*, char*)’ here
      /usr/include/opt.h:263: error: declaration of C function ‘int OptRegister(short unsigned int*, opt_TYPE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:262: error: previous declaration ‘int OptRegister(short unsigned int*, char*, char*)’ here
      /usr/include/opt.h:264: error: declaration of C function ‘int OptRegister(short unsigned int*, opt_TYPE, char*, char*)’ conflicts with
      /usr/include/opt.h:263: error: previous declaration ‘int OptRegister(short unsigned int*, opt_TYPE, char, char*, char*)’ here
      /usr/include/opt.h:265: error: declaration of C function ‘int OptRegister(short unsigned int*, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:264: error: previous declaration ‘int OptRegister(short unsigned int*, opt_TYPE, char*, char*)’ here
      /usr/include/opt.h:266: error: declaration of C function ‘int OptRegister(short unsigned int*, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:265: error: previous declaration ‘int OptRegister(short unsigned int*, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:267: error: declaration of C function ‘int OptRegister(short unsigned int*, opt_TYPE, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:266: error: previous declaration ‘int OptRegister(short unsigned int*, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:268: error: declaration of C function ‘int OptRegister(short unsigned int*, opt_TYPE, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:267: error: previous declaration ‘int OptRegister(short unsigned int*, opt_TYPE, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:269: error: declaration of C function ‘int OptRegister(int*, char, char*, char*)’ conflicts with
      /usr/include/opt.h:268: error: previous declaration ‘int OptRegister(short unsigned int*, opt_TYPE, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:270: error: declaration of C function ‘int OptRegister(int*, char*, char*)’ conflicts with
      /usr/include/opt.h:269: error: previous declaration ‘int OptRegister(int*, char, char*, char*)’ here
      /usr/include/opt.h:271: error: declaration of C function ‘int OptRegister(int*, opt_TYPE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:270: error: previous declaration ‘int OptRegister(int*, char*, char*)’ here
      /usr/include/opt.h:272: error: declaration of C function ‘int OptRegister(int*, opt_TYPE, char*, char*)’ conflicts with
      /usr/include/opt.h:271: error: previous declaration ‘int OptRegister(int*, opt_TYPE, char, char*, char*)’ here
      /usr/include/opt.h:273: error: declaration of C function ‘int OptRegister(int*, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:272: error: previous declaration ‘int OptRegister(int*, opt_TYPE, char*, char*)’ here
      /usr/include/opt.h:274: error: declaration of C function ‘int OptRegister(int*, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:273: error: previous declaration ‘int OptRegister(int*, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:275: error: declaration of C function ‘int OptRegister(int*, opt_TYPE, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:274: error: previous declaration ‘int OptRegister(int*, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:276: error: declaration of C function ‘int OptRegister(int*, opt_TYPE, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:275: error: previous declaration ‘int OptRegister(int*, opt_TYPE, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:277: error: declaration of C function ‘int OptRegister(long unsigned int*, char, char*, char*)’ conflicts with
      /usr/include/opt.h:276: error: previous declaration ‘int OptRegister(int*, opt_TYPE, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:278: error: declaration of C function ‘int OptRegister(long unsigned int*, char*, char*)’ conflicts with
      /usr/include/opt.h:277: error: previous declaration ‘int OptRegister(long unsigned int*, char, char*, char*)’ here
      /usr/include/opt.h:279: error: declaration of C function ‘int OptRegister(long unsigned int*, opt_TYPE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:278: error: previous declaration ‘int OptRegister(long unsigned int*, char*, char*)’ here
      /usr/include/opt.h:280: error: declaration of C function ‘int OptRegister(long unsigned int*, opt_TYPE, char*, char*)’ conflicts with
      /usr/include/opt.h:279: error: previous declaration ‘int OptRegister(long unsigned int*, opt_TYPE, char, char*, char*)’ here
      /usr/include/opt.h:281: error: declaration of C function ‘int OptRegister(long unsigned int*, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:280: error: previous declaration ‘int OptRegister(long unsigned int*, opt_TYPE, char*, char*)’ here
      /usr/include/opt.h:282: error: declaration of C function ‘int OptRegister(long unsigned int*, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:281: error: previous declaration ‘int OptRegister(long unsigned int*, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:283: error: declaration of C function ‘int OptRegister(long unsigned int*, opt_TYPE, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:282: error: previous declaration ‘int OptRegister(long unsigned int*, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:284: error: declaration of C function ‘int OptRegister(long unsigned int*, opt_TYPE, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:283: error: previous declaration ‘int OptRegister(long unsigned int*, opt_TYPE, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:285: error: declaration of C function ‘int OptRegister(double*, char, char*, char*)’ conflicts with
      /usr/include/opt.h:284: error: previous declaration ‘int OptRegister(long unsigned int*, opt_TYPE, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:286: error: declaration of C function ‘int OptRegister(double*, char*, char*)’ conflicts with
      /usr/include/opt.h:285: error: previous declaration ‘int OptRegister(double*, char, char*, char*)’ here
      /usr/include/opt.h:287: error: declaration of C function ‘int OptRegister(double*, opt_TYPE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:286: error: previous declaration ‘int OptRegister(double*, char*, char*)’ here
      /usr/include/opt.h:288: error: declaration of C function ‘int OptRegister(double*, opt_TYPE, char*, char*)’ conflicts with
      /usr/include/opt.h:287: error: previous declaration ‘int OptRegister(double*, opt_TYPE, char, char*, char*)’ here
      /usr/include/opt.h:289: error: declaration of C function ‘int OptRegister(double*, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:288: error: previous declaration ‘int OptRegister(double*, opt_TYPE, char*, char*)’ here
      /usr/include/opt.h:290: error: declaration of C function ‘int OptRegister(double*, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:289: error: previous declaration ‘int OptRegister(double*, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:291: error: declaration of C function ‘int OptRegister(double*, opt_TYPE, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:290: error: previous declaration ‘int OptRegister(double*, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:292: error: declaration of C function ‘int OptRegister(double*, opt_TYPE, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:291: error: previous declaration ‘int OptRegister(double*, opt_TYPE, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:293: error: declaration of C function ‘int OptRegister(long int*, char, char*, char*)’ conflicts with
      /usr/include/opt.h:292: error: previous declaration ‘int OptRegister(double*, opt_TYPE, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:294: error: declaration of C function ‘int OptRegister(long int*, char*, char*)’ conflicts with
      /usr/include/opt.h:293: error: previous declaration ‘int OptRegister(long int*, char, char*, char*)’ here
      /usr/include/opt.h:295: error: declaration of C function ‘int OptRegister(long int*, opt_TYPE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:294: error: previous declaration ‘int OptRegister(long int*, char*, char*)’ here
      /usr/include/opt.h:296: error: declaration of C function ‘int OptRegister(long int*, opt_TYPE, char*, char*)’ conflicts with
      /usr/include/opt.h:295: error: previous declaration ‘int OptRegister(long int*, opt_TYPE, char, char*, char*)’ here
      /usr/include/opt.h:297: error: declaration of C function ‘int OptRegister(long int*, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:296: error: previous declaration ‘int OptRegister(long int*, opt_TYPE, char*, char*)’ here
      /usr/include/opt.h:298: error: declaration of C function ‘int OptRegister(long int*, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:297: error: previous declaration ‘int OptRegister(long int*, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:299: error: declaration of C function ‘int OptRegister(long int*, opt_TYPE, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:298: error: previous declaration ‘int OptRegister(long int*, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:300: error: declaration of C function ‘int OptRegister(long int*, opt_TYPE, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:299: error: previous declaration ‘int OptRegister(long int*, opt_TYPE, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:301: error: declaration of C function ‘int OptRegister(unsigned int*, char, char*, char*)’ conflicts with
      /usr/include/opt.h:300: error: previous declaration ‘int OptRegister(long int*, opt_TYPE, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:302: error: declaration of C function ‘int OptRegister(unsigned int*, char*, char*)’ conflicts with
      /usr/include/opt.h:301: error: previous declaration ‘int OptRegister(unsigned int*, char, char*, char*)’ here
      /usr/include/opt.h:303: error: declaration of C function ‘int OptRegister(unsigned int*, opt_TYPE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:302: error: previous declaration ‘int OptRegister(unsigned int*, char*, char*)’ here
      /usr/include/opt.h:304: error: declaration of C function ‘int OptRegister(unsigned int*, opt_TYPE, char*, char*)’ conflicts with
      /usr/include/opt.h:303: error: previous declaration ‘int OptRegister(unsigned int*, opt_TYPE, char, char*, char*)’ here
      /usr/include/opt.h:305: error: declaration of C function ‘int OptRegister(unsigned int*, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:304: error: previous declaration ‘int OptRegister(unsigned int*, opt_TYPE, char*, char*)’ here
      /usr/include/opt.h:306: error: declaration of C function ‘int OptRegister(unsigned int*, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:305: error: previous declaration ‘int OptRegister(unsigned int*, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:307: error: declaration of C function ‘int OptRegister(unsigned int*, opt_TYPE, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:306: error: previous declaration ‘int OptRegister(unsigned int*, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:308: error: declaration of C function ‘int OptRegister(unsigned int*, opt_TYPE, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:307: error: previous declaration ‘int OptRegister(unsigned int*, opt_TYPE, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:309: error: declaration of C function ‘int OptRegister(char**, char, char*, char*)’ conflicts with
      /usr/include/opt.h:308: error: previous declaration ‘int OptRegister(unsigned int*, opt_TYPE, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:310: error: declaration of C function ‘int OptRegister(char**, char*, char*)’ conflicts with
      /usr/include/opt.h:309: error: previous declaration ‘int OptRegister(char**, char, char*, char*)’ here
      /usr/include/opt.h:311: error: declaration of C function ‘int OptRegister(char**, opt_TYPE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:310: error: previous declaration ‘int OptRegister(char**, char*, char*)’ here
      /usr/include/opt.h:312: error: declaration of C function ‘int OptRegister(char**, opt_TYPE, char*, char*)’ conflicts with
      /usr/include/opt.h:311: error: previous declaration ‘int OptRegister(char**, opt_TYPE, char, char*, char*)’ here
      /usr/include/opt.h:313: error: declaration of C function ‘int OptRegister(char**, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:312: error: previous declaration ‘int OptRegister(char**, opt_TYPE, char*, char*)’ here
      /usr/include/opt.h:314: error: declaration of C function ‘int OptRegister(char**, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:313: error: previous declaration ‘int OptRegister(char**, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:315: error: declaration of C function ‘int OptRegister(char**, opt_TYPE, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:314: error: previous declaration ‘int OptRegister(char**, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:316: error: declaration of C function ‘int OptRegister(char**, opt_TYPE, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:315: error: previous declaration ‘int OptRegister(char**, opt_TYPE, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:317: error: declaration of C function ‘int OptRegister(float*, char, char*, char*)’ conflicts with
      /usr/include/opt.h:316: error: previous declaration ‘int OptRegister(char**, opt_TYPE, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:318: error: declaration of C function ‘int OptRegister(float*, char*, char*)’ conflicts with
      /usr/include/opt.h:317: error: previous declaration ‘int OptRegister(float*, char, char*, char*)’ here
      /usr/include/opt.h:319: error: declaration of C function ‘int OptRegister(float*, opt_TYPE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:318: error: previous declaration ‘int OptRegister(float*, char*, char*)’ here
      /usr/include/opt.h:320: error: declaration of C function ‘int OptRegister(float*, opt_TYPE, char*, char*)’ conflicts with
      /usr/include/opt.h:319: error: previous declaration ‘int OptRegister(float*, opt_TYPE, char, char*, char*)’ here
      /usr/include/opt.h:321: error: declaration of C function ‘int OptRegister(float*, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:320: error: previous declaration ‘int OptRegister(float*, opt_TYPE, char*, char*)’ here
      /usr/include/opt.h:322: error: declaration of C function ‘int OptRegister(float*, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:321: error: previous declaration ‘int OptRegister(float*, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:323: error: declaration of C function ‘int OptRegister(float*, opt_TYPE, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:322: error: previous declaration ‘int OptRegister(float*, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:324: error: declaration of C function ‘int OptRegister(float*, opt_TYPE, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:323: error: previous declaration ‘int OptRegister(float*, opt_TYPE, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:325: error: declaration of C function ‘int OptRegister(unsigned char*, char, char*, char*)’ conflicts with
      /usr/include/opt.h:324: error: previous declaration ‘int OptRegister(float*, opt_TYPE, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:326: error: declaration of C function ‘int OptRegister(unsigned char*, char*, char*)’ conflicts with
      /usr/include/opt.h:325: error: previous declaration ‘int OptRegister(unsigned char*, char, char*, char*)’ here
      /usr/include/opt.h:327: error: declaration of C function ‘int OptRegister(unsigned char*, opt_TYPE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:326: error: previous declaration ‘int OptRegister(unsigned char*, char*, char*)’ here
      /usr/include/opt.h:328: error: declaration of C function ‘int OptRegister(unsigned char*, opt_TYPE, char*, char*)’ conflicts with
      /usr/include/opt.h:327: error: previous declaration ‘int OptRegister(unsigned char*, opt_TYPE, char, char*, char*)’ here
      /usr/include/opt.h:329: error: declaration of C function ‘int OptRegister(unsigned char*, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:328: error: previous declaration ‘int OptRegister(unsigned char*, opt_TYPE, char*, char*)’ here
      /usr/include/opt.h:330: error: declaration of C function ‘int OptRegister(unsigned char*, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:329: error: previous declaration ‘int OptRegister(unsigned char*, opt_MODE, char, char*, char*)’ here
      /usr/include/opt.h:331: error: declaration of C function ‘int OptRegister(unsigned char*, opt_TYPE, opt_MODE, char, char*, char*)’ conflicts with
      /usr/include/opt.h:330: error: previous declaration ‘int OptRegister(unsigned char*, opt_MODE, char*, char*)’ here
      /usr/include/opt.h:332: error: declaration of C function ‘int OptRegister(unsigned char*, opt_TYPE, opt_MODE, char*, char*)’ conflicts with
      /usr/include/opt.h:331: error: previous declaration ‘int OptRegister(unsigned char*, opt_TYPE, opt_MODE, char, char*, char*)’ here
      In file included from transcoder_ffmpeg.cpp:27:
      ffmpeg/ffmpeg.h: In member function ‘void CFFmpeg::opt_verbose(const char*)’:
      ffmpeg/ffmpeg.h:482: error: ‘av_log_level’ was not declared in this scope
      ffmpeg/ffmpeg.h: In member function ‘void CFFmpeg::opt_codec(int*, int*, int, const char*)’:
      ffmpeg/ffmpeg.h:784: error: ‘first_avcodec’ was not declared in this scope
      ffmpeg/ffmpeg.h: In member function ‘void CFFmpeg::opt_input_file(const char*)’:
      ffmpeg/ffmpeg.h:911: warning: ‘AVFormatContext* av_alloc_format_context()’ is deprecated (declared at /usr/include/ffmpeg/avformat.h:787)
      ffmpeg/ffmpeg.h:911: warning: ‘AVFormatContext* av_alloc_format_context()’ is deprecated (declared at /usr/include/ffmpeg/avformat.h:787)
      ffmpeg/ffmpeg.h:931: error: ‘av_get_double’ was not declared in this scope
      ffmpeg/ffmpeg.h:932: error: invalid use of incomplete type ‘const struct AVOption’
      /usr/include/ffmpeg/libavutil/log.h:51: error: forward declaration of ‘const struct AVOption’
      ffmpeg/ffmpeg.h:932: error: ‘AV_OPT_FLAG_DECODING_PARAM’ was not declared in this scope
      ffmpeg/ffmpeg.h:933: error: ‘av_set_double’ was not declared in this scope
      ffmpeg/ffmpeg.h:979: error: ‘av_get_double’ was not declared in this scope
      ffmpeg/ffmpeg.h:980: error: invalid use of incomplete type ‘const struct AVOption’
      /usr/include/ffmpeg/libavutil/log.h:51: error: forward declaration of ‘const struct AVOption’
      ffmpeg/ffmpeg.h:980: error: ‘AV_OPT_FLAG_AUDIO_PARAM’ was not declared in this scope
      ffmpeg/ffmpeg.h:980: error: invalid use of incomplete type ‘const struct AVOption’
      /usr/include/ffmpeg/libavutil/log.h:51: error: forward declaration of ‘const struct AVOption’
      ffmpeg/ffmpeg.h:980: error: ‘AV_OPT_FLAG_DECODING_PARAM’ was not declared in this scope
      ffmpeg/ffmpeg.h:981: error: ‘av_set_double’ was not declared in this scope
      ffmpeg/ffmpeg.h:992: error: ‘av_get_double’ was not declared in this scope
      ffmpeg/ffmpeg.h:993: error: invalid use of incomplete type ‘const struct AVOption’
      /usr/include/ffmpeg/libavutil/log.h:51: error: forward declaration of ‘const struct AVOption’
      ffmpeg/ffmpeg.h:993: error: ‘AV_OPT_FLAG_VIDEO_PARAM’ was not declared in this scope
      ffmpeg/ffmpeg.h:993: error: invalid use of incomplete type ‘const struct AVOption’
      /usr/include/ffmpeg/libavutil/log.h:51: error: forward declaration of ‘const struct AVOption’
      ffmpeg/ffmpeg.h:993: error: ‘AV_OPT_FLAG_DECODING_PARAM’ was not declared in this scope
      ffmpeg/ffmpeg.h:994: error: ‘av_set_double’ was not declared in this scope
      ffmpeg/ffmpeg.h: In member function ‘int CFFmpeg::opt_default(const char*, const char*)’:
      ffmpeg/ffmpeg.h:1281: error: ‘AV_OPT_FLAG_VIDEO_PARAM’ was not declared in this scope
      ffmpeg/ffmpeg.h:1281: error: ‘AV_OPT_FLAG_AUDIO_PARAM’ was not declared in this scope
      ffmpeg/ffmpeg.h:1281: error: ‘AV_OPT_FLAG_SUBTITLE_PARAM’ was not declared in this scope
      ffmpeg/ffmpeg.h:1284: error: ‘av_find_opt’ was not declared in this scope
      ffmpeg/ffmpeg.h:1286: error: ‘av_set_string’ was not declared in this scope
      ffmpeg/ffmpeg.h:1289: error: ‘av_set_string’ was not declared in this scope
      ffmpeg/ffmpeg.h:1291: error: ‘av_set_string’ was not declared in this scope
      ffmpeg/ffmpeg.h:1294: error: ‘av_set_string’ was not declared in this scope
      ffmpeg/ffmpeg.h:1296: error: ‘av_set_string’ was not declared in this scope
      ffmpeg/ffmpeg.h:1298: error: ‘av_set_string’ was not declared in this scope
      ffmpeg/ffmpeg.h:1307: error: invalid use of incomplete type ‘const struct AVOption’
      /usr/include/ffmpeg/libavutil/log.h:51: error: forward declaration of ‘const struct AVOption’
      ffmpeg/ffmpeg.h:1316: error: ‘av_log_level’ was not declared in this scope
      ffmpeg/ffmpeg.h: In member function ‘void CFFmpeg::opt_new_subtitle_stream()’:
      ffmpeg/ffmpeg.h:1348: error: ‘av_get_double’ was not declared in this scope
      ffmpeg/ffmpeg.h:1349: error: invalid use of incomplete type ‘const struct AVOption’
      /usr/include/ffmpeg/libavutil/log.h:51: error: forward declaration of ‘const struct AVOption’
      ffmpeg/ffmpeg.h:1349: error: ‘AV_OPT_FLAG_SUBTITLE_PARAM’ was not declared in this scope
      ffmpeg/ffmpeg.h:1349: error: invalid use of incomplete type ‘const struct AVOption’
      /usr/include/ffmpeg/libavutil/log.h:51: error: forward declaration of ‘const struct AVOption’
      ffmpeg/ffmpeg.h:1349: error: ‘AV_OPT_FLAG_ENCODING_PARAM’ was not declared in this scope
      ffmpeg/ffmpeg.h:1350: error: ‘av_set_double’ was not declared in this scope
      ffmpeg/ffmpeg.h: In member function ‘void CFFmpeg::opt_output_file(const char*)’:
      ffmpeg/ffmpeg.h:1400: warning: ‘AVFormatContext* av_alloc_format_context()’ is deprecated (declared at /usr/include/ffmpeg/avformat.h:787)
      ffmpeg/ffmpeg.h:1400: warning: ‘AVFormatContext* av_alloc_format_context()’ is deprecated (declared at /usr/include/ffmpeg/avformat.h:787)
      ffmpeg/ffmpeg.h:1547: error: ‘av_get_double’ was not declared in this scope
      ffmpeg/ffmpeg.h:1548: error: invalid use of incomplete type ‘const struct AVOption’
      /usr/include/ffmpeg/libavutil/log.h:51: error: forward declaration of ‘const struct AVOption’
      ffmpeg/ffmpeg.h:1548: error: ‘AV_OPT_FLAG_ENCODING_PARAM’ was not declared in this scope
      ffmpeg/ffmpeg.h:1549: error: ‘av_set_double’ was not declared in this scope
      make[2]: *** [libtranscoder_ffmpeg_la-transcoder_ffmpeg.lo] Fehler 1
      make[2]: Leaving directory `/home/mdomann/source/fuppes/src/plugins'
      make[1]: *** [all-recursive] Fehler 1
      make[1]: Leaving directory `/home/mdomann/source/fuppes'
      make: *** [build-arch-stamp] Fehler 2
      dpkg-buildpackage: Fehlschlag: debian/rules build gab Fehler-Exitstatus 2

       
      • Kurt
        Kurt
        2009-05-17

        I had a problem compiling, but I think it tied back to the myriad of "depends" that fuppes had.  I ended up going through a bunch or web sites with a bunch suggested packages, and, thus a bunch of apt-get installs to get it compiled.

        I just looked through my "history" to find a list of what worked, but that's already scrolled off :-(
          I guess I need to increase my "history" lines kept.