Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: fsvs & MacOS 10.4

fsvs
Discussion topic

Back to topic list

Re: fsvs & MacOS 10.4

Author benjaminm
Full name Benjamin M.
Date 2006-08-22 11:07:13 PDT
Message Here with:

$ svn update
At revision 397.

$ make
ctags ac_list.c actions.c add_unvers.c build.c checksum.c commit.c
direnum.c est_ops.c export.c fsvs.c helper.c ignore.c info.c init.c
pwcache.c racallback.c remote.c status.c sync.c update.c waa.c
warnings.c actions.h add_unvers.h build.h checksum.h commit.h config.h
direnum.h est_ops.h export.h global.h helper.h ignore.h info.h init.h
interface.h pwcache.h racallback.h remote.h status.h sync.h update.h
waa.h warnings.h
Duplicate entry in file direnum.c, line 117: fsvs_dirent
Second entry ignored
Duplicate entry in file direnum.c, line 118: dir__handle
Second entry ignored
Duplicate entry in file direnum.c, line 135: dir__enum
Second entry ignored
Duplicate entry in file direnum.c, line 152: dir__close
Second entry ignored
Duplicate entry in file direnum.c, line 164: dir__get_dir_size
Second entry ignored
Duplicate entry in files config.h and actions.h: void (Warning only)
Duplicate entry in file global.h, line 270: DEBUGP
Second entry ignored
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o fsvs.o fsvs.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o ac_list.o ac_list.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o actions.o actions.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o add_unvers.o add_unvers.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o build.o build.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o checksum.o checksum.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o commit.o commit.c
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o direnum.o direnum.c
direnum.c: In function 'dir__get_dir_size':
direnum.c:174: warning: label 'ex' defined but not used
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/apr/include -idirafter
/usr/local/apr/include/apr-0 -idirafter /usr/local/pcre-6.7/include
-idirafter /usr/local/include -idirafter /usr/include -idirafter
/openpkg/include -idirafter /usr/local/apr/include/apr-0 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-0 -idirafter
/usr/local/pcre-6.7/​include/apr-0 -idirafter /usr/local/include/apr-0
-idirafter /usr/include/apr-0 -idirafter /openpkg/include/apr-0
-idirafter /usr/local/apr/include/apr-1 -idirafter
/usr/local/apr/inclu​de/apr-0/apr-1 -idirafter
/usr/local/pcre-6.7/​include/apr-1 -idirafter /usr/local/include/apr-1
-idirafter /usr/include/apr-1 -idirafter /openpkg/include/apr-1 -Os
-DFSVS_VERSION='"trunk:396"' -c -o est_ops.o est_ops.c
est_ops.c: In function 'ops__string_to_dev':
est_ops.c:81: error: '__S_IFLNK' undeclared (first use in this function)
est_ops.c:81: error: (Each undeclared identifier is reported only once
est_ops.c:81: error: for each function it appears in.)
est_ops.c:95: error: '__S_IFCHR' undeclared (first use in this function)
est_ops.c:95: error: '__S_IFBLK' undeclared (first use in this function)
est_ops.c:99: error: '__S_IFMT' undeclared (first use in this function)
est_ops.c: In function 'ops___stat_to_action':
est_ops.c:220: warning: format '%Ld' expects type 'long long int', but
argument 5 has type 'dev_t'
est_ops.c:220: warning: format '%Ld' expects type 'long long int', but
argument 6 has type 'dev_t'
est_ops.c: In function 'ops__load_1entry':
est_ops.c:279: warning: format '%o' expects type 'unsigned int *', but
argument 3 has type 'mode_t *'
est_ops.c:279: warning: format '%Ld' expects type 'long long int *', but
argument 11 has type 'ino_t *'
est_ops.c:279: warning: format '%Ld' expects type 'long long int *', but
argument 12 has type 'ino_t *'
est_ops.c: In function 'ops__save_1entry':
est_ops.c:354: warning: format '%Ld' expects type 'long long int', but
argument 11 has type 'ino_t'
est_ops.c:354: warning: format '%Ld' expects type 'long long int', but
argument 12 has type 'ino_t'
make: *** [est_ops.o] Error 1


Philipp Marek wrote, On 22/08/06 12:48:
> On Tuesday 22 August 2006 15:33 Philipp Marek wrote:
>
>> I now tried for several hours to find the magic combination of preprocessor
>> defines, to get the functions lstat() and fstat() and the struct stat
>> automatically mapped to lstat64() and fstat64() and struct stat64.
>> I tried AC_SYS_LARGEFILE in configure.in and some combinations
>> of -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64
>> -D_LARGEFILE64_SOURCE=1 -D_LARGEFILE_SOURCE=1 but didn't get it.
>>
>> I read /usr/include/features.h, /usr/include/sys/cdefs.h
>> and /usr/include/sys/stat.h but didn't get any wiser.
>>
>> Does anybody know how to get the automatic mapping 32 -> 64bit functions?
>>
> Well, never mind. The correct way is using *only* -D_FILE_OFFSET_BITS=64 - and
> nothing else.
>
> So the currently committed version has no longer lseek64() and similar, but
> switches depending on system type.
>
> If someone gets problems with files >=2GB, please tell.
>
> Ben, could you please try again with current trunk?
> Thank you!
>
>
> Regards,
>
> Phil
>
>
>
Attachments

« Previous message in topic | 10 of 29 | Next message in topic »

Messages

Show all messages in topic

Re: fsvs & openbsd pmarek P.Marek 2006-08-17 09:42:51 PDT
     Re: fsvs &amp; openbsd Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> 2006-08-17 11:30:08 PDT
         Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-17 12:30:45 PDT
     Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-17 12:55:51 PDT
     Re: fsvs &amp; openbsd benjaminm Benjamin M. 2006-08-17 19:51:31 PDT
         Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-18 08:26:04 PDT
             Re: fsvs &amp; MacOS 10.4 benjaminm Benjamin M. 2006-08-19 15:49:20 PDT
                 Re: fsvs &amp; MacOS 10.4 pmarek P.Marek 2006-08-22 06:33:10 PDT
                     Re: fsvs &amp; MacOS 10.4 pmarek P.Marek 2006-08-22 09:48:49 PDT
                         Re: fsvs &amp; MacOS 10.4 benjaminm Benjamin M. 2006-08-22 11:07:13 PDT
     Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-18 12:21:26 PDT
         Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-19 12:06:29 PDT
             Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-19 13:47:57 PDT
                 Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-20 11:37:37 PDT
                     Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-20 11:59:18 PDT
                         Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-22 05:40:39 PDT
                             Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-22 09:49:50 PDT
                                 Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-22 10:30:46 PDT
                                     Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-08-22 13:30:19 PDT
                                         Re: fsvs &amp; openbsd pmarek P.Marek 2006-08-25 02:41:33 PDT
                                         Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-11-15 06:31:49 PST
                                             Re: fsvs &amp; openbsd pmarek P.Marek 2006-11-15 23:42:25 PST
                                             Re: fsvs &amp; openbsd pmarek P.Marek 2006-11-16 00:15:11 PST
                                                 Re: fsvs &amp; openbsd Julien TOUCHE <julien dot touche at lycos dot com> Julien TOUCHE <julien dot touche at lycos dot com> 2006-11-16 01:32:11 PST
                                                     Re: fsvs &amp; openbsd pmarek P.Marek 2006-11-17 05:07:51 PST
Page: of 2 « Previous | Next »
Messages per page: