I want to thank you again, you pointed me in the right direction, I found a typo with the version exactly as you pointed to, and now its happily compiling.
On Sun, 25 Apr 2021 17:40:47 -0400, Darac Marjal wrote: > > [1 <multipart/mixed (7bit)>] > [1.1 <text/plain (en-GB); UTF-8 (quoted-printable)>] > > On 25/04/2021 20:23, John Covici wrote: > > Hi. In the make bzImage step of compiling linux-source-4.19 I get the > > following error: > > > > CC arch/x86/hyperv/hv_init.o > > arch/x86/hyperv/hv_init.c: In function ‘hyperv_init’: > > arch/x86/hyperv/hv_init.c:338:52: error: expected expression before > > ‘,’ token > > guest_id = generate_guest_id(0, LINUX_VERSION_CODE, 0); > > ^ > > > > make[2]: *** > > [scripts/Makefile.build:309: arch/x86/hyperv/hv_init.o] Error 1 > > > > I am not trying to build the .deb package, just compiling. > > > > Thanks in advance for any suggestions. > > I'm going to guess that the caret is *supposed* to line up with the > second comma on that line, rather than the "0", but it's close enough. > It looks like "LINUX_VERSION_CODE" is undefined, so your code is being > parsed as "generate_guest_id(0, ,0);" which is invalid C code. > > Questions, then: > > * Do you get the same error if you build vanilla Linux (i.e. from > kernel.org? > > * How are you invoking this build? > > * What C compiler (and what version thereof) are you using? > > * Is there a reason you need what's now quite an old kernel? > > > > > > > [2 OpenPGP digital signature <application/pgp-signature (7bit)>] > No public key for 65474135A6EA45B5 created at 2021-04-25T17:40:47-0400 using > RSA -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com