Opened 5 years ago

Closed 5 years ago

#12420 closed defect (fixed)

asm-generic/posix_types.h: conflicting types for __kernel_fsid_t

Reported by: Hello71 Owned by: developers
Priority: normal Milestone:
Component: toolchain Version: Trunk
Keywords: Cc:


During make world:

ccache_cc -ISNIP/build_dir/linux-brcm47xx/linux-3.3.8/include -Os -pipe -march=mips32 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Dtarget_brcm47xx=1 -Wall -ISNIP/staging_dir/target-mipsel_uClibc- -ISNIP/staging_dir/target-mipsel_uClibc- -ISNIP/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc- -ISNIP/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc- -Wall -c -o mtd.o mtd.c
In file included from SNIP/build_dir/linux-brcm47xx/linux-3.3.8/include/mtd/mtd-abi.h:23:0,

from SNIP/build_dir/linux-brcm47xx/linux-3.3.8/include/mtd/mtd-user.h:26,
from mtd.c:44:

SNIP/build_dir/linux-brcm47xx/linux-3.3.8/include/linux/types.h:13:2: warning: #warning "Attempt to use kernel headers from user space, see" [-Wcpp]
In file included from SNIP/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc-,

from SNIP/build_dir/linux-brcm47xx/linux-3.3.8/include/linux/posix_types.h:47,
from SNIP/build_dir/linux-brcm47xx/linux-3.3.8/include/linux/types.h:17,
from SNIP/build_dir/linux-brcm47xx/linux-3.3.8/include/mtd/mtd-abi.h:23,
from SNIP/build_dir/linux-brcm47xx/linux-3.3.8/include/mtd/mtd-user.h:26,
from mtd.c:44:

SNIP/build_dir/linux-brcm47xx/linux-3.3.8/include/asm-generic/posix_types.h:91:3: error: conflicting types for 'kernel_fsid_t'
SNIP/staging_dir/toolchain-mipsel_gcc-4.6-linaro_uClibc- note: previous declaration of '
kernel_fsid_t' was here
mtd.c: In function 'mtd_write':
mtd.c:495:1: warning: label 'done' defined but not used [-Wunused-label]
make[4]: * [mtd.o] Error 1
make[4]: Leaving directory `SNIP/build_dir/linux-brcm47xx/mtd'
* [SNIP/build_dir/linux-brcm47xx/mtd/.built] Error 2
make[3]: Leaving directory `SNIP/package/mtd'
make[2]: * [package/mtd/compile] Error 2
make[2]: Leaving directory `SNIP'
* [SNIP/staging_dir/target-mipsel_uClibc-] Error 2
make[1]: Leaving directory `SNIP'
make: * [world] Error 2

Using trunk cloned from git://

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by nbd

fixed in r34071

comment:2 Changed 5 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.