All of lore.kernel.org
 help / color / mirror / Atom feed
* linux master cannot compile successfully
@ 2014-09-19  1:28 Kinka Huang
  2014-09-19  5:17 ` Valdis.Kletnieks at vt.edu
  0 siblings, 1 reply; 5+ messages in thread
From: Kinka Huang @ 2014-09-19  1:28 UTC (permalink / raw)
  To: kernelnewbies

@sudip, I used the same config file before this tag and no problem.
The whole config file maybe too much, can you tell me which part to
post? I will post the file later.

@valdis, I am doing that on a laptop. I try to get back the file by
deleting unpack.h and checkout, but the same content remains. And `git
status` or `git log` doesn't show any changes of file "unpack.h" . One
suspicious action is that, I ever moved the whole directory of
linux-master from ext4 to a ntfs driver and compiled it by mounting it
back.
So, there is some way to get the right content back?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* linux master cannot compile successfully
  2014-09-19  1:28 linux master cannot compile successfully Kinka Huang
@ 2014-09-19  5:17 ` Valdis.Kletnieks at vt.edu
  0 siblings, 0 replies; 5+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2014-09-19  5:17 UTC (permalink / raw)
  To: kernelnewbies

On Fri, 19 Sep 2014 09:28:03 +0800, Kinka Huang said:
> @valdis, I am doing that on a laptop. I try to get back the file by
> deleting unpack.h and checkout, but the same content remains. And `git

That's weird indeed.

> status` or `git log` doesn't show any changes of file "unpack.h" . One
> suspicious action is that, I ever moved the whole directory of
> linux-master from ext4 to a ntfs driver

Did the problem start when you did that, or was that an attempt at recovery?

> So, there is some way to get the right content back?

You may have to resort to 'git clone' from git.kernel.org.

Or restore from backups. You *do* have backups, right? :)
-------------- 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/20140919/178f1f0a/attachment.bin 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* linux master cannot compile successfully
  2014-09-18 14:19 ` Kinka Huang
  2014-09-18 15:35   ` Sudip Mukherjee
@ 2014-09-18 16:42   ` Valdis.Kletnieks at vt.edu
  1 sibling, 0 replies; 5+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2014-09-18 16:42 UTC (permalink / raw)
  To: 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.

-------------- 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 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* linux master cannot compile successfully
  2014-09-18 14:19 ` Kinka Huang
@ 2014-09-18 15:35   ` Sudip Mukherjee
  2014-09-18 16:42   ` Valdis.Kletnieks at vt.edu
  1 sibling, 0 replies; 5+ messages in thread
From: Sudip Mukherjee @ 2014-09-18 15:35 UTC (permalink / raw)
  To: kernelnewbies

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 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 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* linux master cannot compile successfully
       [not found] <mailman.855.1411038823.2642.kernelnewbies@kernelnewbies.org>
@ 2014-09-18 14:19 ` Kinka Huang
  2014-09-18 15:35   ` Sudip Mukherjee
  2014-09-18 16:42   ` Valdis.Kletnieks at vt.edu
  0 siblings, 2 replies; 5+ messages in thread
From: Kinka Huang @ 2014-09-18 14:19 UTC (permalink / raw)
  To: kernelnewbies

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-19  5:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-19  1:28 linux master cannot compile successfully Kinka Huang
2014-09-19  5:17 ` Valdis.Kletnieks at vt.edu
     [not found] <mailman.855.1411038823.2642.kernelnewbies@kernelnewbies.org>
2014-09-18 14:19 ` Kinka Huang
2014-09-18 15:35   ` Sudip Mukherjee
2014-09-18 16:42   ` Valdis.Kletnieks at vt.edu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.