Skip to contentSkip to conversation

linux master cannot compile successfully

DISCUSSION Kinka Huang 3 participants 3 messages Sep 18, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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.

#2 lore raw
Quoted 5 lines · Kinka Huang

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

Quoted 16 lines

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?

Quoted 6 lines

Thanks.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140918/70d0727e/attachment.html

#3 lore raw
In reply to Kinka Huang
Quoted 4 lines · Kinka Huang

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 <[email protected]>
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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140918/edb4c92e/attachment.bin