From: "Luís Vitório Cargnini" <lvcargnini@gmail.com>
To: Tiago Maluta <tiago.maluta@gmail.com>,
omap <linux-omap-open-source@linux.omap.com>
Subject: Re: Compiling an image for OMAP
Date: Wed, 08 Aug 2007 15:19:33 -0300 [thread overview]
Message-ID: <46BA0935.7010807@gmail.com> (raw)
In-Reply-To: <600adaf50708080613q3a85196cq56fbbcc139fd990f@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear fellow,
Which is your toolchain ?
try make help and look for which config best fit your initial needs
Tiago Maluta wrote:
> Hi,
>
> I'm trying to compile a kernel image for OMAP platform.
>
> I'm using the sources from kernel.org and from documentation, I put in a
> Makefile:
>
> #--------------------------------------------
> ARCH = arm
> CROSS_COMPILE = arm-none-linux-gnueabi-
> #--------------------------------------------
>
>
> linux-2.6.22.1 # make
>
> scripts/kconfig/conf -s arch/arm/Kconfig
> CHK include/linux/version.h
> SYMLINK include/asm-arm/arch -> include/asm-arm/arch-omap
> make[1]: `include/asm-arm/mach-types.h' está atualizado.
> CHK include/linux/utsrelease.h
> CC arch/arm/kernel/asm-offsets.s
> In file included from include/linux/irqflags.h:46,
> from include/asm/system.h:78,
> from include/asm/bitops.h:23,
> from include/linux/bitops.h:9,
> from include/linux/thread_info.h:20,
> from include/linux/preempt.h:9,
> from include/linux/spinlock.h:49,
> from include/linux/capability.h:47,
> from include/linux/sched.h:46,
> from arch/arm/kernel/asm-offsets.c:13:
> include/asm/irqflags.h:11:5: warning: "__LINUX_ARM_ARCH__" is not defined
> In file included from include/asm/bitops.h:23,
> from include/linux/bitops.h:9,
> from include/linux/thread_info.h:20,
> from include/linux/preempt.h:9,
> from include/linux/spinlock.h:49,
> from include/linux/capability.h:47,
> from include/linux/sched.h:46,
> from arch/arm/kernel/asm-offsets.c:13:
> include/asm/system.h:153:5: warning: "__LINUX_ARM_ARCH__" is not defined
> include/asm/system.h:159:5: warning: "__LINUX_ARM_ARCH__" is not defined
> include/asm/system.h:163:35: warning: "__LINUX_ARM_ARCH__" is not defined
> include/asm/system.h:293:5: warning: "__LINUX_ARM_ARCH__" is not defined
> include/asm/system.h:298:5: warning: "__LINUX_ARM_ARCH__" is not defined
> In file included from include/linux/bitops.h:9,
> from include/linux/thread_info.h:20,
> from include/linux/preempt.h:9,
> from include/linux/spinlock.h:49,
> from include/linux/capability.h:47,
> from include/linux/sched.h:46,
> from arch/arm/kernel/asm-offsets.c:13:
> include/asm/bitops.h:233:5: warning: "__LINUX_ARM_ARCH__" is not defined
> In file included from include/asm/thread_info.h:16,
> from include/linux/thread_info.h:21,
> from include/linux/preempt.h:9,
> from include/linux/spinlock.h:49,
> from include/linux/capability.h:47,
> from include/linux/sched.h:46,
> from arch/arm/kernel/asm-offsets.c:13:
> include/asm/fpstate.h:28:5: warning: "__LINUX_ARM_ARCH__" is not defined
> In file included from include/linux/spinlock.h:326,
> from include/linux/capability.h:47,
> from include/linux/sched.h:46,
> from arch/arm/kernel/asm-offsets.c:13:
> include/asm/atomic.h:25:5: warning: "__LINUX_ARM_ARCH__" is not defined
> In file included from include/linux/jiffies.h:4,
> from include/linux/sched.h:51,
> from arch/arm/kernel/asm-offsets.c:13:
> include/linux/calc64.h: In function 'do_div_llr':
> include/linux/calc64.h:25: error: '__LINUX_ARM_ARCH__' undeclared (first
> use in this function)
> include/linux/calc64.h:25: error: (Each undeclared identifier is
> reported only once
> include/linux/calc64.h:25: error: for each function it appears in.)
> In file included from include/linux/prefetch.h:14,
> from include/linux/list.h:8,
> from include/linux/wait.h:22,
> from include/asm/semaphore.h:9,
> from include/linux/sched.h:59,
> from arch/arm/kernel/asm-offsets.c:13:
> include/asm/processor.h:103:5: warning: "__LINUX_ARM_ARCH__" is not defined
> In file included from include/asm/semaphore.h:13,
> from include/linux/sched.h:59,
> from arch/arm/kernel/asm-offsets.c:13:
> include/asm/locks.h:15:5: warning: "__LINUX_ARM_ARCH__" is not defined
> In file included from include/asm/page.h:32,
> from include/linux/sched.h:60,
> from arch/arm/kernel/asm-offsets.c:13:
> include/asm/glue.h:119:2: error: #error Unknown data abort handler type
> In file included from include/linux/sched.h:60,
> from arch/arm/kernel/asm-offsets.c:13:
> include/asm/page.h:106:2: error: #error Unknown user operations model
> include/asm/page.h:189:31: warning: "__LINUX_ARM_ARCH__" is not defined
> make[1]: ** [arch/arm/kernel/asm-offsets.s] Erro 1
>
> -
> I saw a similar thread in the arm-gnu mail list, but I didn't found
> the solution.
> http://www.codesourcery.com/archives/arm-gnu/msg01214.html
>
> Any suggetions will be helpful.
>
> Thanks,
> - tiago
>
- --
-
------------------------------------------------------------------------------
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 - Building 30
P.O. Box: 90619-900 - Porto Alegre/RS
Phone: +55 51 3320 3500 extension: 7696
-
---------------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGugk1KNrSZaSIZoURAjYpAJ0ai5C7T2JXhRxMKHzWoO6Y0i967ACZAW/I
1hXFScE+JRHhrSPQ47y8wTA=
=RJDm
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2007-08-08 18:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-08 13:13 Compiling an image for OMAP Tiago Maluta
2007-08-08 14:59 ` Felipe Balbi
2007-08-08 15:36 ` Tiago Maluta
2007-08-08 16:39 ` Felipe Balbi
2007-08-08 17:41 ` Kipisz, Steven
2007-08-08 18:19 ` Luís Vitório Cargnini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46BA0935.7010807@gmail.com \
--to=lvcargnini@gmail.com \
--cc=linux-omap-open-source@linux.omap.com \
--cc=tiago.maluta@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.