7 Dec 13:43
environ undeclared in helper
From: Alexander Skwar <alexanders.mailinglists+nospam <at> gmail.com>
Subject: environ undeclared in helper
Newsgroups: gmane.comp.sysutils.backup.fsvs.devel
Date: 2007-12-07 12:46:53 GMT
Subject: environ undeclared in helper
Newsgroups: gmane.comp.sysutils.backup.fsvs.devel
Date: 2007-12-07 12:46:53 GMT
Hello.
helper.c: In function 'hlp__match_path_envs':
helper.c:1423: error: 'environ' undeclared (first use in this function)
helper.c:1423: error: (Each undeclared identifier is reported only once
helper.c:1423: error: for each function it appears in.)
helper.c: In function 'hlp__format_path':
helper.c:1580: error: 'environ' undeclared (first use in this function)
Patch attached, but doesn't work completely. After applying
the patch, I still cannot compile:
revert.c: In function 'rev__do_changed':
revert.c:597: warning: format '%o' expects type 'unsigned int', but argument 7 has type 'mode_t'
CC status.c
status.c: In function 'st__print_status':
status.c:194: error: too few arguments to function 'hlp__format_path'
status.c: In function 'st__print_entry_info':
status.c:617: warning: format '%4o' expects type 'unsigned int', but argument 2 has type 'mode_t'
status.c:620: warning: format '%u' expects type 'unsigned int', but argument 2 has type 'uid_t'
status.c:620: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'gid_t'
gmake[1]: *** [status.o] Error 1
gmake: *** [default-target] Error 2
Alexander
Index: configure.in =================================================================== --- configure.in (revision 1255)(Continue reading)
RSS Feed