Hi Hasan,

On 06/16/2011 10:21 PM, Hasan abbadi wrote:
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.

What ARM toolchain are you compiling using?


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

Those look more like warnings than hard errors.

The build will uses a parallel make if it can, it may well be that
the real fatal errors are further back in the output. Can you find
them, or at least send all of the build output.

Regards
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     g...@snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
8 Gardner Close,                            FAX:         +61 7 3891 3630
Milton, QLD, 4064, Australia                WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to