[luci] has anyone *actually* cross-compiled luci for ARM?

Robert P. J. Day rpjday at crashcourse.ca
Thu Jul 29 17:06:24 CEST 2010


  sorry for flogging this but, based on earlier replies to my posts, i
was led to believe that cross-compiling luci for ARM would be
relatively simple and straightforward, but that can't be right.

  i've checked out the trunk from the luci svn repo, and i've also
installed a reliable ARM cross-compile toolchain from technologic
systems, set the search path, then (based on what was suggested
before) typed:

  $ make CC=arm-....-gcc LD=arm-...-ld

the first obvious error was that the header file "curses.h" was
missing.  ok, that makes sense (sort of), since there is no supplied
curses.h header file with the luci source.  this suggests one has to
first cross-compile the curses package and make it available to the
build process.

  after hacking that, the next (predictable) error was that a link
step failed looking for the "lua5.1" library, which seems to suggest
that i first need a cross-compiled lua5.1 for the build.

  none of that is surprising, but it certainly suggests that
cross-compiling luci is not just a matter of running a single make.
has anyone actually *done* this?  from beginning to end?  i can figure
out how to do this, but if anyone wants to save me the time, that
would be terrific.  thanks.

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the luci mailing list