Hey, I just pull linux-master and checkout tag v3.17-rc5. I think linux-master should always compiles successfully, but it seems I am wrong? I got the error: In file included from drivers/gpu/drm/nouveau/core/core/client.c:29:0: drivers/gpu/drm/nouveau/core/include/nvif/unpack.h:1:1: error: expected identifier or ‘(’ before ‘.’ token ../../../nvif/unpack.h ^ drivers/gpu/drm/nouveau/core/core/client.c:43:29: error: field ‘v0’ has incomplete type struct nvif_notify_rep_v0 v0; ^ etc... The file drivers/gpu/drm/nouveau/core/include/nvif/unpack.h should contain just "../../../nvif/unpack.h"? Why? Is it just an error or I did something wrong? Thanks.
On Sep 18, 2014 7:51 PM, "Kinka Huang" <kinkabrain@gmail.com> wrote:
Hey, I just pull linux-master and checkout tag v3.17-rc5. I think linux-master should always compiles successfully, but it seems I am wrong? I got the error:
can you please post your config file . thanks sudip
In file included from drivers/gpu/drm/nouveau/core/core/client.c:29:0: drivers/gpu/drm/nouveau/core/include/nvif/unpack.h:1:1: error: expected identifier or '(' before '.' token ../../../nvif/unpack.h ^ drivers/gpu/drm/nouveau/core/core/client.c:43:29: error: field 'v0' has incomplete type struct nvif_notify_rep_v0 v0; ^ etc...
The file drivers/gpu/drm/nouveau/core/include/nvif/unpack.h should contain just "../../../nvif/unpack.h"? Why? Is it just an error or I did something wrong?
Thanks.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Thu, 18 Sep 2014 22:19:40 +0800, Kinka Huang said:
In file included from drivers/gpu/drm/nouveau/core/core/client.c:29:0: drivers/gpu/drm/nouveau/core/include/nvif/unpack.h:1:1: error: expected identifier or ( before . token ../../../nvif/unpack.h
Your tree is somehow corrupted. The first few lines of my copy of unpack.h look like this: #ifndef __NVIF_UNPACK_H__ #define __NVIF_UNPACK_H__ #define nvif_unvers(d) ({ and 'git log drivers/gpu/drm/nouveau/core/include/nvif/unpack.h' reports it's never been touched since initial creation: commit 79ca27706a034b683196c85f5c6901b78e5ab8f0 Author: Ben Skeggs <bskeggs@redhat.com> Date: Sun Aug 10 04:10:20 2014 +1000 drm/nouveau/core: rework event interface Not sure what happened to it - if you're doing this on a laptop, one possibility is the lack of ECC memory causing a single-bit error in a pointer, causing wrong blocks to have been written to the disk. Other hardware or software errors are also still on the table.
participants (3)
-
Kinka Huang -
Sudip Mukherjee -
Valdis.Kletnieks@vt.edu