bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] WARNING: ## Report this to address@hidden ##


From: Held, Douglas
Subject: Re: [Bug-tar] WARNING: ## Report this to address@hidden ##
Date: Tue, 21 Aug 2012 16:50:01 +0100

OK, test compile attempts as you specified.  I am not a C developer and am not 
knowledgeable enough to recognize/extend the pattern further. Output however is 
below.

I do see your second question but I will need to repeat the configure/make 
sequence later.

$ echo '#include <sys/device.h>' >test.c
  gcc -c test.c
$ In file included from /usr/include/sys/cred.h:49,
                 from /usr/include/sys/file.h:32,
                 from /usr/include/sys/device.h:36,
                 from test.c:1:
/usr/include/sys/secattr.h:50: error: parse error before "rid_t"
/usr/include/sys/secattr.h:65: error: parse error before '}' token
/usr/include/sys/secattr.h:70: error: parse error before "authnum_t"
/usr/include/sys/secattr.h:76: error: parse error before "aroles"
/usr/include/sys/secattr.h:77: error: parse error before '}' token
/usr/include/sys/secattr.h:121: error: field `sc_attr' has incomplete type
In file included from /usr/include/sys/file.h:32,
                 from /usr/include/sys/device.h:36,
                 from test.c:1:
/usr/include/sys/cred.h:335: error: parse error before "rid_t"
/usr/include/sys/cred.h:350: error: parse error before '}' token
$
$
$
$ echo '#include <sys/types.h>' >test.c
  echo '#include <sys/device.h>' >>test.c
  gcc -c test.c
$ $ In file included from /usr/include/sys/cred.h:49,
                 from /usr/include/sys/file.h:32,
                 from /usr/include/sys/device.h:36,
                 from test.c:2:
/usr/include/sys/secattr.h:50: error: parse error before "rid_t"
/usr/include/sys/secattr.h:65: error: parse error before '}' token
/usr/include/sys/secattr.h:70: error: parse error before "authnum_t"
/usr/include/sys/secattr.h:76: error: parse error before "aroles"
/usr/include/sys/secattr.h:77: error: parse error before '}' token
/usr/include/sys/secattr.h:121: error: field `sc_attr' has incomplete type
In file included from /usr/include/sys/file.h:32,
                 from /usr/include/sys/device.h:36,
                 from test.c:2:
/usr/include/sys/cred.h:335: error: parse error before "rid_t"
/usr/include/sys/cred.h:350: error: parse error before '}' token
$



-----Original Message-----
From: Paul Eggert [mailto:address@hidden 
Sent: 21 August 2012 15:25
To: Held, Douglas
Cc: 'address@hidden'; 'Held, Doug (Fortify/HP ESP)'
Subject: Re: [Bug-tar] WARNING: ## Report this to address@hidden ##

On 08/21/2012 02:01 AM, Held, Douglas wrote:
> $ cat test.c
> #include <sys/types.h>

Sorry, that wasn't the test programs I was worried about.
Can you please try the following?

  echo '#include <sys/device.h>' >test.c
  gcc -c test.c

  echo '#include <sys/types.h>' >test.c
  echo '#include <sys/device.h>' >>test.c
  gcc -c test.c

Also, if you go back to the failing compilation, what
is the output of "make V=1"?  It may include compiler
flags that you'll need in the above tests.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]