cross compile errors

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

 



Spam detection software, running on the system "mail1.perex.cz", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
internet@xxxxxxxx for details.

Content preview:  Hello, I want to cross compile alsa-driver for my arm9 custom
   board , when I build it, I get the following errors: CC [M] /home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.oIn
   file included from /home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:25:/home/zb/alsa/alsa-driver-1.0.17/include/adriver.h:828:
   error: static declaration of 'jiffies_to_msecs' follows non-static declarationinclude/linux/jiffies.h:264:
   error: previous declaration of 'jiffies_to_msecs' was here/home/zb/alsa/alsa-driver-1.0.17/include/adriver.h:847:
   error: static declaration of 'msecs_to_jiffies' follows non-static declarationinclude/linux/jiffies.h:266:
   error: previous declaration of 'msecs_to_jiffies' was hereIn file included
   from /home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:25:/home/zb/alsa/alsa-driver-1.0.17/include/adriver.h:1552:1:
   warning: "page_to_pfn" redefinedIn file included from include/asm/memory.h:329,
   from include/asm/system.h:6, from include/linux/list.h:9, from include/linux/module.h:9,
   from /home/zb/alsa/alsa-driver-1.0.17/include/adriver.h:26, from /home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:25:include/asm-generic/memory_model.h:79:1:
   warning: this is the location of the previous definitionIn file included
  from /home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:26:include/linux/mm.h:
   In function 'lowmem_page_address':include/linux/mm.h:538: error: implicit
   declaration of function 'page_to_pfn'/home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:
   In function 'snd_compat_vmalloc_to_page':/home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:44:
   error: implicit declaration of function 'VMALLOC_VMADDR'/home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:50:
   error: implicit declaration of function 'pte_offset'/home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:50:
   warning: assignment makes pointer from integer without a cast [...] 

Content analysis details:   (13.3 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 0.5 PRX_VIDEO              RAW: Video
 2.8 MIME_BASE64_TEXT       RAW: Message text disguised using base64 encoding
  10 PRX_GB2312_CHARSET     GB2312 charset in Content-Type or Subject


--- Begin Message ---
Hello,
 
I want to cross compile alsa-driver for my arm9 custom board , when I build it, I get the following errors:
 
CC [M]  /home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.oIn file included from /home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:25:/home/zb/alsa/alsa-driver-1.0.17/include/adriver.h:828: error: static declaration of 'jiffies_to_msecs' follows non-static declarationinclude/linux/jiffies.h:264: error: previous declaration of 'jiffies_to_msecs' was here/home/zb/alsa/alsa-driver-1.0.17/include/adriver.h:847: error: static declaration of 'msecs_to_jiffies' follows non-static declarationinclude/linux/jiffies.h:266: error: previous declaration of 'msecs_to_jiffies' was hereIn file included from /home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:25:/home/zb/alsa/alsa-driver-1.0.17/include/adriver.h:1552:1: warning: "page_to_pfn" redefinedIn file included from include/asm/memory.h:329,                 from include/asm/system.h:6,                 from include/linux/list.h:9,                 from include/linux/module.h:9,                 from /home/zb/alsa/alsa-driver-1.0.17/include/adriver.h:26,                 from /home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:25:include/asm-generic/memory_model.h:79:1: warning: this is the location of the previous definitionIn file included from /home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:26:include/linux/mm.h: In function 'lowmem_page_address':include/linux/mm.h:538: error: implicit declaration of function 'page_to_pfn'/home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c: In function 'snd_compat_vmalloc_to_page':/home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:44: error: implicit declaration of function 'VMALLOC_VMADDR'/home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:50: error: implicit declaration of function 'pte_offset'/home/zb/alsa/alsa-driver-1.0.17/acore/memory_wrapper.c:50: warning: assignment makes pointer from integer without a cast
 
 
 
I use the following configure options:
 
export $PREFIX=/opt/alsaexport ARCH=armexport CROSS_COMPILE=/opt/arm-linux/bin/arm-linux-
./configure --prefix=$PREFIX --host=arm-linux --enable-shared --enable-static \  --with-cross=$CROSS_COMPILE \  --with-kernel=/home/zb/embedded/linux-2.6.24.7 \  --with-debug=verbose \  --with-isapnp=no \  --with-cards=s3c2410,soc,s3c24xx-soc,s3c24xx-soc-neo1973-wm8753,s3c24xx-soc-smdk2443-wm9710,s3c24xx-soc-ln2440sbc-alc650
 
 
how can is solve this problem ?
 
 
Thanks
_________________________________________________________________
这里好多好玩的视频,用鼠标点到视频看看,有惊喜!
http://cnweb.search.live.com/video/results.aspx?q=%E5%A5%A5%E8%BF%90%E5%9C%A3%E7%81%AB&mkt=zh-cn&FORM=WLMTWC
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

--- End Message ---

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux