compile error wrt VERSION
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 identifiersdebug.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....
Signature · 1 line
Toralf
Quoted 10 lines · Toralf Förster
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 identifiersdebug.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
Quoted 12 lines · Dave Jones
Quoted 10 lines · Toralf Förster
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 identifiersdebug.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....
Quoted 4 lines
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.shis getting run)
ah, looks like I screwed up the "no git" case. I just pushed a fix.
Dave
Quoted 13 lines · Dave Jones
Quoted 12 lines · Dave Jones
Quoted 10 lines · Toralf Förster
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 identifiersdebug.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....
Quoted 6 lines
Quoted 4 lines
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.shis 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.
Quoted 4 lines
Dave
Signature · 1 line
Toralf