From: Andrew Morton <akpm@linux-foundation.org>
To: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: linux-kernel@vger.kernel.org, Dan Williams <dan.j.williams@intel.com>
Subject: Re: Build error : 2.6.21-rc6-mm1 for arm
Date: Tue, 10 Apr 2007 18:25:02 -0700 [thread overview]
Message-ID: <20070410182502.a09632b2.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070411005420.GF15262@Krystal>
On Tue, 10 Apr 2007 20:54:20 -0400
Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> wrote:
> I get the following build error when compiling 2.6.21-rc6-mm1 for arm
> "footbridge" :
>
> ...
>
> make -f /home/compudj/git/linux-2.6-lttng/scripts/Makefile.build obj=init
> /opt/crosstool/gcc-4.0.2-glibc-2.3.6/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-gcc -Wp,-MD,init/.main.o.d -nostdinc -isystem /opt/crosstool/gcc-4.0.2-glibc-2.3.6/arm-unknown-linux-gnu/lib/gcc/arm-unknown-linux-gnu/4.0.2/include -D__KERNEL__ -Iinclude -Iinclude2 -I/home/compudj/git/linux-2.6-lttng/include -include include/linux/autoconf.h -mlittle-endian -I/home/compudj/git/linux-2.6-lttng/init -Iinit -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -marm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -mabi=apcs-gnu -mno-thumb-interwork -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=strongarm110 -msoft-float -Uarm -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(main)" -D"KBUILD_MODNAME=KBUILD_STR(main)" -c -o init/main.o /home/compudj/git/linux-2.6-lttng/init/main.c
> In file included from /home/compudj/git/linux-2.6-lttng/include/linux/dma-mapping.h:34,
> from /home/compudj/git/linux-2.6-lttng/include/linux/dmaengine.h:29,
> from /home/compudj/git/linux-2.6-lttng/include/linux/skbuff.h:30,
> from /home/compudj/git/linux-2.6-lttng/include/linux/netlink.h:140,
> from /home/compudj/git/linux-2.6-lttng/include/linux/genetlink.h:4,
> from /home/compudj/git/linux-2.6-lttng/include/net/genetlink.h:4,
> from /home/compudj/git/linux-2.6-lttng/include/linux/taskstats_kern.h:12,
> from /home/compudj/git/linux-2.6-lttng/init/main.c:45:
> include2/asm/dma-mapping.h: In function 'dma_sync_single_range_for_cpu':
> include2/asm/dma-mapping.h:320: warning: implicit declaration of function 'dma_sync_single_for_cpu'
> include2/asm/dma-mapping.h: In function 'dma_sync_single_range_for_device':
> include2/asm/dma-mapping.h:329: warning: implicit declaration of function 'dma_sync_single_for_device'
> include2/asm/dma-mapping.h: At top level:
> include2/asm/dma-mapping.h:352: warning: conflicting types for 'dma_sync_single_for_cpu'
> include2/asm/dma-mapping.h:352: error: static declaration of 'dma_sync_single_for_cpu' follows non-static declaration
> include2/asm/dma-mapping.h:320: error: previous implicit declaration of 'dma_sync_single_for_cpu' was here
> include2/asm/dma-mapping.h:360: warning: conflicting types for 'dma_sync_single_for_device'
> include2/asm/dma-mapping.h:360: error: static declaration of 'dma_sync_single_for_device' follows non-static declaration
> include2/asm/dma-mapping.h:329: error: previous implicit declaration of 'dma_sync_single_for_device' was here
> make[2]: *** [init/main.o] Error 1
> make[1]: *** [init] Error 2
> make: *** [_all] Error 2
Dan, this is caused by git-md-accel.patch
>
> my .config :
next prev parent reply other threads:[~2007-04-11 1:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-11 0:54 Mathieu Desnoyers
2007-04-11 1:25 ` Andrew Morton [this message]
2007-04-11 1:52 ` Williams, Dan J
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=20070410182502.a09632b2.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=dan.j.williams@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.desnoyers@polymtl.ca \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®