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

Fedora 14 compilation error

Help
zkab
2011-02-01
2013-05-28
  • zkab
    zkab
    2011-02-01

    I have Fedora 14 (2.6.35.10-74.fc14.x86_64) and my printer is ML-3561ND.
    Compilation (gcc-c++.x86_64 / 4.5.1-4.fc14)  gives an fatal error and some warnings …

    $ make
    +------------------------------+
    |      COMPILATION PARAMETERS SUMMARY         |
    +------------------------------+
    |      THREADS     =  enabled                 |
    |      THREADS Nr  =        2                 |
    |      CACHESIZE   =       30                 |
    |      JBIG        =  enabled                 |
    |      BLACK OPTIM =  enabled                 |
    +------------------------------+
    (Do a "make clean" before updating these values)

         CXX               src/rastertoqpdl.cpp
         CXX               src/request.cpp
         CXX               src/printer.cpp
         CXX               src/qpdl.cpp
    src/qpdl.cpp: In function ‘bool _renderBand(const Request&, const Band*, bool)’:
    src/qpdl.cpp:115:35: warning: dereferencing type-punned pointer will break strict-aliasing rules
         CXX               src/document.cpp
    src/document.cpp: In member function ‘Page* Document::getNextRawPage(const Request&)’:
    src/document.cpp:84:10: warning: ‘unsigned int cupsRasterReadHeader(cups_raster_t*, cups_page_header_t*)’ is deprecated (declared at /usr/include/cups/raster.h:339)
    src/document.cpp:84:47: warning: ‘unsigned int cupsRasterReadHeader(cups_raster_t*, cups_page_header_t*)’ is deprecated (declared at /usr/include/cups/raster.h:339)
         CXX               src/core.cpp
         CXX               src/compress.cpp
    In file included from src/compress.cpp:33:0:
    include/algo0x13.h:28:21: fatal error: jbig.h: No such file or directory
    compilation terminated.
    make: ***  Error 1

     
  • Raphael Groner
    Raphael Groner
    2011-02-04

    You need rpmfusion repo to install jbig-kit-devel package or use make DISABLE_JBIG=1.
    If you would like, you can have my package or you can get  from linuxprinting.org a definitely working package.

     
  • zkab
    zkab
    2011-02-27

    I installed jbig-kit-devel from rpmfusion but still got errors …

    $ make
    +------------------------------+
    |      COMPILATION PARAMETERS SUMMARY         |
    +------------------------------+
    |      THREADS     =  enabled                 |
    |      THREADS Nr  =        2                 |
    |      CACHESIZE   =       30                 |
    |      JBIG        =  enabled                 |
    |      BLACK OPTIM =  enabled                 |
    +------------------------------+
    (Do a "make clean" before updating these values)

         CXX               src/rastertoqpdl.cpp
         CXX               src/request.cpp
         CXX               src/printer.cpp
         CXX               src/qpdl.cpp
    src/qpdl.cpp: In function ‘bool _renderBand(const Request&, const Band*, bool)’:
    src/qpdl.cpp:115:35: warning: dereferencing type-punned pointer will break strict-aliasing rules
         CXX               src/document.cpp
    src/document.cpp: In member function ‘Page* Document::getNextRawPage(const Request&)’:
    src/document.cpp:84:10: warning: ‘unsigned int cupsRasterReadHeader(cups_raster_t*, cups_page_header_t*)’ is deprecated (declared at /usr/include/cups/raster.h:339)
    src/document.cpp:84:47: warning: ‘unsigned int cupsRasterReadHeader(cups_raster_t*, cups_page_header_t*)’ is deprecated (declared at /usr/include/cups/raster.h:339)
         CXX               src/core.cpp
         CXX               src/compress.cpp
         CXX               src/algorithm.cpp
         CXX               src/ppdfile.cpp
    src/ppdfile.cpp:285:40: error: ‘PPDFile::Value::Value’ names the constructor, not the type
    src/ppdfile.cpp:285:63: error: ISO C++ forbids declaration of ‘val’ with no type
    src/ppdfile.cpp:285:6: error: prototype for ‘void PPDFile::Value::operator=(const int&)’ does not match any in class ‘PPDFile::Value’
    include/ppdfile.h:199:25: error: candidate is: void PPDFile::Value::operator=(const PPDFile::Value&)
    make: ***  Error 1

     
  • Till Kamppeter
    Till Kamppeter
    2011-02-27

    This problem is already solved in the subversion repository (current development) of SpliX. Please use the current state of the Subversion repository, downloading with

    svn co https://splix.svn.sourceforge.net/svnroot/splix splix

    (you must have the package "svn" or "svn-client" of your distribution installed). For compiling proceed the same way as with the released version.