public inbox for trinity@vger.kernel.org
 help / color / mirror / Atom feed
* compile error wrt VERSION
@ 2014-07-11 14:25 Toralf Förster
  2014-07-11 14:35 ` Dave Jones
  0 siblings, 1 reply; 4+ messages in thread
From: Toralf Förster @ 2014-07-11 14:25 UTC (permalink / raw)
  To: trinity

At a 32 bit stable Gentoo Linux I do get (using make -j4):

gical-op -Wstrict-aliasing=3  -o devices.o -c devices.c
In file included from debug.c:13:0:
include/version.h:3:9: error: macro names must be identifiers
debug.c: In function ‘__BUG’:
debug.c:44:23: error: ‘VERSION’ undeclared (first use in this function)
debug.c:44:23: note: each undeclared identifier is reported only once for each function it appears in
make: *** [debug.o] Error 1
make: *** Waiting for unfinished jobs....


-- 
Toralf

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

* Re: compile error wrt VERSION
  2014-07-11 14:25 compile error wrt VERSION Toralf Förster
@ 2014-07-11 14:35 ` Dave Jones
  2014-07-11 14:38   ` Dave Jones
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2014-07-11 14:35 UTC (permalink / raw)
  To: Toralf Förster; +Cc: trinity

On Fri, Jul 11, 2014 at 04:25:47PM +0200, Toralf Förster wrote:
 > At a 32 bit stable Gentoo Linux I do get (using make -j4):
 > 
 > gical-op -Wstrict-aliasing=3  -o devices.o -c devices.c
 > In file included from debug.c:13:0:
 > include/version.h:3:9: error: macro names must be identifiers
 > debug.c: In function ‘__BUG’:
 > debug.c:44:23: error: ‘VERSION’ undeclared (first use in this function)
 > debug.c:44:23: note: each undeclared identifier is reported only once for each function it appears in
 > make: *** [debug.o] Error 1
 > make: *** Waiting for unfinished jobs....

interesting. Can you paste the contents of include/version.h ?

Does this system have git installed ? (Trying to figure out which
part of scripts/gen-versionh.sh is getting run)

	Dave
 

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

* Re: compile error wrt VERSION
  2014-07-11 14:35 ` Dave Jones
@ 2014-07-11 14:38   ` Dave Jones
  2014-07-11 14:48     ` Toralf Förster
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Jones @ 2014-07-11 14:38 UTC (permalink / raw)
  To: Toralf Förster; +Cc: trinity

On Fri, Jul 11, 2014 at 10:35:05AM -0400, Dave Jones wrote:
 > On Fri, Jul 11, 2014 at 04:25:47PM +0200, Toralf Förster wrote:
 >  > At a 32 bit stable Gentoo Linux I do get (using make -j4):
 >  > 
 >  > gical-op -Wstrict-aliasing=3  -o devices.o -c devices.c
 >  > In file included from debug.c:13:0:
 >  > include/version.h:3:9: error: macro names must be identifiers
 >  > debug.c: In function ‘__BUG’:
 >  > debug.c:44:23: error: ‘VERSION’ undeclared (first use in this function)
 >  > debug.c:44:23: note: each undeclared identifier is reported only once for each function it appears in
 >  > make: *** [debug.o] Error 1
 >  > make: *** Waiting for unfinished jobs....
 > 
 > interesting. Can you paste the contents of include/version.h ?
 > 
 > Does this system have git installed ? (Trying to figure out which
 > part of scripts/gen-versionh.sh is getting run)

ah, looks like I screwed up the "no git" case. I just pushed a fix.

	Dave

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

* Re: compile error wrt VERSION
  2014-07-11 14:38   ` Dave Jones
@ 2014-07-11 14:48     ` Toralf Förster
  0 siblings, 0 replies; 4+ messages in thread
From: Toralf Förster @ 2014-07-11 14:48 UTC (permalink / raw)
  To: Dave Jones; +Cc: trinity

On 07/11/2014 04:38 PM, Dave Jones wrote:
> On Fri, Jul 11, 2014 at 10:35:05AM -0400, Dave Jones wrote:
>  > On Fri, Jul 11, 2014 at 04:25:47PM +0200, Toralf Förster wrote:
>  >  > At a 32 bit stable Gentoo Linux I do get (using make -j4):
>  >  > 
>  >  > gical-op -Wstrict-aliasing=3  -o devices.o -c devices.c
>  >  > In file included from debug.c:13:0:
>  >  > include/version.h:3:9: error: macro names must be identifiers
>  >  > debug.c: In function ‘__BUG’:
>  >  > debug.c:44:23: error: ‘VERSION’ undeclared (first use in this function)
>  >  > debug.c:44:23: note: each undeclared identifier is reported only once for each function it appears in
>  >  > make: *** [debug.o] Error 1
>  >  > make: *** Waiting for unfinished jobs....
>  > 
>  > interesting. Can you paste the contents of include/version.h ?
>  > 
>  > Does this system have git installed ? (Trying to figure out which
>  > part of scripts/gen-versionh.sh is getting run)
> 
> ah, looks like I screwed up the "no git" case. I just pushed a fix.

exactly - for the UML test scenario I do not have git.

The fix works - thx.


> 
> 	Dave
> 
> 


-- 
Toralf

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

end of thread, other threads:[~2014-07-11 14:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-11 14:25 compile error wrt VERSION Toralf Förster
2014-07-11 14:35 ` Dave Jones
2014-07-11 14:38   ` Dave Jones
2014-07-11 14:48     ` Toralf Förster

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