Skip to contentSkip to conversation

2.4.0-test11-pre6 ntfs compile error

DISCUSSION Frank Davis 3 participants 4 messages Nov 17, 2000

lore
Share & tools
lore
#0 lore raw

Hello,
I just try to compile 2.4.0-test11-pre6, and received the following error (make modules):

inode.c:1054 conflicting types for 'new_inode' /usr/src/liunux/include/linux/fs.h:1153 previous declaration of 'new_inode'

make[2]: ***[inode.o]Error 1
make[2]: Leaving directory '/usr/src/liunux/fs/ntfs'
...
make[1]: *** [modsubdir_ntfs] Error 2

Regards,
Frank

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 5 lines · Frank Davis

Hello,
I just try to compile 2.4.0-test11-pre6, and received the following error (make modules):

inode.c:1054 conflicting types for 'new_inode' /usr/src/liunux/include/linux/fs.h:1153 previous declaration of 'new_inode'

My fault. Hell knows how that part of patch didn't get into the posting (damnit, it was described there)...

Fix:

ed fs/ntfs/inode.c <<EOF
%s/new_inode/ntfs_&/g
w
q
EOF

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
Quoted 11 lines · Alexander Viro
Quoted 2 lines · Frank Davis

Hello,
I just try to compile 2.4.0-test11-pre6, and received the following

error (make modules):

Quoted 3 lines

inode.c:1054 conflicting types for 'new_inode' /usr/src/liunux/include/linux/fs.h:1153 previous declaration of 'new_inode'

My fault. Hell knows how that part of patch didn't get into the posting (damnit, it was described there)...

Quoted 7 lines

Fix:

ed fs/ntfs/inode.c <<EOF
%s/new_inode/ntfs_&/g
w
q
EOF

Not fix enough, I am afraid. You are forgetting fs/ntfs/fs.c. - See the patch I just posted.

Anton

Signature · 12 lines
     "Education is what remains after one has forgotten everything he 
learned in school." - Albert Einstein
-- 
Anton Altaparmakov  Voice: +44-(0)1223-333541(lab) / +44-(0)7712-632205(mobile)
Christ's College    eMail: [email protected] / [email protected]
Cambridge CB2 3BU    ICQ: 8561279
United Kingdom       WWW: http://www-stu.christs.cam.ac.uk/~aia21/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
#3 lore raw
Quoted 15 lines · Anton Altaparmakov
Quoted 14 lines · Alexander Viro
Quoted 2 lines · Frank Davis

Hello,
I just try to compile 2.4.0-test11-pre6, and received the following

error (make modules):

Quoted 3 lines

inode.c:1054 conflicting types for 'new_inode' /usr/src/liunux/include/linux/fs.h:1153 previous declaration of

'new_inode'

My fault. Hell knows how that part of patch didn't get into the posting (damnit, it was described there)...

Fix:

Quoted 7 lines
Quoted 5 lines

ed fs/ntfs/inode.c <<EOF
%s/new_inode/ntfs_&/g
w
q
EOF

Not fix enough, I am afraid. You are forgetting fs/ntfs/fs.c. - See the patch I just posted.

Oops. My fault. I was wrong. Your patch is of course correct! fs/ntfs/fs.c wants the real new_inode...

Apologies,

Anton

Signature · 12 lines
     "Education is what remains after one has forgotten everything he 
learned in school." - Albert Einstein
-- 
Anton Altaparmakov  Voice: +44-(0)1223-333541(lab) / +44-(0)7712-632205(mobile)
Christ's College    eMail: [email protected] / [email protected]
Cambridge CB2 3BU    ICQ: 8561279
United Kingdom       WWW: http://www-stu.christs.cam.ac.uk/~aia21/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/