mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.0-test11-pre6 ntfs compile error
@ 2000-11-17  5:16 ` Frank Davis
  2000-11-17  5:38   ` Alexander Viro
                     ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Frank Davis @ 2000-11-17  5:16 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds, fdavis112

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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.4.0-test11-pre6 ntfs compile error
  2000-11-17  5:16 ` 2.4.0-test11-pre6 ntfs compile error Frank Davis
@ 2000-11-17  5:38   ` Alexander Viro
  2000-11-17 10:23   ` Anton Altaparmakov
  2000-11-17 10:34   ` Anton Altaparmakov
  2 siblings, 0 replies; 4+ messages in thread
From: Alexander Viro @ 2000-11-17  5:38 UTC (permalink / raw)
  To: Frank Davis; +Cc: linux-kernel, torvalds



On Fri, 17 Nov 2000, Frank Davis wrote:

> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.4.0-test11-pre6 ntfs compile error
  2000-11-17  5:16 ` 2.4.0-test11-pre6 ntfs compile error Frank Davis
  2000-11-17  5:38   ` Alexander Viro
@ 2000-11-17 10:23   ` Anton Altaparmakov
  2000-11-17 10:34   ` Anton Altaparmakov
  2 siblings, 0 replies; 4+ messages in thread
From: Anton Altaparmakov @ 2000-11-17 10:23 UTC (permalink / raw)
  To: Alexander Viro; +Cc: Frank Davis, linux-kernel, torvalds

At 05:38 17/11/2000, Alexander Viro wrote:
>On Fri, 17 Nov 2000, Frank Davis wrote:
> > 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

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

Anton


-- 
      "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: AntonA@bigfoot.com / aia21@cam.ac.uk
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.4.0-test11-pre6 ntfs compile error
  2000-11-17  5:16 ` 2.4.0-test11-pre6 ntfs compile error Frank Davis
  2000-11-17  5:38   ` Alexander Viro
  2000-11-17 10:23   ` Anton Altaparmakov
@ 2000-11-17 10:34   ` Anton Altaparmakov
  2 siblings, 0 replies; 4+ messages in thread
From: Anton Altaparmakov @ 2000-11-17 10:34 UTC (permalink / raw)
  To: Alexander Viro; +Cc: Frank Davis, linux-kernel, torvalds

At 10:23 17/11/2000, Anton Altaparmakov wrote:
>At 05:38 17/11/2000, Alexander Viro wrote:
>>On Fri, 17 Nov 2000, Frank Davis wrote:
>> > 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
>
>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


-- 
      "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: AntonA@bigfoot.com / aia21@cam.ac.uk
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-17 11:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.GSO.4.21.0011170037010.14822-100000@weyl.math.psu.edu >
2000-11-17  5:16 ` 2.4.0-test11-pre6 ntfs compile error Frank Davis
2000-11-17  5:38   ` Alexander Viro
2000-11-17 10:23   ` Anton Altaparmakov
2000-11-17 10:34   ` Anton Altaparmakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®