DragonFly bugs List (threaded) for 2008-06
DragonFly BSD
DragonFly bugs List (threaded) for 2008-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1028] cpdup: not 64-bit clean


From: Michel Salim <sinknull@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 05 Jun 2008 14:17:08 -0000

New submission from Michel Salim <salimma@fedoraproject.org>:

cpdup cannot be built on 64-bit Linux (probably not on 64-bit DragonFly either,
once that becomes available).

Build log attached (using Fedora 9, GCC 4.3. Same problem occurs with GCC 4. 2
and, as far as I remember, 4.1)

----------
assignedto: dillon
files: cpdup-buildlog.txt
messages: 4742
nosy: dillon, msylvan
priority: bug
status: unread
title: cpdup: not 64-bit clean
topic: pkgsrc

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<https://bugs.dragonflybsd.org/issue1028>
_____________________________________________________
$ 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


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