Subscribe

Fedora 14 compilation error

  1. 2011-02-01 04:45:01 PST
    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: *** [optimized/src/compress.o] Error 1
  2. 2011-02-03 22:49:01 PST
    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.
  3. 2011-02-27 04:48:05 PST
    I installed jbig-kit-devel from rpmfusion but still got errors ... [raivo@zkab splix-2.0.0]$ 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: *** [optimized/src/ppdfile.o] Error 1
  4. 2011-02-27 05:03:56 PST
    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.
  5. 2011-02-27 05:26:20 PST
    Thanks - I installed the driver - 2.0.0 (RPM for LSB 3.2) - from http://www.openprinting.org/printer/Samsung/Samsung-ML-3560 and now it works just fine
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.