mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Error when compiling 2.4.7ac6
@ 2001-08-05  0:25 Matthew Gardiner
  0 siblings, 0 replies; 5+ messages in thread
From: Matthew Gardiner @ 2001-08-05  0:25 UTC (permalink / raw)
  To: Mr Kernel Dude


gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
pipe -mpreferred-stack-boundary=2 -march=i686    -DEXPORT_SYMTAB -c check.c
In file included from check.c:28:
ldm.h:100: warning: `SYS_IND' redefined
ldm.h:84: warning: this is the location of the previous definition
ldm.h:104: warning: `NR_SECTS' redefined
ldm.h:88: warning: this is the location of the previous definition
ldm.h:109: warning: `START_SECT' redefined
ldm.h:92: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes 
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
pipe -mpreferred-stack-boundary=2 -march=i686    -c -o msdos.o msdos.c
rm -f partitions.o

-- 
I am the blue screen of death
no body can hear your screams


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

* Re: Error when compiling 2.4.7ac6
       [not found] <no.id>
                   ` (2 preceding siblings ...)
  2001-08-05  1:43 ` Alan Cox
@ 2001-08-05  1:58 ` Anton Altaparmakov
  3 siblings, 0 replies; 5+ messages in thread
From: Anton Altaparmakov @ 2001-08-05  1:58 UTC (permalink / raw)
  To: Alan Cox; +Cc: Alan Cox, Matthew Gardiner, Mr Kernel Dude

At 02:43 05/08/2001, Alan Cox wrote:
> > It's quite funny gcc-2.96 doesn't give these warnings. Perhaps it sees 
> that
> > the defines are identical and shuts up?
>
>They are actually not identical - the bracketing varies

Oh, ok. I didn't know they hadn't been copied verbatim...

Anton


-- 
   "Nothing succeeds like success." - Alexandre Dumas
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/


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

* Re: Error when compiling 2.4.7ac6
       [not found] <no.id>
  2001-08-05  0:46 ` Alan Cox
  2001-08-05  1:39 ` Anton Altaparmakov
@ 2001-08-05  1:43 ` Alan Cox
  2001-08-05  1:58 ` Anton Altaparmakov
  3 siblings, 0 replies; 5+ messages in thread
From: Alan Cox @ 2001-08-05  1:43 UTC (permalink / raw)
  To: Anton Altaparmakov; +Cc: Alan Cox, Matthew Gardiner, Mr Kernel Dude

> It's quite funny gcc-2.96 doesn't give these warnings. Perhaps it sees that 
> the defines are identical and shuts up?

They are actually not identical - the bracketing varies

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

* Re: Error when compiling 2.4.7ac6
       [not found] <no.id>
  2001-08-05  0:46 ` Alan Cox
@ 2001-08-05  1:39 ` Anton Altaparmakov
  2001-08-05  1:43 ` Alan Cox
  2001-08-05  1:58 ` Anton Altaparmakov
  3 siblings, 0 replies; 5+ messages in thread
From: Anton Altaparmakov @ 2001-08-05  1:39 UTC (permalink / raw)
  To: Alan Cox; +Cc: Matthew Gardiner, Mr Kernel Dude

At 01:46 05/08/2001, Alan Cox wrote:
> > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> > pipe -mpreferred-stack-boundary=2 -march=i686    -DEXPORT_SYMTAB -c check.c
> > In file included from check.c:28:
> > ldm.h:100: warning: `SYS_IND' redefined
> > ldm.h:84: warning: this is the location of the previous definition
> > ldm.h:104: warning: `NR_SECTS' redefined
> > ldm.h:88: warning: this is the location of the previous definition
> > ldm.h:109: warning: `START_SECT' redefined
> > ldm.h:92: warning: this is the location of the previous definition
> > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> > -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> > pipe -mpreferred-stack-boundary=2 -march=i686    -c -o msdos.o msdos.c
> > rm -f partitions.o
>
>Thanks - fixed

It's quite funny gcc-2.96 doesn't give these warnings. Perhaps it sees that 
the defines are identical and shuts up?

Anton


-- 
   "Nothing succeeds like success." - Alexandre Dumas
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/


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

* Re: Error when compiling 2.4.7ac6
       [not found] <no.id>
@ 2001-08-05  0:46 ` Alan Cox
  2001-08-05  1:39 ` Anton Altaparmakov
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Alan Cox @ 2001-08-05  0:46 UTC (permalink / raw)
  To: Matthew Gardiner; +Cc: Mr Kernel Dude

> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes 
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
> pipe -mpreferred-stack-boundary=2 -march=i686    -DEXPORT_SYMTAB -c check.c
> In file included from check.c:28:
> ldm.h:100: warning: `SYS_IND' redefined
> ldm.h:84: warning: this is the location of the previous definition
> ldm.h:104: warning: `NR_SECTS' redefined
> ldm.h:88: warning: this is the location of the previous definition
> ldm.h:109: warning: `START_SECT' redefined
> ldm.h:92: warning: this is the location of the previous definition
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes 
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common 
> pipe -mpreferred-stack-boundary=2 -march=i686    -c -o msdos.o msdos.c
> rm -f partitions.o

Thanks - fixed 

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

end of thread, other threads:[~2001-08-05  1:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-05  0:25 Error when compiling 2.4.7ac6 Matthew Gardiner
     [not found] <no.id>
2001-08-05  0:46 ` Alan Cox
2001-08-05  1:39 ` Anton Altaparmakov
2001-08-05  1:43 ` Alan Cox
2001-08-05  1:58 ` 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®