Project

General

Profile

Bug #1028 » cpdup-buildlog.txt

msylvan, 06/05/2008 02:17 PM

 
$ cc -D__unused= -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -DNOMD5 -DUSE_PTHREADS -pthread cpdup.c fsmid.c hclink.c hcproto.c misc.c

In file included from /usr/include/sys/stat.h:107,
from cpdup.h:9,
from cpdup.c:58:
/usr/include/bits/stat.h:103: error: expected identifier or ‘(’ before ‘[’ token
/usr/include/bits/stat.h:164: error: expected identifier or ‘(’ before ‘[’ token
cpdup.c: In function ‘DoCopy’:
cpdup.c:941: warning: initialization makes integer from pointer without a cast
In file included from /usr/include/sys/stat.h:107,
from cpdup.h:9,
from fsmid.c:10:
/usr/include/bits/stat.h:103: error: expected identifier or ‘(’ before ‘[’ token
/usr/include/bits/stat.h:164: error: expected identifier or ‘(’ before ‘[’ token
In file included from /usr/include/sys/stat.h:107,
from cpdup.h:9,
from hclink.c:9:
/usr/include/bits/stat.h:103: error: expected identifier or ‘(’ before ‘[’ token
/usr/include/bits/stat.h:164: error: expected identifier or ‘(’ before ‘[’ token
hclink.c: In function ‘hcc_reader_thread’:
hclink.c:181: warning: assignment makes integer from pointer without a cast
In file included from /usr/include/sys/stat.h:107,
from cpdup.h:9,
from hcproto.c:9:
/usr/include/bits/stat.h:103: error: expected identifier or ‘(’ before ‘[’ token
/usr/include/bits/stat.h:164: error: expected identifier or ‘(’ before ‘[’ token
hcproto.c: In function ‘hc_opendir’:
hcproto.c:365: warning: cast to pointer from integer of different size
hcproto.c: In function ‘hc_readdir’:
hcproto.c:409: warning: cast from pointer to integer of different size
hcproto.c:414: warning: cast from pointer to integer of different size
hcproto.c: In function ‘hc_closedir’:
hcproto.c:479: warning: cast from pointer to integer of different size
hcproto.c:482: warning: cast from pointer to integer of different size
hcproto.c:485: warning: cast from pointer to integer of different size
In file included from /usr/include/sys/stat.h:107,
from cpdup.h:9,
from misc.c:7:
/usr/include/bits/stat.h:103: error: expected identifier or ‘(’ before ‘[’ token
/usr/include/bits/stat.h:164: error: expected identifier or ‘(’ before ‘[’ token
(1-1/3)