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 10:01:09 +0100

Paul, I am not a C developer but it looks to me like it works. 

$ gcc test.c
ld: 0711-317 ERROR: Undefined symbol: .main
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
$ echo $?
1
$ cat test.c
#include <sys/types.h>

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

On 08/20/2012 02:57 AM, Held, Douglas wrote:
> 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 system-ioctl.h:31,
> 
>                  from rtapelib.c:36:
> 
> /usr/include/sys/secattr.h:50: error: parse error before "rid_t"

How is one supposed to "#include <sys/device.h>" in AIX?

Can you try compiling the following one-line program?

  #include <sys/device.h>

How about the following two-liner?

  #include <sys/types.h>
  #include <sys/device.h>

I hope you get the idea.  We need to find out what
files must be included before we include <sys/device.h>.



reply via email to

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