Skip to content

zyboz7 r23.1.0 compile error #8

@chenguoping76

Description

@chenguoping76

./../misc/create_inode.c: At top level:
./../misc/create_inode.c:395:18: error: conflicting types for ‘copy_file_range’
static errcode_t copy_file_range(ext2_filsys fs, int fd, ext2_file_t e2_file,
^~~~~~~~~~~~~~~
In file included from ./../misc/create_inode.c:19:0:
/usr/include/unistd.h:1110:9: note: previous declaration of ‘copy_file_range’ was here
ssize_t copy_file_range (int __infd, __off64_t *__pinoff,
^~~~~~~~~~~~~~~
Makefile:423: recipe for target 'create_inode.o' failed
make[4]: *** [create_inode.o] Error 1
make[4]: *** Waiting for unfinished jobs....
Makefile:405: recipe for target 'all-progs-recursive' failed
make[3]: *** [all-progs-recursive] Error 1
Makefile:340: recipe for target 'all' failed
make[2]: *** [all] Error 2
package/pkg-generic.mk:227: recipe for target '/home/cgp/workspace/mathworks_buildroot/buildroot/output/zybo_linux_linaro/build/host-e2fsprogs-1.43.4/.stamp_built' failed
make[1]: *** [/home/cgp/workspace/mathworks_buildroot/buildroot/output/zybo_linux_linaro/build/host-e2fsprogs-1.43.4/.stamp_built] Error 2
Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2
Uncaught exception
Traceback (most recent call last):
File "./build.py", line 191, in
build_target(args, catalog)
File "./build.py", line 89, in build_target
subproc(argStr, cwd=args['outputDir'])
File "/home/cgp/workspace/mathworks_buildroot/buildroot/board/mathworks/common/scripts/helper_func.py", line 492, in subproc
_SUBPROC_LOGGER.call(args, cwd=cwd, shell=shell)
File "/home/cgp/workspace/mathworks_buildroot/buildroot/board/mathworks/common/scripts/helper_func.py", line 77, in call
raise subprocess.CalledProcessError(self.proc.returncode, self.strArgs(args), None)
CalledProcessError: Command 'make legal-info all' returned non-zero exit status 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions