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

[microblaze-uclinux] uClibc support



Hi,

If I enable uClibc support for petalinux then I get following errors while compiling. Any idea how to get around it? I want the uClibc support as one of my applications needs WCHAR support.

 

-mno-xl-soft-div -mxl-barrel-shift -mcpu=v7.10.a -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -mno-xl-soft-mul -mno-xl-soft-div -mxl-barrel-shift -mcpu=v7.10.a -DEMBED    -fno-builtin -nostdinc -D_LIBC -I../../include -I. -isystem /home/ambhat/peta/petalinux-v0.40-rc3/tools/linux-i386/microblaze-uclinux-tools/bin/../lib/gcc/microblaze-uclinux/3.4.1/include -DNDEBUG -c ether_addr.c -o ether_addr.o

In file included from ../../include/linux/posix_types.h:47,

                 from ../../include/linux/types.h:14,

                 from ../../include/linux/if_ether.h:24,

                 from ../../include/netinet/if_ether.h:26,

                 from ../../include/netinet/ether.h:26,

                 from ether_addr.c:32:

../../include/asm/posix_types.h:18: error: redefinition of typedef '__kernel_ino_t'

../../include/bits/kernel_types.h:20: error: previous declaration of '__kernel_ino_t' was here

../../include/asm/posix_types.h:19: error: redefinition of typedef '__kernel_mode_t'

../../include/bits/kernel_types.h:22: error: previous declaration of '__kernel_mode_t' was here

../../include/asm/posix_types.h:20: error: redefinition of typedef '__kernel_nlink_t'

../../include/bits/kernel_types.h:23: error: previous declaration of '__kernel_nlink_t' was here

../../include/asm/posix_types.h:21: error: redefinition of typedef '__kernel_off_t'

../../include/bits/kernel_types.h:24: error: previous declaration of '__kernel_off_t' was here

../../include/asm/posix_types.h:22: error: redefinition of typedef '__kernel_pid_t'

../../include/bits/kernel_types.h:26: error: previous declaration of '__kernel_pid_t' was here

../../include/asm/posix_types.h:23: error: conflicting types for '__kernel_ipc_pid_t'

../../include/bits/kernel_types.h:27: error: previous declaration of '__kernel_ipc_pid_t' was here

../../include/asm/posix_types.h:24: error: redefinition of typedef '__kernel_uid_t'

../../include/bits/kernel_types.h:28: error: previous declaration of '__kernel_uid_t' was here

../../include/asm/posix_types.h:25: error: redefinition of typedef '__kernel_gid_t'

 

Thanks & regards,

Amruta Bhat