Skip to contentSkip to conversation

2.5.2 - reiserfs::procfs.c fails compile

DISCUSSION David Ford 2 participants 2 messages Jan 15, 2002

lore
Share & tools
lore

David Ford

author
#0 lore raw

Looks like a quick fix, ..I haven't inspected it tho.

-d

gcc -D__KERNEL__ -I/usr/local/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DSMBFS_PARANOIA -c -o inode.o inode.c procfs.c: In function `reiserfs_version_in_proc':
procfs.c:80: conversion to non-scalar type requested
procfs.c: In function `reiserfs_super_in_proc':
procfs.c:137: conversion to non-scalar type requested
procfs.c: In function `reiserfs_per_level_in_proc':
procfs.c:217: conversion to non-scalar type requested
procfs.c: In function `reiserfs_bitmap_in_proc':
procfs.c:296: conversion to non-scalar type requested
procfs.c: In function `reiserfs_on_disk_super_in_proc':
procfs.c:337: conversion to non-scalar type requested
procfs.c: In function `reiserfs_oidmap_in_proc':
procfs.c:390: conversion to non-scalar type requested
procfs.c: In function `reiserfs_journal_in_proc':
procfs.c:441: conversion to non-scalar type requested
procfs.c:494: incompatible type for argument 1 of `bdevname'
procfs.c: In function `reiserfs_proc_register':
procfs.c:581: aggregate value used where an integer was expected
make[3]: *** [procfs.o] Error 1
make[3]: Leaving directory `/usr/local/src/linux/fs/reiserfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/local/src/linux/fs/reiserfs'

#1 lore raw
Quoted 13 lines · David Ford

Looks like a quick fix, ..I haven't inspected it tho. procfs.c:80: conversion to non-scalar type requested procfs.c: In function `reiserfs_super_in_proc':
procfs.c:137: conversion to non-scalar type requested procfs.c: In function `reiserfs_per_level_in_proc':
procfs.c:217: conversion to non-scalar type requested procfs.c: In function `reiserfs_bitmap_in_proc':
procfs.c:296: conversion to non-scalar type requested procfs.c: In function `reiserfs_on_disk_super_in_proc':
procfs.c:337: conversion to non-scalar type requested procfs.c: In function `reiserfs_oidmap_in_proc':
procfs.c:390: conversion to non-scalar type requested procfs.c: In function `reiserfs_journal_in_proc':

Quoted 8 lines

procfs.c:441: conversion to non-scalar type requested procfs.c:494: incompatible type for argument 1 of bdevname' procfs.c: In function reiserfs_proc_register':
procfs.c:581: aggregate value used where an integer was expected make[3]: *** [procfs.o] Error 1
make[3]: Leaving directory `/usr/local/src/linux/fs/reiserfs' make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/local/src/linux/fs/reiserfs'

This is fixed in -dj for a week or two now. I'll put up a resync against 2.5.2 in a few hours after I'm happy it passes the 'builds & boots' test on a few more boxes.

Dave.

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs