I am trying to cross compile the cups for mini2440 This is my configuration ./configure --host=arm-linux --prefix=/opt/FriendlyARM/mini2440/root_qtopia --disable-gnutls --disable-gssapi --disable-dbus cups version cups-1.5rc1 but i am getting following errorLinking libcups.so.2... /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm -none-linux-gnueabi/bin/ld: backchannel.o: Relocations in generic ELF (EM: 3) /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm -none-linux-gnueabi/bin/ld: backchannel.o: Relocations in generic ELF (EM: 3) /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm -none-linux-gnueabi/bin/ld: backchannel.o: Relocations in generic ELF (EM: 3) /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm -none-linux-gnueabi/bin/ld: backchannel.o: Relocations in generic ELF (EM: 3) /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm -none-linux-gnueabi/bin/ld: backchannel.o: Relocations in generic ELF (EM: 3) /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm -none-linux-gnueabi/bin/ld: backchannel.o: Relocations in generic ELF (EM: 3) backchannel.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[1]: *** [libcups.so.2] Error 1 make: *** [all] Error 1 can anyone tell me how to solve this issue
CUPS Cross Compiling for MINI2440
I Solved the problem by googling but now i am getting Segmentation Fault when i use lp,lpr,lpq or and cups commands
Segmentation Fault Also Sovled Now i am able to run cups on mini2440. but when say lp , it says schedular error . I tried lp -d /dev/lp0 filename gives connection refused Please help
eh, I've tried cups on mini2440 and i gave up. - cups is too big with php, apache web-server so it run very slow. - scheduler error (the same with Stalin) If your target does not support too much printer or printing protocol so you can write your self printing system like this: ____________ ______ __________ _______ |font control| + |filter| + |scheduler | + | back-end | |(optional)| font control: load and draw font. filter: convert print document to the bitmap and send to the back-end scheduler: like the spooler in window. back-end: work with printer( send command, config paper, handing error) I've just implemented simple printing system( no spooler) and it take about 1 to 1,5 second per ticket with QL570 label printer. Hope this help,
Hello, I suggest you to use buildroot, it may cost you half a day to learn it, but it is really easy to port cups to arm.
Hello stalin, I have same problem how to solve it? Linking libcups.so.2... /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm- none-linux-gnueabi/bin/ld: backchannel.o: Relocations in generic ELF (EM: 3) /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm- none-linux-gnueabi/bin/ld: backchannel.o: Relocations in generic ELF (EM: 3) /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm- none-linux-gnueabi/bin/ld: backchannel.o: Relocations in generic ELF (EM: 3) /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm- none-linux-gnueabi/bin/ld: backchannel.o: Relocations in generic ELF (EM: 3) /opt/EmbedSky/4.3.3/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm- none-linux-gnueabi/bin/ld: backchannel.o: Relocations in generic ELF (EM: 3) backchannel.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[1]: *** [libcups.so.2] Error 1 make: *** [all] Error 1
> backchannel.o: could not read symbols: File in wrong format This error message could mean your ARM cross linker tries to link in a library for your host (x86). BTW: CUPS does its work on the Mini2440. But with 64 MiB of SDRAM it can print only small pages or pages with low resolution. At least if you need Ghostscript as part of the filter chain.