I am compiling linux source code for android emulator. I did all the
prerequisites. Now when i try to make(for building and cross-compiling
the linux source) i get the following error.


  CC      drivers/mfd/twl4030-irq.o
  CC      drivers/mfd/da903x.o
  LD      drivers/mfd/built-in.o
  CC [M]  drivers/mfd/sm501.o
  CC [M]  drivers/mfd/htc-pasic3.o
  CC [M]  drivers/mfd/wm8400-core.o
  CC [M]  drivers/mfd/tps65010.o
  CC [M]  drivers/mfd/mfd-core.o
  CC [M]  drivers/mfd/ucb1400_core.o
include/linux/ucb1400.h:137: warning: ‘ucb1400_adc_read’ defined but
not used
  CC [M]  drivers/mfd/pcf50633-core.o
  CC [M]  drivers/mfd/pcf50633-adc.o
  CC [M]  drivers/mfd/pcf50633-gpio.o
  CC      drivers/misc/pmem.o
drivers/misc/pmem.c:441: error: conflicting types for
‘phys_mem_access_prot’
/home/preetam/common/arch/x86/include/asm/pgtable.h:383: note:
previous declaration of ‘phys_mem_access_prot’ was here
drivers/misc/pmem.c: In function ‘flush_pmem_file’:
drivers/misc/pmem.c:805: error: implicit declaration of function
‘dmac_flush_range’
drivers/misc/pmem.c: In function ‘pmem_setup’:
drivers/misc/pmem.c:1265: error: implicit declaration of function
‘ioremap_cached’
drivers/misc/pmem.c:1266: warning: assignment makes pointer from
integer without a cast
make[2]: *** [drivers/misc/pmem.o] Error 1
make[1]: *** [drivers/misc] Error 2
make: *** [drivers] Error 2
root@ubuntu:~/common#



there are some bugs in pmem.c file, can anyone tell how to get rid of
this??

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to