Problem with cross-compiling CUPSfor ARMprocessor

Tom Morrison tom.morrison at smith-nephew.com
Fri Jul 13 15:27:53 PDT 2012


Michael-

Thank you for replying so quickly!!

I apologize for being such a newbie - just not used to hacking
something like cups/ipptool in order to get it run correctly on
target (I have a lot of experience with programs that are built
for cross-compiling). So, I tried the best, but I still have a problem...

I did as you suggested and configured/compiled the program, but
I am getting a segfault when trying to run ipptools?

Here is my configure line:

./configure --prefix=/home/morrisont/workdir/filesys2 \
   -build=/opt/armCodeSourcery/bin/arm-none-linux-gnueabi-

I go into cups subdirectory, build & install (no errors).
I go to the test directory build & install (no errors)

FYI: CC/LD/AR/RANLIB/STRIP are all defined in environment
  declare -x AR="/opt/armCodeSourcery/bin/arm-none-linux-gnueabi-ar"
  declare -x CC="/opt/armCodeSourcery/bin/arm-none-linux-gnueabi-gcc"
  declare -x CROSS_COMPILE="/opt/armCodeSourcery/bin/arm-none-linux-gnueabi-"
  declare -x CXX="/opt/armCodeSourcery/bin/arm-none-linux-gnueabi-g++"
  declare -x LD="/opt/armCodeSourcery/bin/arm-none-linux-gnueabi-ld"
  declare -x RANLIB="/opt/armCodeSourcery/bin/arm-none-linux-gnueabi-ranlib"
  declare -x strip="/opt/armCodeSourcery/bin/arm-none-linux-gnueabi-strip"

I am thinking that my configure is incorrect and looking in the wrong place
to link for libraries - like in my prefix directory?

Thanks for any guidance you can provide (and in doing so - perhaps help
others too)...

Tom


> Not that I am aware of.  Some network printers do accept JPEG via IPP (pretty much all HP ePrint printers, for example), and you can build the CUPS client stuff (libcups, ipptool) via cross compilation.
>
> On Jul 13, 2012, at 10:53 AM, Tom Morrison wrote:
>
> > Is there some type of alternative to the cups infrastructure for an
> > embedded linux board in order to print a basic JPEG image to a network
> > printer?
> >
> >
> >> The CUPS build system currently does not support cross compilation, sorry...
> >>
> >> Sent from my iPhone
> >>
> >> On Jul 12, 2012, at 1:11 PM, Tom Morrison <tom.morrison at smith-nephew.com> wrote:
> >>
> >>> I am trying to configure and cross compile for the ARM with CUPS 1.5.3.
> >>>
> >>> I have defined the CC/CXX/RANLIB/AR - and I try to compile, but it tries to
> >>> compile and execute on the host two programs:
> >>>
> >>>  Genstrings
> >>>  ManToHTML
> >>>
> >>> which obviously are cross-compiled for the ARM?
> >>>
> >>> Here is whats in my Makedefs
> >>>
> >>>
> > <snip makedefs>
> > _______________________________________________
> > cups mailing list
> > cups at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups
>
> ________________________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>





More information about the cups mailing list