[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another rfe: "cp" this time
From: |
Jim Meyering |
Subject: |
Re: Another rfe: "cp" this time |
Date: |
Tue, 01 May 2012 20:39:49 +0200 |
Bruce Korb wrote:
> Hi Jim,
>
> Thanks for looking. I'll fiddle the strdup. Also:
>
> On Tue, May 1, 2012 at 9:56 AM, Jim Meyering <address@hidden> wrote:
>>> aware. Anyway, with a reasonably recent "libopts"
>>> installation, you can clone this, unroll the .tar
>>> file and build:
>>>
>>> git://github.com/brkorb/pcopy.git
>
> Meaning to avoid the re-generation of the *opts.[ch] files with the "tar"
> files.
> Perhaps:
> tar -xf *.tar ; touch stamp-* ; touch *opts.[ch]
>
> I added stuff (die, vdie and fserr functions) to the output
> and our gnutls friends really wanted the elimination of all NLS
> code, hence the new "anything" value for "no-xlate".
In case you're preparing build-from-clone instructions,
the above did not work for me:
With these commands,
git clone git://github.com/brkorb/pcopy.git && cd pcopy &&
tar -xf *.tar && touch stamp-* && touch *opts.[ch] && make -j1
I get this output:
cc -std=c99 -g -O4 -c -o pcopy.o pcopy.c
In file included from pcopy.c:2:0:
pcopy-opts.h:63:3: error: #error option template version mismatches
autoopts/options.h header
pcopy-opts.h:64:3: error: unknown type name 'Choke'
pcopy-opts.h:64:11: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '.' token
pcopy-opts.h:82:3: warning: data definition has no type or storage class
[enabled by default]
pcopy-opts.h:82:3: warning: type defaults to 'int' in declaration of
'teOptIndex' [enabled by default]
pcopy.c: In function 'copy_start':
pcopy.c:63:11: error: 'INDEX_OPT_QUIET' undeclared (first use in this
function)
pcopy.c:63:11: note: each undeclared identifier is reported only once for
each function it appears in
pcopy.c: In function 'copy_progress':
pcopy.c:106:11: error: 'INDEX_OPT_QUIET' undeclared (first use in this
function)
pcopy.c:114:9: error: 'INDEX_OPT_FLOW_RATE' undeclared (first use in this
function)
pcopy.c: In function 'copy_wrap':
pcopy.c:140:9: error: 'INDEX_OPT_QUIET' undeclared (first use in this
function)
pcopy.c: In function 'do_copy':
pcopy.c:162:29: error: 'INDEX_OPT_MAX_CHUNK' undeclared (first use in this
function)
pcopy.c: In function 'make_dest_name':
pcopy.c:211:11: error: 'INDEX_OPT_DESTINATION' undeclared (first use in this
function)
pcopy.c: In function 'pcopy':
pcopy.c:362:1: error: 'INDEX_OPT_THREAD_CT' undeclared (first use in this
function)
pcopy.c:374:1: error: 'INDEX_OPT_MAX_CHUNK' undeclared (first use in this
function)
pcopy.c:380:9: error: 'INDEX_OPT_FLOW_RATE' undeclared (first use in this
function)
make: *** [pcopy.o] Error 1
[Exit 2]