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)>]
Thanksfor your quick response, answers in line. > > 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? I did not try that I am wanting to build the exact same kernel as what I have on debian buster which is 4.19.0-16-cloud-amd64 . I copied the config into the linux-source-4.19 and renamed it to .config and did a make oldconfig . Then I did a make bzImage and got the error. > > * How are you invoking this build? > > * What C compiler (and what version thereof) are you using? 4:8.3.0-1 > > * Is there a reason you need what's now quite an old kernel? > See above. > > > > > > [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