Modify

Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#6510 closed defect (invalid)

mtd-tools mkfs.ubifs.c looking for kernel symbols that aren't there yet

Reported by: Brian Capouch <brianc@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

That program seems to want kernel symbols that aren't yet in the build tree?

Output of make V=99 (various revisions up to 19160):

gcc -I../include -I../ubi-utils/include -D_FILE_OFFSET_BITS=64 -O2 -I/usr/src/brianc/trunk/staging_dir/host/include -I/usr/src/brianc/trunk/build_dir/host/mtd-20090505/include -L/usr/src/brianc/trunk/build_dir/host/mtd-20090505 -L/usr/src/brianc/trunk/staging_dir/host/lib -c -o /usr/src/brianc/trunk/build_dir/host/mtd-20090505/mkfs.ubifs/mkfs.ubifs.o mkfs.ubifs.c -g -Wp,-MD,/usr/src/brianc/trunk/build_dir/host/mtd-20090505/mkfs.ubifs/.mkfs.ubifs.c.dep
mkfs.ubifs.c: In function `add_inode_with_data':
mkfs.ubifs.c:1032: error: `FS_COMPR_FL' undeclared (first use in this function)
mkfs.ubifs.c:1032: error: (Each undeclared identifier is reported only once
mkfs.ubifs.c:1032: error: for each function it appears in.)
mkfs.ubifs.c:1034: error: `FS_SYNC_FL' undeclared (first use in this function)
mkfs.ubifs.c:1036: error: `FS_IMMUTABLE_FL' undeclared (first use in this function)
mkfs.ubifs.c:1038: error: `FS_APPEND_FL' undeclared (first use in this function)
mkfs.ubifs.c:1040: error: `FS_DIRSYNC_FL' undeclared (first use in this function)
mkfs.ubifs.c: In function `add_dir_inode':
mkfs.ubifs.c:1111: error: `FS_IOC_GETFLAGS' undeclared (first use in this function)
mkfs.ubifs.c: In function `add_file':
mkfs.ubifs.c:1297: error: `FS_COMPR_FL' undeclared (first use in this function)
mkfs.ubifs.c: In function `add_non_dir':
mkfs.ubifs.c:1341: error: `FS_IOC_GETFLAGS' undeclared (first use in this function)

Attachments (0)

Change History (2)

comment:1 Changed 8 years ago by lars

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

It's looking for those defines in your hosts include/linux/fs.h.
Looks like it's broken on your system. Please reinstall your distributions linux headers package.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.