Re: Compiling L4Linux for Pandaboard ARM Error

Matthias Lange <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Hi,

> On 25 Mar 2014, at 11:34, Erry Pradana Darajati <[email protected]> wrote:
> 
> Hello L4 Hackers,
> i am doing a project that involve L4 and Pandaboard Rev.B1
> So far, i am successful to boot Fiasco with L4Re in it. And now, i'm moving on to boot the L4Linux to Pandaboard
> 
> I'm following the tuts from wiki tudos quickstart. But when i'm try to make the L4Linux, it gave me an error like this :
> 
> ===============================================
>   GEN     /media/chiqiVstorage/l4resnap/src/l4linux/TArev2/Makefile
>   CHK     include/generated/uapi/linux/version.h
>   CC      scripts/mod/empty.o
>   HOSTCC  scripts/mod/mk_elfconfig
> gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’
> gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
>   CC      scripts/mod/devicetable-offsets.s
> gcc: error: unrecognized command line option ‘-mno-thumb-interwork’
> make[3]: *** [scripts/mod/empty.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’
> gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
> gcc: error: unrecognized command line option ‘-mno-thumb-interwork’
> make[3]: *** [scripts/mod/devicetable-offsets.s] Error 1
> make[2]: *** [scripts/mod] Error 2
> make[1]: *** [scripts] Error 2
> make[1]: *** Waiting for unfinished jobs....
> make: *** [sub-make] Error 2
> ================================================================
> 
> Is this error caused by my GCC ? i am using GCC from the default repository of ubuntu 13.10

You need an ARM cross compiler and tell the Linux build system via the CROSS_COMPILE environment variable about it.

> And also, when i'm try to make mrproper it gave me error :
> 
> ERROR:
>     Cannot determine L4 source directory
>     Please properly set the path to your L4 build directory
>     in the configuration menu.
> 
> But i'm sure i set in the wrong path

You need to point it to the root of your l4re obj directory.

Matthias.

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.