[uClinux-dev] troubles with compiling kernel

Hasan abbadi abbadi-hasan at hotmail.com
Thu Jun 16 08:21:19 EDT 2011


Hello

I'm new in embedded Linux. 

I'm using ubunu (kernel 2.6.32) and I want to compile linux kernel 2.6 for uclinux-dist-20070130.  The board target is an ARM7TDMI so I chose Atmel as architecture in menuconfig.

When I do 'make' and after 10 minutes I obtain this error:


======================================================================================= 

  CC [M]  drivers/net/r8169.o
drivers/net/tun.c: In function ‘tun_chr_aio_read’:
drivers/net/tun.c:402: attention : passing argument 3 of ‘tun_put_user’ discards qualifiers from pointer target type
drivers/net/tun.c: In function ‘tun_chr_aio_write’:
drivers/net/tun.c:301: attention : passing argument 2 of ‘tun_get_user’ discards qualifiers from pointer target type
  CC [M]  drivers/net/amd8111e.o
  CC [M]  drivers/net/s2io.o
  CC [M]  drivers/net/netconsole.o
  LD      drivers/net/built-in.o
make[1]: *** [drivers] Erreur 2
make[1]: quittant le répertoire « /home/hasan/Bureau/uclinus/uClinux-dist/linux-2.6.x »
make: *** [linux] Erreur 1

=========================================================================================


Any help please?

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20110616/44bcc8b7/attachment.html>


More information about the uClinux-dev mailing list