lkml.org 
[lkml]   [2004]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: compile error with 2.6.7-rc3-mm1
On Sat, Jun 12, 2004 at 08:42:07PM -0700, Paul Jackson wrote:
> Try doing the make with V=1
>
> make V=1 drivers/perfctr/x86.o
>
> Determine the exact compilation line (perhaps a couple hundred chars
> long) that issues the error, then manually repeat that line manually
> (cut+paste), adding the option "-save-temps".
>
> This will look something similar to the following, which I generated for
> a different file, different compilation environment (I added the wrapping
> and backslashes for display purposes here):
>
> gcc -save-temps -Wp,-MD,kernel/.cpuset.o.d -nostdinc -iwithprefix \
> include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs \
> -fno-strict-aliasing -fno-common -pipe -msoft-float \
> -mpreferred-stack-boundary=2 -march=pentium4 -mregparm=3 \
> -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer \
> -DKBUILD_BASENAME=cpuset -DKBUILD_MODNAME=cpuset -c -o kernel/cpuset.o \
> kernel/cpuset.c
>
> Then look at the ./x86.i file (in top directory), which is the
> preprocessor output, to see if the (cpumask_t) cast is present.

Much simpler method is to just use:

make drivers/perfctr/x86.i

Same goes for .lst (mixed assembly and c)
and for .s (pure assembler)

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site