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: Wed, 22 Aug 2012 13:28:08 +0100

Good questions.  Answer: I don't know.  In the meanwhile, I think the source of 
the problem might be at the bottom of this snip:

$ more config.log
configure:3109: result: nawk
configure:3120: checking whether make sets $(MAKE)
configure:3142: result: yes
configure:3231: checking how to create a ustar tar archive
configure:3244: tar --version
tar: illegal option -- -
Usage: tar -{c|r|t|u|x} [ -BdDEFhilmopRsUvwZ ] [ -Number ] [ -f TarFile ]
           [ -b Blocks ] [ -S [ Feet ] | [ address@hidden ] | [ Blocksb ] ]
           [ -L InputList ] [-X ExcludeFile] [ -N Blocks ] [ -C Directory ] File
 ...
Usage: tar {c|r|t|u|x} [ bBdDEfFhilLXmNopRsSUvwZ[0-9] ]
           [ Blocks ] [ TarFile ] [ InputList ] [ ExcludeFile ]
           [ [ Feet ] | [ address@hidden ] | [ Blocksb ] ] [-C Directory ] File 
..
.
configure:3247: $? = 1
configure:3244: gnutar --version
./configure[3245]: gnutar:  not found
configure:3247: $? = 127
configure:3244: gtar --version
./configure[3245]: gtar:  not found
configure:3247: $? = 127
configure:3287: tardir=conftest.dir && eval gtar --format=ustar -chf - "$tardir"
 >conftest.tar
./configure[3288]: gtar:  not found
configure:3290: $? = 127
configure:3287: tardir=conftest.dir && eval tar chf - "$tardir" >conftest.tar
configure:3290: $? = 0
configure:3294: tar xf - <conftest.tar
configure:3297: $? = 0
configure:3310: result: plaintar
configure:3380: checking for gcc
configure:3396: found /usr/bin/gcc
configure:3407: result: gcc
configure:3639: checking for C compiler version
configure:3647: gcc --version >&5
gcc (GCC) 3.3.2
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3651: $? = 0
configure:3658: gcc -v >&5
Reading specs from /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/specs
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disa
ble-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enabl
e-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0

The version of AIX is 6.1, not 5.3 so I think this old version of GCC is simply 
loading the wrong system libraries.

Doug

-----Original Message-----
From: Paul Eggert [mailto:address@hidden 
Sent: 21 August 2012 21:56
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 08:50 AM, Held, Douglas wrote:
>   echo '#include <sys/types.h>' >test.c
>   echo '#include <sys/device.h>' >>test.c
>   gcc -c test.c

Since that didn't work, what *does* work?
How can one include <sys/device.h>?
Does the file itself say, or does the AIX
documentation say?





reply via email to

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