Re: Misbehaviour with "make foo.ko"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17.2.2011 17:49, Alan Cox wrote:
> Trying to rebuild single modules gets into a mess
> 
> [alan@pyx linux-psbdev]$ make drivers/staging/mrst/pvr/psb_gfx.ko
>   CHK     include/linux/version.h
>   CHK     include/generated/utsrelease.h
>   CALL    scripts/checksyscalls.sh
>   CC [M]  drivers/staging/mrst/pvr/../drv/psb_fb.o
>   CC [M]  drivers/staging/mrst/pvr/../drv/psb_intel_lvds.o
>   LD [M]  drivers/staging/mrst/pvr/psb_gfx.o
>   MODPOST 1 modules
> ERROR: "ttm_object_device_release" [drivers/staging/mrst/pvr/psb_gfx.ko]
> undefined!
> ERROR ...

It works fine here with 2.6.38-rc5 and ext3.ko:

$ touch fs/ext3/namei.c
$ make O=/dev/shm/build fs/ext3/ext3.ko
  Using /labs/mmarek/linux-2.6 as source for kernel
  GEN     /dev/shm/build/Makefile
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    /labs/mmarek/linux-2.6/scripts/checksyscalls.sh
  CC [M]  fs/ext3/namei.o
  LD [M]  fs/ext3/ext3.o
  MODPOST 3065 modules
WARNING: modpost: Found 56 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  LD [M]  fs/ext3/ext3.ko
$

Where do I find the psb_gfx driver? I don't see it in linux-next.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux