Re: net/wireless/shipped-certs.c:2:1: error: expected expression at end of input

From: Paul Menzel
Date: Tue Dec 05 2017 - 05:15:09 EST


Dear Johannes,


On 12/05/17 11:03, Johannes Berg wrote:
On Tue, 2017-12-05 at 11:01 +0100, Paul Menzel wrote:

```
$ git describe
v4.15-rc2-79-gfd6d2e506ce6
$ git log --oneline -1
fd6d2e506ce6 Merge tag 'docs-4.15-fixes' of git://git.lwn.net/linux
$ time ARCH=i386 make deb-pkg -j50
[â]
net/wireless/shipped-certs.c:2:1: error: expected expression at end of input
const u8 shipped_regdb_certs[] = {
^~~~~
[â]
$ more net/wireless/shipped-certs.c
#include "reg.h"
const u8 shipped_regdb_certs[] = {
```

Ah, here we go - you probably don't have "hexdump" installed on this
system?

Well, I didnât, but got the error, that hexdump couldnât be found. After installing it, I got the error above, and sent the message.

Removing the file `net/wireless/shipped-certs.c`, and building again, fixed the problem. So I guess, the clean-up task(?) in the build script has a problem.

I thought about doing hexdump in posix shell/awk/sed/whatever
instead... maybe I should do that.

I do not think, itâs necessary, as I got an error, that the executable is not there. No idea, if it is documented somewhere though.


Kind regards,

Paul

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature